From 40f992b5bd1705103a219ecc80e6f24c5258eac7 Mon Sep 17 00:00:00 2001 From: Stefanos A Date: Tue, 26 Nov 2013 01:31:10 +0100 Subject: [PATCH] Rewrite support for [Slot] attribute --- Source/OpenTK.Rewrite/Program.cs | 214 +- Source/OpenTK/AutoGeneratedAttribute.cs | 1 + Source/OpenTK/Graphics/ES11/ES11.cs | 19723 +-- Source/OpenTK/Graphics/ES20/ES20.cs | 31614 +--- Source/OpenTK/Graphics/ES30/ES30.cs | 40422 ++--- Source/OpenTK/Graphics/OpenGL/GL.cs | 164641 +++++---------------- Source/OpenTK/Graphics/OpenGL4/GL4.cs | 42685 ++---- Source/OpenTK/OpenTK.csproj | 5 +- 8 files changed, 62867 insertions(+), 236438 deletions(-) diff --git a/Source/OpenTK.Rewrite/Program.cs b/Source/OpenTK.Rewrite/Program.cs index 70b26393..26aadbf6 100644 --- a/Source/OpenTK.Rewrite/Program.cs +++ b/Source/OpenTK.Rewrite/Program.cs @@ -1,4 +1,4 @@ -// OpenTK.Rewrite: IL rewriter for OpenTK.dll +// OpenTK.Rewrite: IL rewriter for OpenTK.dll // Copyright (C) 2013 Stefanos Apostolopoulos // // This program is free software: you can redistribute it and/or modify @@ -100,104 +100,158 @@ namespace OpenTK.Rewrite void Rewrite(TypeDefinition type) { - foreach (var method in type.Methods) + var entry_points = type.Fields.FirstOrDefault(f => f.Name == "EntryPoints"); + if (entry_points != null) { - if (method.HasBody) + foreach (var method in type.Methods) { - ProcessMethodBody(method.Body); - } - } - } - - // Search the instruction stream for calls - // to methods we need to rewrite. - static void ProcessMethodBody(MethodBody body) - { - var instructions = body.Instructions; - var il = body.GetILProcessor(); - - Instruction inst1 = instructions[0]; - Instruction inst2 = instructions[0]; - - for (int i = 1; i < instructions.Count; i++) - { - var inst = instructions[i]; - if ((inst.OpCode == OpCodes.Call || inst.OpCode == OpCodes.Callvirt) && - inst.Operand is MethodReference) - { - var reference = inst.Operand as MethodReference; - - // Make sure we are rewriting OpenTK.InteropHelper methods - // and not random methods that happen to have similar names. - if (reference.DeclaringType.Name == "InteropHelper") + if (method.CustomAttributes.Any(a => a.AttributeType.Name == "SlotAttribute")) { - switch (reference.Name) - { - case "Call": - case "CallReturn": - RewriteCall(il, inst, reference); - break; - - case "Pin": - RewritePin(il, inst, reference); - break; - } + ProcessMethod(method, entry_points); } } } } - static void RewriteCall(ILProcessor il, Instruction inst, MethodReference reference) + // Create body for method + static void ProcessMethod(MethodDefinition method, FieldDefinition entry_points) + { + var nint = method.DeclaringType.Module.Import(typeof(IntPtr)); + var body = method.Body; + var instructions = body.Instructions; + var il = body.GetILProcessor(); + var slot_attribute = method.CustomAttributes + .First(a => a.AttributeType.Name == "SlotAttribute"); + var slot = (int)slot_attribute.ConstructorArguments.First().Value; + + instructions.Clear(); + + // Declare pinned variables for every reference and array parameter + // and push each parameter on the stack + EmitParameters(method, nint, body, il); + + // push the entry point address on the stack + EmitEntryPoint(entry_points, il, slot); + + // issue calli + EmitCall(il, method); + + // return + il.Emit(OpCodes.Ret); + } + + static void EmitParameters(MethodDefinition method, TypeReference nint, MethodBody body, ILProcessor il) + { + for (int i = 0; i < method.Parameters.Count; i++) + { + var p = method.Parameters[i]; + switch (i) + { + case 0: + il.Emit(OpCodes.Ldarg_0); + break; + case 1: + il.Emit(OpCodes.Ldarg_1); + break; + case 2: + il.Emit(OpCodes.Ldarg_2); + break; + case 3: + il.Emit(OpCodes.Ldarg_3); + break; + default: + il.Emit(OpCodes.Ldarg_S, (byte)i); + break; + } + if (p.ParameterType.IsArray || p.ParameterType.IsByReference) + { + body.Variables.Add(new VariableDefinition(new PinnedType(nint))); + var index = body.Variables.Count - 1; + switch (index) + { + case 0: + il.Emit(OpCodes.Stloc_0); + il.Emit(OpCodes.Ldloc_0); + break; + case 1: + il.Emit(OpCodes.Stloc_1); + il.Emit(OpCodes.Ldloc_1); + break; + case 2: + il.Emit(OpCodes.Stloc_2); + il.Emit(OpCodes.Ldloc_2); + break; + case 3: + il.Emit(OpCodes.Stloc_3); + il.Emit(OpCodes.Ldloc_3); + break; + default: + il.Emit(OpCodes.Stloc_S, (byte)index); + il.Emit(OpCodes.Ldloc_S, (byte)index); + break; + } + //il.Emit(OpCodes.Conv_I); + } + } + } + + static void EmitEntryPoint(FieldDefinition entry_points, ILProcessor il, int slot) + { + il.Emit(OpCodes.Ldsfld, entry_points); + switch (slot) + { + case 0: + il.Emit(OpCodes.Ldc_I4_0); + break; + case 1: + il.Emit(OpCodes.Ldc_I4_1); + break; + case 2: + il.Emit(OpCodes.Ldc_I4_2); + break; + case 3: + il.Emit(OpCodes.Ldc_I4_3); + break; + case 4: + il.Emit(OpCodes.Ldc_I4_4); + break; + case 5: + il.Emit(OpCodes.Ldc_I4_5); + break; + case 6: + il.Emit(OpCodes.Ldc_I4_6); + break; + case 7: + il.Emit(OpCodes.Ldc_I4_7); + break; + case 8: + il.Emit(OpCodes.Ldc_I4_8); + break; + default: + if (slot < 128) + il.Emit(OpCodes.Ldc_I4_S, (byte)slot); + else + il.Emit(OpCodes.Ldc_I4, slot); + break; + } + il.Emit(OpCodes.Ldelem_I); + } + + static void EmitCall(ILProcessor il, MethodReference reference) { var signature = new CallSite(reference.ReturnType) { CallingConvention = MethodCallingConvention.Default, }; - if (reference is GenericInstanceMethod) + foreach (var p in reference.Parameters) { - var greference = reference as GenericInstanceMethod; - - if (reference.Name.EndsWith("Return")) - { - // "TRet CallReturn(T0 arg0, ..., IntPtr address)" - // The first generic parameter is the return type - // The rest are function parameters types - // The entry point address is not in the generic arg list - signature.ReturnType = greference.GenericArguments.First(); - foreach (var ptype in greference.GenericArguments.Skip(1)) - { - signature.Parameters.Add(new ParameterDefinition(ptype)); - } - } - else - { - // "void Call(T0 arg0, ..., IntPtr address)" - // The generic arguments define the function parameters - // The entry point address is not in the generic arg list - foreach (var ptype in greference.GenericArguments) - { - signature.Parameters.Add(new ParameterDefinition(ptype)); - } - } - } - else - { - // Call(IntPtr address) - // The last parameter is the function address of this entry point. - // It is placed at the top of the stack (first parameter of calli) - // but is not actually part of the unmanaged signature, so we must - // not add it to the signature parameters. - foreach (var p in reference.Parameters.Take(reference.Parameters.Count - 1)) - { - signature.Parameters.Add(p); - } + signature.Parameters.Add(p); } // Since the last parameter is always the entry point address, // we do not need any special preparation before emiting calli. - var call = il.Create(OpCodes.Calli, signature); - il.Replace(inst, call); + il.Emit(OpCodes.Calli, signature); } // IntPtr Pin({ref} T{[];[,];[,,]} arg) 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/Graphics/ES11/ES11.cs b/Source/OpenTK/Graphics/ES11/ES11.cs index 8a3c9d02..2dc0f000 100644 --- a/Source/OpenTK/Graphics/ES11/ES11.cs +++ b/Source/OpenTK/Graphics/ES11/ES11.cs @@ -34,6 +34,7 @@ namespace OpenTK.Graphics.ES11 #pragma warning disable 1591 #pragma warning disable 1572 #pragma warning disable 1573 + #pragma warning disable 626 partial class GL { @@ -450,18 +451,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static + [Slot(31)] + public static extern OpenTK.Graphics.ES11.All ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (UInt32)flags, (UInt64)timeout, EntryPoints[31]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -483,49 +477,28 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static + [Slot(31)] + public static extern OpenTK.Graphics.ES11.All ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (UInt32)flags, (UInt64)timeout, EntryPoints[31]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_copy_texture_levels] [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")] - public static + [Slot(53)] + public static extern void CopyTextureLevel(Int32 destinationTexture, Int32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount, EntryPoints[53]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_copy_texture_levels] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")] - public static + [Slot(53)] + public static extern void CopyTextureLevel(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount, EntryPoints[53]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Delete a sync object @@ -536,18 +509,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glDeleteSyncAPPLE")] - public static + [Slot(60)] + public static extern void DeleteSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, EntryPoints[60]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Create a new sync object and insert it into the GL command stream @@ -563,18 +529,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")] - public static + [Slot(106)] + public static extern IntPtr FenceSync(OpenTK.Graphics.ES11.All condition, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES11.All)condition, (UInt32)flags, EntryPoints[106]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Create a new sync object and insert it into the GL command stream @@ -591,98 +550,44 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")] - public static + [Slot(106)] + public static extern IntPtr FenceSync(OpenTK.Graphics.ES11.All condition, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES11.All)condition, (UInt32)flags, EntryPoints[106]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(151)] + public static extern Int64 GetInteger64(OpenTK.Graphics.ES11.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* @params_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[151]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(151)] + public static extern void GetInteger64(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[151]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(151)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[151]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(151)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[151]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -713,25 +618,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES11.All)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[168]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -762,27 +653,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES11.All)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[168]); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -814,18 +689,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(168)] + public static extern 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 - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES11.All)pname, (Int32)bufSize, (IntPtr)length, (IntPtr)values, EntryPoints[168]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Determine if a name corresponds to a sync object @@ -836,18 +704,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glIsSyncAPPLE")] - public static + [Slot(189)] + public static extern bool IsSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, EntryPoints[189]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -878,33 +739,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")] - public static + [Slot(294)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (Int32)samples, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, EntryPoints[294]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_framebuffer_multisample] [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glResolveMultisampleFramebufferAPPLE")] - public static + [Slot(298)] + public static extern void ResolveMultisampleFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[298]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -925,18 +772,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static + [Slot(382)] + public static extern void WaitSync(IntPtr sync, Int32 flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (UInt32)flags, (UInt64)timeout, EntryPoints[382]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -958,18 +798,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static + [Slot(382)] + public static extern void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (UInt32)flags, (UInt64)timeout, EntryPoints[382]); - #if DEBUG - } - #endif - } + ; + } @@ -983,18 +816,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glActiveTexture")] - public static + [Slot(1)] + public static extern void ActiveTexture(OpenTK.Graphics.ES11.All texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureUnit)texture, EntryPoints[1]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Select active texture unit @@ -1005,18 +831,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glActiveTexture")] - public static + [Slot(1)] + public static extern void ActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureUnit)texture, EntryPoints[1]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the alpha test function @@ -1033,18 +852,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glAlphaFunc")] - public static + [Slot(2)] + public static extern void AlphaFunc(OpenTK.Graphics.ES11.All func, Single @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.AlphaFunction)func, (Single)@ref, EntryPoints[2]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the alpha test function @@ -1060,33 +872,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glAlphaFunc")] - public static + [Slot(2)] + public static extern void AlphaFunc(OpenTK.Graphics.ES11.AlphaFunction func, Single @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.AlphaFunction)func, (Single)@ref, EntryPoints[2]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glAlphaFuncx")] - public static + [Slot(3)] + public static extern void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)func, (int)@ref, EntryPoints[3]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Bind a named buffer object @@ -1102,18 +900,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindBuffer")] - public static + [Slot(5)] + public static extern void BindBuffer(OpenTK.Graphics.ES11.All target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (UInt32)buffer, EntryPoints[5]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Bind a named buffer object @@ -1130,18 +921,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindBuffer")] - public static + [Slot(5)] + public static extern void BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (UInt32)buffer, EntryPoints[5]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Bind a named texture to a texturing target @@ -1157,18 +941,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindTexture")] - public static + [Slot(8)] + public static extern void BindTexture(OpenTK.Graphics.ES11.All target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (UInt32)texture, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Bind a named texture to a texturing target @@ -1186,18 +963,11 @@ 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 + [Slot(8)] + public static extern void BindTexture(OpenTK.Graphics.ES11.All target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (UInt32)texture, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Bind a named texture to a texturing target @@ -1213,18 +983,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindTexture")] - public static + [Slot(8)] + public static extern void BindTexture(OpenTK.Graphics.ES11.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (UInt32)texture, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Bind a named texture to a texturing target @@ -1241,18 +1004,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindTexture")] - public static + [Slot(8)] + public static extern void BindTexture(OpenTK.Graphics.ES11.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (UInt32)texture, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify pixel arithmetic @@ -1274,18 +1030,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBlendFunc")] - public static + [Slot(15)] + public static extern void BlendFunc(OpenTK.Graphics.ES11.All sfactor, OpenTK.Graphics.ES11.All dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES11.BlendingFactorDest)dfactor, EntryPoints[15]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify pixel arithmetic @@ -1306,18 +1055,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBlendFunc")] - public static + [Slot(15)] + public static extern void BlendFunc(OpenTK.Graphics.ES11.BlendingFactorSrc sfactor, OpenTK.Graphics.ES11.BlendingFactorDest dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES11.BlendingFactorDest)dfactor, EntryPoints[15]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Creates and initializes a buffer object's data store @@ -1343,18 +1085,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")] - public static + [Slot(17)] + public static extern void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.All usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES11.All)usage, EntryPoints[17]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Creates and initializes a buffer object's data store @@ -1380,27 +1115,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")] - public static + [Slot(17)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage, EntryPoints[17]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Creates and initializes a buffer object's data store @@ -1426,27 +1146,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")] - public static + [Slot(17)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage, EntryPoints[17]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Creates and initializes a buffer object's data store @@ -1472,27 +1177,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")] - public static + [Slot(17)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage, EntryPoints[17]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Creates and initializes a buffer object's data store @@ -1518,28 +1208,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")] - public static + [Slot(17)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage, EntryPoints[17]); - 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 @@ -1565,18 +1239,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")] - public static + [Slot(18)] + public static extern void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[18]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Updates a subset of a buffer object's data store @@ -1602,27 +1269,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")] - public static + [Slot(18)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[18]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Updates a subset of a buffer object's data store @@ -1648,27 +1300,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")] - public static + [Slot(18)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[18]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Updates a subset of a buffer object's data store @@ -1694,27 +1331,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")] - public static + [Slot(18)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[18]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Updates a subset of a buffer object's data store @@ -1740,28 +1362,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")] - public static + [Slot(18)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[18]); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Clear buffers to preset values @@ -1773,18 +1379,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClear")] - public static + [Slot(20)] + public static extern void Clear(OpenTK.Graphics.ES11.All mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.ClearBufferMask)mask, EntryPoints[20]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Clear buffers to preset values @@ -1795,18 +1394,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClear")] - public static + [Slot(20)] + public static extern void Clear(OpenTK.Graphics.ES11.ClearBufferMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.ClearBufferMask)mask, EntryPoints[20]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Clear buffers to preset values @@ -1818,18 +1410,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use ClearMask overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClear")] - public static + [Slot(20)] + public static extern void Clear(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.ClearBufferMask)mask, EntryPoints[20]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Clear buffers to preset values @@ -1842,18 +1427,11 @@ 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 + [Slot(20)] + public static extern void Clear(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.ClearBufferMask)mask, EntryPoints[20]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify clear values for the color buffers @@ -1864,33 +1442,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearColor")] - public static + [Slot(22)] + public static extern void ClearColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, (Single)alpha, EntryPoints[22]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearColorx")] - public static + [Slot(23)] + public static extern void ClearColorx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)red, (int)green, (int)blue, (int)alpha, EntryPoints[23]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the clear value for the depth buffer @@ -1901,33 +1465,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearDepthf")] - public static + [Slot(25)] + public static extern void ClearDepth(Single d) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)d, EntryPoints[25]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearDepthx")] - public static + [Slot(27)] + public static extern void ClearDepthx(int depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)depth, EntryPoints[27]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the clear value for the stencil buffer @@ -1938,18 +1488,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearStencil")] - public static + [Slot(29)] + public static extern void ClearStencil(Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)s, EntryPoints[29]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Select active texture unit @@ -1961,18 +1504,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClientActiveTexture")] - public static + [Slot(30)] + public static extern void ClientActiveTexture(OpenTK.Graphics.ES11.All texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureUnit)texture, EntryPoints[30]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Select active texture unit @@ -1983,18 +1519,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClientActiveTexture")] - public static + [Slot(30)] + public static extern void ClientActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureUnit)texture, EntryPoints[30]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a plane against which all geometry is clipped @@ -2010,24 +1539,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanef")] - public static + [Slot(32)] + public static extern void ClipPlane(OpenTK.Graphics.ES11.All p, Single[] eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* eqn_ptr = eqn) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)p, (IntPtr)eqn_ptr, EntryPoints[32]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a plane against which all geometry is clipped @@ -2043,24 +1559,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanef")] - public static + [Slot(32)] + public static extern void ClipPlane(OpenTK.Graphics.ES11.All p, ref Single eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* eqn_ptr = &eqn) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)p, (IntPtr)eqn_ptr, EntryPoints[32]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a plane against which all geometry is clipped @@ -2077,76 +1580,36 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanef")] - public static + [Slot(32)] + public static extern unsafe void ClipPlane(OpenTK.Graphics.ES11.All p, Single* eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)p, (IntPtr)eqn, EntryPoints[32]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanex")] - public static + [Slot(35)] + public static extern void ClipPlanex(OpenTK.Graphics.ES11.All plane, int[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = equation) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[35]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanex")] - public static + [Slot(35)] + public static extern void ClipPlanex(OpenTK.Graphics.ES11.All plane, ref int equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = &equation) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[35]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanex")] - public static + [Slot(35)] + public static extern unsafe void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation, EntryPoints[35]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the current color @@ -2162,18 +1625,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColor4f")] - public static + [Slot(40)] + public static extern void Color4(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, (Single)alpha, EntryPoints[40]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the current color @@ -2189,33 +1645,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColor4ub")] - public static + [Slot(41)] + public static extern void Color4(Byte red, Byte green, Byte blue, Byte alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha, EntryPoints[41]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColor4x")] - public static + [Slot(42)] + public static extern void Color4x(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)red, (int)green, (int)blue, (int)alpha, EntryPoints[42]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Enable and disable writing of frame buffer color components @@ -2231,18 +1673,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorMask")] - public static + [Slot(45)] + public static extern void ColorMask(bool red, bool green, bool blue, bool alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)red, (bool)green, (bool)blue, (bool)alpha, EntryPoints[45]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of colors @@ -2269,18 +1704,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static + [Slot(46)] + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[46]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of colors @@ -2307,27 +1735,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static + [Slot(46)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[46]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of colors @@ -2354,27 +1767,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static + [Slot(46)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[46]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of colors @@ -2401,27 +1799,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static + [Slot(46)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[46]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of colors @@ -2448,28 +1831,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static + [Slot(46)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[46]); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of colors @@ -2495,18 +1862,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static + [Slot(46)] + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[46]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of colors @@ -2532,27 +1892,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static + [Slot(46)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[46]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of colors @@ -2578,27 +1923,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static + [Slot(46)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[46]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of colors @@ -2624,27 +1954,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static + [Slot(46)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[46]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of colors @@ -2670,28 +1985,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static + [Slot(46)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[46]); - 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 @@ -2738,18 +2037,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[47]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2796,27 +2088,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2863,27 +2140,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2930,27 +2192,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2997,28 +2244,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - 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 @@ -3064,18 +2295,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[47]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -3121,27 +2345,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -3187,27 +2396,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -3253,27 +2447,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -3319,28 +2498,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - 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 @@ -3392,18 +2555,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(48)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data, EntryPoints[48]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3455,27 +2611,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3527,27 +2668,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3599,27 +2725,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3671,28 +2782,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - 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 @@ -3743,18 +2838,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(48)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data, EntryPoints[48]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3805,27 +2893,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3876,27 +2949,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3947,27 +3005,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -4018,28 +3061,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Copy pixels into a 2D texture image @@ -4081,18 +3108,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCopyTexImage2D")] - public static + [Slot(51)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border, EntryPoints[51]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Copy pixels into a 2D texture image @@ -4133,18 +3153,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCopyTexImage2D")] - public static + [Slot(51)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border, EntryPoints[51]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Copy a two-dimensional texture subimage @@ -4186,18 +3199,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCopyTexSubImage2D")] - public static + [Slot(52)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[52]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Copy a two-dimensional texture subimage @@ -4238,18 +3244,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCopyTexSubImage2D")] - public static + [Slot(52)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[52]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify whether front- or back-facing facets can be culled @@ -4261,18 +3260,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCullFace")] - public static + [Slot(54)] + public static extern void CullFace(OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.CullFaceMode)mode, EntryPoints[54]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify whether front- or back-facing facets can be culled @@ -4283,18 +3275,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCullFace")] - public static + [Slot(54)] + public static extern void CullFace(OpenTK.Graphics.ES11.CullFaceMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.CullFaceMode)mode, EntryPoints[54]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named buffer objects @@ -4310,23 +3295,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern void DeleteBuffer(Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[56]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named buffer objects @@ -4343,23 +3316,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern void DeleteBuffer(UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[56]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named buffer objects @@ -4375,24 +3336,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[56]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named buffer objects @@ -4408,24 +3356,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[56]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named buffer objects @@ -4442,18 +3377,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[56]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named buffer objects @@ -4470,24 +3398,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[56]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named buffer objects @@ -4504,24 +3419,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[56]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named buffer objects @@ -4538,18 +3440,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[56]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named textures @@ -4565,23 +3460,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(61)] + public static extern void DeleteTexture(Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[61]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named textures @@ -4598,23 +3481,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(61)] + public static extern void DeleteTexture(UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[61]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named textures @@ -4630,24 +3501,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(61)] + public static extern void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[61]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named textures @@ -4663,24 +3521,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(61)] + public static extern void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[61]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named textures @@ -4697,18 +3542,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(61)] + public static extern unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[61]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named textures @@ -4725,24 +3563,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(61)] + public static extern void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[61]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named textures @@ -4759,24 +3584,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(61)] + public static extern void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[61]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Delete named textures @@ -4793,18 +3605,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(61)] + public static extern unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[61]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the value used for depth buffer comparisons @@ -4816,18 +3621,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthFunc")] - public static + [Slot(63)] + public static extern void DepthFunc(OpenTK.Graphics.ES11.All func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.DepthFunction)func, EntryPoints[63]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the value used for depth buffer comparisons @@ -4838,18 +3636,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthFunc")] - public static + [Slot(63)] + public static extern void DepthFunc(OpenTK.Graphics.ES11.DepthFunction func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.DepthFunction)func, EntryPoints[63]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Enable or disable writing into the depth buffer @@ -4860,18 +3651,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthMask")] - public static + [Slot(64)] + public static extern void DepthMask(bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)flag, EntryPoints[64]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -4887,95 +3671,53 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthRangef")] - public static + [Slot(65)] + public static extern void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)n, (Single)f, EntryPoints[65]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthRangex")] - public static + [Slot(67)] + public static extern void DepthRangex(int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)n, (int)f, EntryPoints[67]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDisable")] - public static + [Slot(69)] + public static extern void Disable(OpenTK.Graphics.ES11.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.EnableCap)cap, EntryPoints[69]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDisable")] - public static + [Slot(69)] + public static extern void Disable(OpenTK.Graphics.ES11.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.EnableCap)cap, EntryPoints[69]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDisableClientState")] - public static + [Slot(70)] + public static extern void DisableClientState(OpenTK.Graphics.ES11.All array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.EnableCap)array, EntryPoints[70]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDisableClientState")] - public static + [Slot(70)] + public static extern void DisableClientState(OpenTK.Graphics.ES11.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.EnableCap)array, EntryPoints[70]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -4997,18 +3739,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawArrays")] - public static + [Slot(73)] + public static extern void DrawArrays(OpenTK.Graphics.ES11.All mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[73]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5030,18 +3765,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawArrays")] - public static + [Slot(73)] + public static extern void DrawArrays(OpenTK.Graphics.ES11.BeginMode mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[73]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5062,18 +3790,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawArrays")] - public static + [Slot(73)] + public static extern void DrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[73]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5100,18 +3821,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + public static extern void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, EntryPoints[74]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5138,27 +3852,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[74]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5185,27 +3884,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[74]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5232,27 +3916,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[74]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5279,28 +3948,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[74]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5327,18 +3980,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + public static extern void DrawElements(OpenTK.Graphics.ES11.BeginMode mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, EntryPoints[74]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5365,27 +4011,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[74]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5412,27 +4043,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[74]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5459,27 +4075,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[74]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5506,28 +4107,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[74]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5553,18 +4138,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + public static extern void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, EntryPoints[74]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5590,27 +4168,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[74]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5636,27 +4199,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[74]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5682,27 +4230,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[74]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Render primitives from array data @@ -5728,28 +4261,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[74]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Enable or disable server-side GL capabilities @@ -5766,18 +4283,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glEnable")] - public static + [Slot(85)] + public static extern void Enable(OpenTK.Graphics.ES11.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.EnableCap)cap, EntryPoints[85]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Enable or disable server-side GL capabilities @@ -5793,18 +4303,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glEnable")] - public static + [Slot(85)] + public static extern void Enable(OpenTK.Graphics.ES11.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.EnableCap)cap, EntryPoints[85]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Enable or disable client-side capability @@ -5816,18 +4319,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glEnableClientState")] - public static + [Slot(86)] + public static extern void EnableClientState(OpenTK.Graphics.ES11.All array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.EnableCap)array, EntryPoints[86]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Enable or disable client-side capability @@ -5838,52 +4334,31 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glEnableClientState")] - public static + [Slot(86)] + public static extern void EnableClientState(OpenTK.Graphics.ES11.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.EnableCap)array, EntryPoints[86]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Block until all GL execution is complete /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFinish")] - public static + [Slot(107)] + public static extern void Finish() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[107]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(109)] + public static extern void Flush() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[109]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify fog parameters @@ -5900,18 +4375,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogf")] - public static + [Slot(111)] + public static extern void Fog(OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.FogParameter)pname, (Single)param, EntryPoints[111]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify fog parameters @@ -5927,18 +4395,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogf")] - public static + [Slot(111)] + public static extern void Fog(OpenTK.Graphics.ES11.FogParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.FogParameter)pname, (Single)param, EntryPoints[111]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify fog parameters @@ -5955,24 +4416,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogfv")] - public static + [Slot(112)] + public static extern void Fog(OpenTK.Graphics.ES11.All pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES11.FogParameter)pname, (IntPtr)@params_ptr, EntryPoints[112]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify fog parameters @@ -5990,18 +4438,11 @@ 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 + [Slot(112)] + public static extern unsafe void Fog(OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.FogParameter)pname, (IntPtr)@params, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify fog parameters @@ -6017,24 +4458,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogfv")] - public static + [Slot(112)] + public static extern void Fog(OpenTK.Graphics.ES11.FogParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES11.FogParameter)pname, (IntPtr)@params_ptr, EntryPoints[112]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify fog parameters @@ -6051,70 +4479,36 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogfv")] - public static + [Slot(112)] + public static extern unsafe void Fog(OpenTK.Graphics.ES11.FogParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.FogParameter)pname, (IntPtr)@params, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogx")] - public static + [Slot(113)] + public static extern void Fogx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogxv")] - public static + [Slot(115)] + public static extern void Fogx(OpenTK.Graphics.ES11.All pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)param_ptr, EntryPoints[115]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogxv")] - public static + [Slot(115)] + public static extern unsafe void Fogx(OpenTK.Graphics.ES11.All pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)param, EntryPoints[115]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define front- and back-facing polygons @@ -6126,18 +4520,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFrontFace")] - public static + [Slot(121)] + public static extern void FrontFace(OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.FrontFaceDirection)mode, EntryPoints[121]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define front- and back-facing polygons @@ -6148,18 +4535,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFrontFace")] - public static + [Slot(121)] + public static extern void FrontFace(OpenTK.Graphics.ES11.FrontFaceDirection mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.FrontFaceDirection)mode, EntryPoints[121]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Multiply the current matrix by a perspective matrix @@ -6180,33 +4560,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFrustumf")] - public static + [Slot(122)] + public static extern void Frustum(Single l, Single r, Single b, Single t, Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f, EntryPoints[122]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFrustumx")] - public static + [Slot(124)] + public static extern void Frustumx(int l, int r, int b, int t, int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)l, (int)r, (int)b, (int)t, (int)n, (int)f, EntryPoints[124]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate buffer object names @@ -6222,25 +4588,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static + [Slot(126)] + public static extern Int32 GenBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* buffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[126]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate buffer object names @@ -6256,24 +4608,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static + [Slot(126)] + public static extern void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[126]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate buffer object names @@ -6289,25 +4628,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static + [Slot(126)] + public static extern void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[126]); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate buffer object names @@ -6324,18 +4649,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static + [Slot(126)] + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[126]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate buffer object names @@ -6352,24 +4670,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static + [Slot(126)] + public static extern void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[126]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate buffer object names @@ -6386,25 +4691,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static + [Slot(126)] + public static extern void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[126]); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate buffer object names @@ -6421,18 +4712,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static + [Slot(126)] + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[126]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate texture names @@ -6448,25 +4732,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static + [Slot(131)] + public static extern Int32 GenTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* textures_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[131]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate texture names @@ -6482,24 +4752,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static + [Slot(131)] + public static extern void GenTextures(Int32 n, [OutAttribute] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[131]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate texture names @@ -6515,25 +4772,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static + [Slot(131)] + public static extern void GenTextures(Int32 n, [OutAttribute] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[131]); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate texture names @@ -6550,18 +4793,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static + [Slot(131)] + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[131]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate texture names @@ -6578,24 +4814,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static + [Slot(131)] + public static extern void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[131]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate texture names @@ -6612,25 +4835,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static + [Slot(131)] + public static extern void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[131]); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Generate texture names @@ -6647,182 +4856,81 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static + [Slot(131)] + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[131]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(133)] + public static extern bool GetBoolean(OpenTK.Graphics.ES11.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[133]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(133)] + public static extern bool GetBoolean(OpenTK.Graphics.ES11.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[133]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(133)] + public static extern void GetBoolean(OpenTK.Graphics.ES11.All pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[133]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(133)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[133]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(133)] + public static extern unsafe void GetBoolean(OpenTK.Graphics.ES11.All pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data, EntryPoints[133]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(133)] + public static extern void GetBoolean(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[133]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(133)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[133]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(133)] + public static extern unsafe void GetBoolean(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data, EntryPoints[133]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return parameters of a buffer object @@ -6843,24 +4951,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(134)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[134]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return parameters of a buffer object @@ -6881,25 +4976,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(134)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[134]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return parameters of a buffer object @@ -6921,18 +5002,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(134)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[134]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the coefficients of the specified clipping plane @@ -6948,24 +5022,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanef")] - public static + [Slot(136)] + public static extern Single GetClipPlane(OpenTK.Graphics.ES11.All plane) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* equation_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[136]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the coefficients of the specified clipping plane @@ -6981,24 +5042,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanef")] - public static + [Slot(136)] + public static extern void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = equation) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[136]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the coefficients of the specified clipping plane @@ -7014,25 +5062,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanef")] - public static + [Slot(136)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[136]); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the coefficients of the specified clipping plane @@ -7049,516 +5083,227 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanef")] - public static + [Slot(136)] + public static extern unsafe void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation, EntryPoints[136]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanex")] - public static + [Slot(138)] + public static extern int GetClipPlanex(OpenTK.Graphics.ES11.All plane) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - int retval; - int* equation_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[138]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanex")] - public static + [Slot(138)] + public static extern void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = equation) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[138]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanex")] - public static + [Slot(138)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[138]); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanex")] - public static + [Slot(138)] + public static extern unsafe void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation, EntryPoints[138]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return error information /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetError")] - public static + [Slot(143)] + public static extern OpenTK.Graphics.ES11.ErrorCode GetError() - { - return InteropHelper.CallReturn(EntryPoints[143]); - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFixedv")] - public static + [Slot(145)] + public static extern int GetFixed(OpenTK.Graphics.ES11.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - int retval; - int* @params_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[145]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFixedv")] - public static + [Slot(145)] + public static extern void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[145]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFixedv")] - public static + [Slot(145)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[145]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFixedv")] - public static + [Slot(145)] + public static extern unsafe void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[145]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(147)] + public static extern Single GetFloat(OpenTK.Graphics.ES11.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[147]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(147)] + public static extern Single GetFloat(OpenTK.Graphics.ES11.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[147]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(147)] + public static extern void GetFloat(OpenTK.Graphics.ES11.All pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[147]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(147)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[147]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(147)] + public static extern unsafe void GetFloat(OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data, EntryPoints[147]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(147)] + public static extern void GetFloat(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[147]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(147)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[147]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(147)] + public static extern unsafe void GetFloat(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data, EntryPoints[147]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(152)] + public static extern Int32 GetInteger(OpenTK.Graphics.ES11.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[152]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(152)] + public static extern Int32 GetInteger(OpenTK.Graphics.ES11.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[152]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(152)] + public static extern void GetInteger(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[152]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(152)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[152]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(152)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data, EntryPoints[152]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(152)] + public static extern void GetInteger(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[152]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(152)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data_ptr, EntryPoints[152]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(152)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.GetPName)pname, (IntPtr)data, EntryPoints[152]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return light source parameter values @@ -7580,24 +5325,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static + [Slot(153)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (IntPtr)@params_ptr, EntryPoints[153]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return light source parameter values @@ -7619,25 +5351,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static + [Slot(153)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (IntPtr)@params_ptr, EntryPoints[153]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return light source parameter values @@ -7660,18 +5378,11 @@ 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 + [Slot(153)] + public static extern unsafe void GetLight(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (IntPtr)@params, EntryPoints[153]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return light source parameter values @@ -7692,24 +5403,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static + [Slot(153)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (IntPtr)@params_ptr, EntryPoints[153]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return light source parameter values @@ -7730,25 +5428,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static + [Slot(153)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (IntPtr)@params_ptr, EntryPoints[153]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return light source parameter values @@ -7770,77 +5454,36 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static + [Slot(153)] + public static extern unsafe void GetLight(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (IntPtr)@params, EntryPoints[153]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightxv")] - public static + [Slot(155)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[155]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightxv")] - public static + [Slot(155)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[155]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightxv")] - public static + [Slot(155)] + public static extern unsafe void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[155]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return material parameters @@ -7862,24 +5505,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static + [Slot(158)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[158]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return material parameters @@ -7901,25 +5531,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static + [Slot(158)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[158]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return material parameters @@ -7942,18 +5558,11 @@ 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 + [Slot(158)] + public static extern unsafe void GetMaterial(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (IntPtr)@params, EntryPoints[158]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return material parameters @@ -7974,24 +5583,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static + [Slot(158)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[158]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return material parameters @@ -8012,25 +5608,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static + [Slot(158)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[158]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return material parameters @@ -8052,136 +5634,61 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static + [Slot(158)] + public static extern unsafe void GetMaterial(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (IntPtr)@params, EntryPoints[158]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialxv")] - public static + [Slot(160)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[160]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialxv")] - public static + [Slot(160)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[160]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialxv")] - public static + [Slot(160)] + public static extern unsafe void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[160]); - #if DEBUG - } - #endif - } + ; + /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")] - public static + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)map, (Int32)size, (IntPtr)values_ptr, EntryPoints[164]); - } - } - #if DEBUG - } - #endif - } + ; + /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")] - public static + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)map, (Int32)size, (IntPtr)values_ptr, EntryPoints[164]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")] - public static + [Slot(164)] + public static extern unsafe void GetPixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, [OutAttribute] int* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)map, (Int32)size, (IntPtr)values, EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the address of the specified pointer @@ -8198,18 +5705,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static + [Slot(165)] + public static extern void GetPointer(OpenTK.Graphics.ES11.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params, EntryPoints[165]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the address of the specified pointer @@ -8226,27 +5726,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[165]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the address of the specified pointer @@ -8263,27 +5748,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[165]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the address of the specified pointer @@ -8300,27 +5770,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[165]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the address of the specified pointer @@ -8337,28 +5792,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[165]); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the address of the specified pointer @@ -8374,18 +5813,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static + [Slot(165)] + public static extern void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params, EntryPoints[165]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the address of the specified pointer @@ -8401,27 +5833,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[165]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the address of the specified pointer @@ -8437,27 +5854,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[165]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the address of the specified pointer @@ -8473,27 +5875,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[165]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return the address of the specified pointer @@ -8509,28 +5896,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[165]); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a string describing the current GL connection @@ -8547,18 +5918,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetString")] - public static + [Slot(167)] + public static extern String GetString(OpenTK.Graphics.ES11.All name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.ES11.StringName)name, EntryPoints[167])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a string describing the current GL connection @@ -8574,18 +5938,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetString")] - public static + [Slot(167)] + public static extern String GetString(OpenTK.Graphics.ES11.StringName name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.ES11.StringName)name, EntryPoints[167])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture environment parameters @@ -8607,24 +5964,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static + [Slot(169)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[169]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture environment parameters @@ -8646,25 +5990,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static + [Slot(169)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[169]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture environment parameters @@ -8687,18 +6017,11 @@ 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 + [Slot(169)] + public static extern unsafe void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[169]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture environment parameters @@ -8719,24 +6042,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static + [Slot(169)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[169]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture environment parameters @@ -8757,25 +6067,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static + [Slot(169)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[169]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture environment parameters @@ -8797,18 +6093,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static + [Slot(169)] + public static extern unsafe void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[169]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture environment parameters @@ -8830,24 +6119,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static + [Slot(170)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[170]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture environment parameters @@ -8869,25 +6145,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static + [Slot(170)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[170]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture environment parameters @@ -8910,18 +6172,11 @@ 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 + [Slot(170)] + public static extern unsafe void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[170]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture environment parameters @@ -8942,24 +6197,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static + [Slot(170)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[170]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture environment parameters @@ -8980,25 +6222,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static + [Slot(170)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[170]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture environment parameters @@ -9020,77 +6248,36 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static + [Slot(170)] + public static extern unsafe void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[170]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvxv")] - public static + [Slot(171)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[171]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvxv")] - public static + [Slot(171)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[171]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvxv")] - public static + [Slot(171)] + public static extern unsafe void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[171]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -9112,24 +6299,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(177)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[177]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -9151,25 +6325,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(177)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[177]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -9192,18 +6352,11 @@ 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 + [Slot(177)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[177]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -9224,24 +6377,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(177)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[177]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -9262,25 +6402,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(177)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[177]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -9302,18 +6428,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(177)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[177]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -9335,24 +6454,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(178)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[178]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -9374,25 +6480,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(178)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[178]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -9415,18 +6507,11 @@ 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 + [Slot(178)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[178]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -9447,24 +6532,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(178)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[178]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -9485,25 +6557,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(178)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[178]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -9525,77 +6583,36 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(178)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[178]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterxv")] - public static + [Slot(179)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[179]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterxv")] - public static + [Slot(179)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[179]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterxv")] - public static + [Slot(179)] + public static extern unsafe void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[179]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify implementation-specific hints @@ -9612,18 +6629,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glHint")] - public static + [Slot(181)] + public static extern void Hint(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.HintTarget)target, (OpenTK.Graphics.ES11.HintMode)mode, EntryPoints[181]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify implementation-specific hints @@ -9639,18 +6649,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glHint")] - public static + [Slot(181)] + public static extern void Hint(OpenTK.Graphics.ES11.HintTarget target, OpenTK.Graphics.ES11.HintMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.HintTarget)target, (OpenTK.Graphics.ES11.HintMode)mode, EntryPoints[181]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Determine if a name corresponds to a buffer object @@ -9661,18 +6664,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsBuffer")] - public static + [Slot(184)] + public static extern bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[184]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Determine if a name corresponds to a buffer object @@ -9684,18 +6680,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsBuffer")] - public static + [Slot(184)] + public static extern bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[184]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Test whether a capability is enabled @@ -9712,18 +6701,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsEnabled")] - public static + [Slot(185)] + public static extern bool IsEnabled(OpenTK.Graphics.ES11.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES11.EnableCap)cap, EntryPoints[185]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Test whether a capability is enabled @@ -9739,18 +6721,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsEnabled")] - public static + [Slot(185)] + public static extern bool IsEnabled(OpenTK.Graphics.ES11.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES11.EnableCap)cap, EntryPoints[185]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Determine if a name corresponds to a texture @@ -9761,18 +6736,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsTexture")] - public static + [Slot(190)] + public static extern bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[190]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Determine if a name corresponds to a texture @@ -9784,18 +6752,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsTexture")] - public static + [Slot(190)] + public static extern bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[190]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set light source parameters @@ -9817,18 +6778,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightf")] - public static + [Slot(192)] + public static extern void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single)param, EntryPoints[192]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set light source parameters @@ -9849,18 +6803,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightf")] - public static + [Slot(192)] + public static extern void Light(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single)param, EntryPoints[192]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set light source parameters @@ -9882,24 +6829,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightfv")] - public static + [Slot(193)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (IntPtr)@params_ptr, EntryPoints[193]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set light source parameters @@ -9922,18 +6856,11 @@ 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 + [Slot(193)] + public static extern unsafe void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (IntPtr)@params, EntryPoints[193]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set light source parameters @@ -9954,24 +6881,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightfv")] - public static + [Slot(193)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (IntPtr)@params_ptr, EntryPoints[193]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set light source parameters @@ -9993,18 +6907,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightfv")] - public static + [Slot(193)] + public static extern unsafe void Light(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (IntPtr)@params, EntryPoints[193]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the lighting model parameters @@ -10021,18 +6928,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelf")] - public static + [Slot(194)] + public static extern void LightModel(OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single)param, EntryPoints[194]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the lighting model parameters @@ -10048,18 +6948,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelf")] - public static + [Slot(194)] + public static extern void LightModel(OpenTK.Graphics.ES11.LightModelParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single)param, EntryPoints[194]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the lighting model parameters @@ -10076,24 +6969,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelfv")] - public static + [Slot(195)] + public static extern void LightModel(OpenTK.Graphics.ES11.All pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES11.LightModelParameter)pname, (IntPtr)@params_ptr, EntryPoints[195]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the lighting model parameters @@ -10111,18 +6991,11 @@ 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 + [Slot(195)] + public static extern unsafe void LightModel(OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.LightModelParameter)pname, (IntPtr)@params, EntryPoints[195]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the lighting model parameters @@ -10138,24 +7011,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelfv")] - public static + [Slot(195)] + public static extern void LightModel(OpenTK.Graphics.ES11.LightModelParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES11.LightModelParameter)pname, (IntPtr)@params_ptr, EntryPoints[195]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the lighting model parameters @@ -10172,122 +7032,61 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelfv")] - public static + [Slot(195)] + public static extern unsafe void LightModel(OpenTK.Graphics.ES11.LightModelParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.LightModelParameter)pname, (IntPtr)@params, EntryPoints[195]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelx")] - public static + [Slot(196)] + public static extern void LightModelx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[196]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelxv")] - public static + [Slot(198)] + public static extern void LightModelx(OpenTK.Graphics.ES11.All pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)param_ptr, EntryPoints[198]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelxv")] - public static + [Slot(198)] + public static extern unsafe void LightModelx(OpenTK.Graphics.ES11.All pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)param, EntryPoints[198]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightx")] - public static + [Slot(200)] + public static extern void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[200]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightxv")] - public static + [Slot(202)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[202]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightxv")] - public static + [Slot(202)] + public static extern unsafe void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[202]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the width of rasterized lines @@ -10298,50 +7097,29 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLineWidth")] - public static + [Slot(204)] + public static extern void LineWidth(Single width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)width, EntryPoints[204]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLineWidthx")] - public static + [Slot(205)] + public static extern void LineWidthx(int width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)width, EntryPoints[205]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(207)] + public static extern void LoadIdentity() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[207]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Replace the current matrix with the specified matrix @@ -10352,24 +7130,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static + [Slot(208)] + public static extern void LoadMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[208]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Replace the current matrix with the specified matrix @@ -10380,24 +7145,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static + [Slot(208)] + public static extern void LoadMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[208]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Replace the current matrix with the specified matrix @@ -10409,76 +7161,36 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static + [Slot(208)] + public static extern unsafe void LoadMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[208]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixx")] - public static + [Slot(209)] + public static extern void LoadMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[209]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixx")] - public static + [Slot(209)] + public static extern void LoadMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[209]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixx")] - public static + [Slot(209)] + public static extern unsafe void LoadMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[209]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a logical pixel operation for rendering @@ -10490,18 +7202,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLogicOp")] - public static + [Slot(213)] + public static extern void LogicOp(OpenTK.Graphics.ES11.All opcode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.LogicOp)opcode, EntryPoints[213]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a logical pixel operation for rendering @@ -10512,18 +7217,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLogicOp")] - public static + [Slot(213)] + public static extern void LogicOp(OpenTK.Graphics.ES11.LogicOp opcode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.LogicOp)opcode, EntryPoints[213]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify material parameters for the lighting model @@ -10545,18 +7243,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialf")] - public static + [Slot(220)] + public static extern void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single)param, EntryPoints[220]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify material parameters for the lighting model @@ -10577,18 +7268,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialf")] - public static + [Slot(220)] + public static extern void Material(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single)param, EntryPoints[220]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify material parameters for the lighting model @@ -10610,24 +7294,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialfv")] - public static + [Slot(221)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify material parameters for the lighting model @@ -10650,18 +7321,11 @@ 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 + [Slot(221)] + public static extern unsafe void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (IntPtr)@params, EntryPoints[221]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify material parameters for the lighting model @@ -10682,24 +7346,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialfv")] - public static + [Slot(221)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify material parameters for the lighting model @@ -10721,70 +7372,36 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialfv")] - public static + [Slot(221)] + public static extern unsafe void Material(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (IntPtr)@params, EntryPoints[221]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialx")] - public static + [Slot(222)] + public static extern void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[222]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialxv")] - public static + [Slot(224)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (IntPtr)param_ptr, EntryPoints[224]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialxv")] - public static + [Slot(224)] + public static extern unsafe void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (IntPtr)param, EntryPoints[224]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify which matrix is the current matrix @@ -10796,18 +7413,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMatrixMode")] - public static + [Slot(227)] + public static extern void MatrixMode(OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.MatrixMode)mode, EntryPoints[227]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify which matrix is the current matrix @@ -10818,18 +7428,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMatrixMode")] - public static + [Slot(227)] + public static extern void MatrixMode(OpenTK.Graphics.ES11.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.MatrixMode)mode, EntryPoints[227]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the current texture coordinates @@ -10846,18 +7449,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultiTexCoord4f")] - public static + [Slot(244)] + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All target, Single s, Single t, Single r, Single q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q, EntryPoints[244]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the current texture coordinates @@ -10873,33 +7469,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultiTexCoord4f")] - public static + [Slot(244)] + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.TextureUnit target, Single s, Single t, Single r, Single q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q, EntryPoints[244]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultiTexCoord4x")] - public static + [Slot(245)] + public static extern void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t, (int)r, (int)q, EntryPoints[245]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Multiply the current matrix with the specified matrix @@ -10910,24 +7492,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static + [Slot(248)] + public static extern void MultMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Multiply the current matrix with the specified matrix @@ -10938,24 +7507,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static + [Slot(248)] + public static extern void MultMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Multiply the current matrix with the specified matrix @@ -10967,76 +7523,36 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static + [Slot(248)] + public static extern unsafe void MultMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[248]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixx")] - public static + [Slot(249)] + public static extern void MultMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[249]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixx")] - public static + [Slot(249)] + public static extern void MultMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[249]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixx")] - public static + [Slot(249)] + public static extern unsafe void MultMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[249]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the current normal vector @@ -11050,33 +7566,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormal3f")] - public static + [Slot(252)] + public static extern void Normal3(Single nx, Single ny, Single nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)nx, (Single)ny, (Single)nz, EntryPoints[252]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormal3x")] - public static + [Slot(253)] + public static extern void Normal3x(int nx, int ny, int nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)nx, (int)ny, (int)nz, EntryPoints[253]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of normals @@ -11098,18 +7600,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static + [Slot(256)] + public static extern void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[256]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of normals @@ -11131,27 +7626,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static + [Slot(256)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[256]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of normals @@ -11173,27 +7653,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static + [Slot(256)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[256]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of normals @@ -11215,27 +7680,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static + [Slot(256)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[256]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of normals @@ -11257,28 +7707,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static + [Slot(256)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[256]); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of normals @@ -11299,18 +7733,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static + [Slot(256)] + public static extern void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[256]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of normals @@ -11331,27 +7758,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static + [Slot(256)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[256]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of normals @@ -11372,27 +7784,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static + [Slot(256)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[256]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of normals @@ -11413,27 +7810,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static + [Slot(256)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[256]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of normals @@ -11454,28 +7836,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static + [Slot(256)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[256]); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Multiply the current matrix with an orthographic matrix @@ -11496,91 +7862,44 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glOrthof")] - public static + [Slot(257)] + public static extern void Ortho(Single l, Single r, Single b, Single t, Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f, EntryPoints[257]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glOrthox")] - public static + [Slot(259)] + public static extern void Orthox(int l, int r, int b, int t, int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)l, (int)r, (int)b, (int)t, (int)n, (int)f, EntryPoints[259]); - #if DEBUG - } - #endif - } + ; + /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")] - public static + [Slot(262)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)map, (Int32)size, (IntPtr)values_ptr, EntryPoints[262]); - } - } - #if DEBUG - } - #endif - } + ; + /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")] - public static + [Slot(262)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)map, (Int32)size, (IntPtr)values_ptr, EntryPoints[262]); - } - } - #if DEBUG - } - #endif - } + ; + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")] - public static + [Slot(262)] + public static extern unsafe void PixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, int* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)map, (Int32)size, (IntPtr)values, EntryPoints[262]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set pixel storage modes @@ -11597,18 +7916,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPixelStorei")] - public static + [Slot(263)] + public static extern void PixelStore(OpenTK.Graphics.ES11.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.PixelStoreParameter)pname, (Int32)param, EntryPoints[263]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set pixel storage modes @@ -11624,33 +7936,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPixelStorei")] - public static + [Slot(263)] + public static extern void PixelStore(OpenTK.Graphics.ES11.PixelStoreParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.PixelStoreParameter)pname, (Int32)param, EntryPoints[263]); - #if DEBUG - } - #endif - } + ; + /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelStorex")] - public static + [Slot(264)] + public static extern void PixelStorex(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[264]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify point parameters @@ -11671,18 +7969,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterf")] - public static + [Slot(267)] + public static extern void PointParameter(OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (Single)param, EntryPoints[267]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify point parameters @@ -11703,24 +7994,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterfv")] - public static + [Slot(268)] + public static extern void PointParameter(OpenTK.Graphics.ES11.All pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[268]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify point parameters @@ -11742,70 +8020,36 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterfv")] - public static + [Slot(268)] + public static extern unsafe void PointParameter(OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[268]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterx")] - public static + [Slot(269)] + public static extern void PointParameterx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[269]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterxv")] - public static + [Slot(271)] + public static extern void PointParameterx(OpenTK.Graphics.ES11.All pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[271]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterxv")] - public static + [Slot(271)] + public static extern unsafe void PointParameterx(OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[271]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the diameter of rasterized points @@ -11816,33 +8060,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointSize")] - public static + [Slot(273)] + public static extern void PointSize(Single size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)size, EntryPoints[273]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointSizex")] - public static + [Slot(275)] + public static extern void PointSizex(int size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)size, EntryPoints[275]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the scale and units used to calculate depth values @@ -11858,65 +8088,37 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPolygonOffset")] - public static + [Slot(277)] + public static extern void PolygonOffset(Single factor, Single units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)factor, (Single)units, EntryPoints[277]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPolygonOffsetx")] - public static + [Slot(278)] + public static extern void PolygonOffsetx(int factor, int units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)factor, (int)units, EntryPoints[278]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPopMatrix")] - public static + [Slot(280)] + public static extern void PopMatrix() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[280]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Push and pop the current matrix stack /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPushMatrix")] - public static + [Slot(282)] + public static extern void PushMatrix() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[282]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -11948,18 +8150,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(291)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels, EntryPoints[291]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -11991,27 +8186,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(291)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[291]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -12043,27 +8223,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(291)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[291]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -12095,27 +8260,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(291)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[291]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -12147,28 +8297,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(291)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[291]); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -12199,18 +8333,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(291)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels, EntryPoints[291]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -12241,27 +8368,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(291)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[291]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -12292,27 +8404,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(291)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[291]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -12343,27 +8440,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(291)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[291]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -12394,28 +8476,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(291)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[291]); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Multiply the current matrix by a rotation matrix @@ -12431,33 +8497,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glRotatef")] - public static + [Slot(299)] + public static extern void Rotate(Single angle, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)angle, (Single)x, (Single)y, (Single)z, EntryPoints[299]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glRotatex")] - public static + [Slot(300)] + public static extern void Rotatex(int angle, int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)angle, (int)x, (int)y, (int)z, EntryPoints[300]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify multisample coverage parameters @@ -12473,33 +8525,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glSampleCoverage")] - public static + [Slot(302)] + public static extern void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)value, (bool)invert, EntryPoints[302]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glSampleCoveragex")] - public static + [Slot(304)] + public static extern void SampleCoveragex(int value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)value, (bool)invert, EntryPoints[304]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Multiply the current matrix by a general scaling matrix @@ -12510,33 +8548,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glScalef")] - public static + [Slot(306)] + public static extern void Scale(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, (Single)z, EntryPoints[306]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glScalex")] - public static + [Slot(307)] + public static extern void Scalex(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, (int)z, EntryPoints[307]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define the scissor box @@ -12552,18 +8576,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glScissor")] - public static + [Slot(309)] + public static extern void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[309]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Select flat or smooth shading @@ -12575,18 +8592,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glShadeModel")] - public static + [Slot(311)] + public static extern void ShadeModel(OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.ShadingModel)mode, EntryPoints[311]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Select flat or smooth shading @@ -12597,18 +8607,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glShadeModel")] - public static + [Slot(311)] + public static extern void ShadeModel(OpenTK.Graphics.ES11.ShadingModel mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.ShadingModel)mode, EntryPoints[311]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -12629,18 +8632,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static + [Slot(313)] + public static extern void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[313]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -12663,18 +8659,11 @@ 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 + [Slot(313)] + public static extern void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[313]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -12695,18 +8684,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static + [Slot(313)] + public static extern void StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[313]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -12728,18 +8710,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static + [Slot(313)] + public static extern void StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[313]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Control the front and back writing of individual bits in the stencil planes @@ -12750,18 +8725,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilMask")] - public static + [Slot(314)] + public static extern void StencilMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[314]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Control the front and back writing of individual bits in the stencil planes @@ -12773,18 +8741,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilMask")] - public static + [Slot(314)] + public static extern void StencilMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[314]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set front and back stencil test actions @@ -12806,18 +8767,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilOp")] - public static + [Slot(315)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.StencilOp)fail, (OpenTK.Graphics.ES11.StencilOp)zfail, (OpenTK.Graphics.ES11.StencilOp)zpass, EntryPoints[315]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set front and back stencil test actions @@ -12838,18 +8792,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilOp")] - public static + [Slot(315)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.StencilOp)fail, (OpenTK.Graphics.ES11.StencilOp)zfail, (OpenTK.Graphics.ES11.StencilOp)zpass, EntryPoints[315]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of texture coordinates @@ -12876,18 +8823,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static + [Slot(333)] + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[333]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of texture coordinates @@ -12914,27 +8854,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static + [Slot(333)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[333]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of texture coordinates @@ -12961,27 +8886,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static + [Slot(333)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[333]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of texture coordinates @@ -13008,27 +8918,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static + [Slot(333)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[333]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of texture coordinates @@ -13055,28 +8950,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static + [Slot(333)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[333]); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of texture coordinates @@ -13102,18 +8981,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static + [Slot(333)] + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[333]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of texture coordinates @@ -13139,27 +9011,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static + [Slot(333)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[333]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of texture coordinates @@ -13185,27 +9042,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static + [Slot(333)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[333]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of texture coordinates @@ -13231,27 +9073,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static + [Slot(333)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[333]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of texture coordinates @@ -13277,28 +9104,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static + [Slot(333)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[333]); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture environment parameters @@ -13320,18 +9131,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvf")] - public static + [Slot(334)] + public static extern void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single)param, EntryPoints[334]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture environment parameters @@ -13352,18 +9156,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvf")] - public static + [Slot(334)] + public static extern void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single)param, EntryPoints[334]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture environment parameters @@ -13385,24 +9182,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvfv")] - public static + [Slot(335)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[335]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture environment parameters @@ -13425,18 +9209,11 @@ 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 + [Slot(335)] + public static extern unsafe void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[335]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture environment parameters @@ -13457,24 +9234,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvfv")] - public static + [Slot(335)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[335]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture environment parameters @@ -13496,18 +9260,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvfv")] - public static + [Slot(335)] + public static extern unsafe void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[335]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture environment parameters @@ -13529,18 +9286,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvi")] - public static + [Slot(336)] + public static extern void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32)param, EntryPoints[336]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture environment parameters @@ -13561,18 +9311,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvi")] - public static + [Slot(336)] + public static extern void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32)param, EntryPoints[336]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture environment parameters @@ -13594,24 +9337,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnviv")] - public static + [Slot(337)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[337]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture environment parameters @@ -13634,18 +9364,11 @@ 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 + [Slot(337)] + public static extern unsafe void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[337]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture environment parameters @@ -13666,24 +9389,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnviv")] - public static + [Slot(337)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[337]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture environment parameters @@ -13705,70 +9415,36 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnviv")] - public static + [Slot(337)] + public static extern unsafe void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[337]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvx")] - public static + [Slot(338)] + public static extern void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[338]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvxv")] - public static + [Slot(340)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[340]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvxv")] - public static + [Slot(340)] + public static extern unsafe void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[340]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -13820,18 +9496,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(348)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[348]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -13883,27 +9552,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[348]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -13955,27 +9609,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[348]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -14027,27 +9666,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[348]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -14099,28 +9723,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[348]); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -14171,18 +9779,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(348)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[348]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -14233,27 +9834,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[348]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -14304,27 +9890,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[348]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -14375,27 +9946,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[348]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -14446,28 +10002,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[348]); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -14497,18 +10037,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterf")] - public static + [Slot(349)] + public static extern void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single)param, EntryPoints[349]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -14537,18 +10070,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterf")] - public static + [Slot(349)] + public static extern void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single)param, EntryPoints[349]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -14578,24 +10104,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static + [Slot(350)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -14626,18 +10139,11 @@ 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 + [Slot(350)] + public static extern unsafe void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (IntPtr)@params, EntryPoints[350]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -14666,24 +10172,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static + [Slot(350)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -14713,18 +10206,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static + [Slot(350)] + public static extern unsafe void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (IntPtr)@params, EntryPoints[350]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -14754,18 +10240,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteri")] - public static + [Slot(351)] + public static extern void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32)param, EntryPoints[351]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -14794,18 +10273,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteri")] - public static + [Slot(351)] + public static extern void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32)param, EntryPoints[351]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -14835,24 +10307,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static + [Slot(352)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[352]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -14883,18 +10342,11 @@ 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 + [Slot(352)] + public static extern unsafe void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (IntPtr)@params, EntryPoints[352]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -14923,24 +10375,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static + [Slot(352)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[352]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -14970,70 +10409,36 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static + [Slot(352)] + public static extern unsafe void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (IntPtr)@params, EntryPoints[352]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterx")] - public static + [Slot(353)] + public static extern void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[353]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterxv")] - public static + [Slot(355)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[355]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterxv")] - public static + [Slot(355)] + public static extern unsafe void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[355]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15085,18 +10490,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(360)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[360]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15148,27 +10546,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15220,27 +10603,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15292,27 +10660,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15364,28 +10717,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15436,18 +10773,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(360)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[360]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15498,27 +10828,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15569,27 +10884,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15640,27 +10940,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15711,28 +10996,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Multiply the current matrix by a translation matrix @@ -15743,33 +11012,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTranslatef")] - public static + [Slot(364)] + public static extern void Translate(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, (Single)z, EntryPoints[364]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTranslatex")] - public static + [Slot(365)] + public static extern void Translatex(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, (int)z, EntryPoints[365]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of vertex data @@ -15796,18 +11051,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static + [Slot(380)] + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[380]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of vertex data @@ -15834,27 +11082,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static + [Slot(380)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[380]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of vertex data @@ -15881,27 +11114,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static + [Slot(380)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[380]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of vertex data @@ -15928,27 +11146,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static + [Slot(380)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[380]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of vertex data @@ -15975,28 +11178,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static + [Slot(380)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[380]); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of vertex data @@ -16022,18 +11209,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static + [Slot(380)] + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[380]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of vertex data @@ -16059,27 +11239,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static + [Slot(380)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[380]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of vertex data @@ -16105,27 +11270,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static + [Slot(380)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[380]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of vertex data @@ -16151,27 +11301,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static + [Slot(380)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[380]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define an array of vertex data @@ -16197,28 +11332,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static + [Slot(380)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[380]); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the viewport @@ -16234,18 +11353,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glViewport")] - public static + [Slot(381)] + public static extern void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[381]); - #if DEBUG - } - #endif - } + ; + public static partial class Ext { @@ -16263,76 +11375,36 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static + [Slot(12)] + public static extern void BlendEquation(OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)mode, EntryPoints[12]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_discard_framebuffer] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static + [Slot(72)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[72]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_discard_framebuffer] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static + [Slot(72)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[72]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_discard_framebuffer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static + [Slot(72)] + public static extern unsafe void DiscardFramebuffer(OpenTK.Graphics.ES11.All target, Int32 numAttachments, OpenTK.Graphics.ES11.All* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (Int32)numAttachments, (IntPtr)attachments, EntryPoints[72]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Indicate modifications to a range of a mapped buffer @@ -16353,304 +11425,140 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeEXT")] - public static + [Slot(110)] + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)length, EntryPoints[110]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multisampled_render_to_texture] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")] - public static + [Slot(118)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples, EntryPoints[118]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multisampled_render_to_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")] - public static + [Slot(118)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples, EntryPoints[118]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetGraphicsResetStatusEXT")] - public static + [Slot(149)] + public static extern OpenTK.Graphics.ES11.All GetGraphicsResetStatus() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn(EntryPoints[149]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(162)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[162]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(162)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[162]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(162)] + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[162]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(162)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[162]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(162)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[162]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(162)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[162]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(163)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[163]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(163)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[163]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(163)] + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[163]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(163)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[163]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(163)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[163]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(163)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[163]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -16676,18 +11584,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static + [Slot(217)] + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length, Int32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)length, (UInt32)access, EntryPoints[217]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -16714,18 +11615,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static + [Slot(217)] + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length, UInt32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)length, (UInt32)access, EntryPoints[217]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -16752,25 +11646,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(228)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -16797,25 +11677,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(228)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -16843,18 +11709,11 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(228)] + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.ES11.All mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[228]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -16880,25 +11739,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(228)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -16924,25 +11769,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(228)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -16969,18 +11800,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(228)] + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[228]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17012,24 +11836,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount, EntryPoints[229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17061,33 +11872,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17119,33 +11909,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17177,33 +11946,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17235,34 +11983,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - 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 @@ -17294,24 +12020,11 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount, EntryPoints[229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17343,33 +12056,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17401,33 +12093,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17459,33 +12130,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17517,34 +12167,12 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - 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 @@ -17577,18 +12205,11 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount, EntryPoints[229]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17621,27 +12242,12 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17674,27 +12280,12 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17727,27 +12318,12 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17780,28 +12356,12 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - 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 @@ -17832,24 +12392,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount, EntryPoints[229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17880,33 +12427,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17937,33 +12463,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17994,33 +12499,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18051,34 +12535,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - 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 @@ -18109,24 +12571,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount, EntryPoints[229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18157,33 +12606,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18214,33 +12642,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18271,33 +12678,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18328,34 +12714,12 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - 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 @@ -18387,18 +12751,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount, EntryPoints[229]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18430,27 +12787,12 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18482,27 +12824,12 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18534,27 +12861,12 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18586,140 +12898,56 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[229]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(290)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (Int32)bufSize, (IntPtr)data, EntryPoints[290]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(290)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[290]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(290)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[290]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(290)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[290]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(290)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[290]); - 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 @@ -18750,18 +12978,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static + [Slot(295)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (Int32)samples, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, EntryPoints[295]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a one-dimensional texture @@ -18787,18 +13008,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage1DEXT")] - public static + [Slot(357)] + public static extern void TexStorage1D(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, EntryPoints[357]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -18829,18 +13043,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage2DEXT")] - public static + [Slot(358)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, EntryPoints[358]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -18876,111 +13083,62 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage3DEXT")] - public static + [Slot(359)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[359]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static + [Slot(361)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, EntryPoints[361]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static + [Slot(361)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, EntryPoints[361]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static + [Slot(362)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, EntryPoints[362]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static + [Slot(362)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, EntryPoints[362]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static + [Slot(363)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[363]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static + [Slot(363)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[363]); - #if DEBUG - } - #endif - } + ; + } @@ -19000,24 +13158,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanefIMG")] - public static + [Slot(33)] + public static extern void ClipPlane(OpenTK.Graphics.ES11.All p, Single[] eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* eqn_ptr = eqn) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)p, (IntPtr)eqn_ptr, EntryPoints[33]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_user_clip_plane] /// Specify a plane against which all geometry is clipped @@ -19033,24 +13178,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanefIMG")] - public static + [Slot(33)] + public static extern void ClipPlane(OpenTK.Graphics.ES11.All p, ref Single eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* eqn_ptr = &eqn) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)p, (IntPtr)eqn_ptr, EntryPoints[33]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_user_clip_plane] /// Specify a plane against which all geometry is clipped @@ -19067,107 +13199,53 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanefIMG")] - public static + [Slot(33)] + public static extern unsafe void ClipPlane(OpenTK.Graphics.ES11.All p, Single* eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)p, (IntPtr)eqn, EntryPoints[33]); - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_user_clip_plane] [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanexIMG")] - public static + [Slot(36)] + public static extern void ClipPlanex(OpenTK.Graphics.ES11.All p, int[] eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* eqn_ptr = eqn) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)p, (IntPtr)eqn_ptr, EntryPoints[36]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_user_clip_plane] [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanexIMG")] - public static + [Slot(36)] + public static extern void ClipPlanex(OpenTK.Graphics.ES11.All p, ref int eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* eqn_ptr = &eqn) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)p, (IntPtr)eqn_ptr, EntryPoints[36]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_user_clip_plane] [System.CLSCompliant(false)] [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanexIMG")] - public static + [Slot(36)] + public static extern unsafe void ClipPlanex(OpenTK.Graphics.ES11.All p, int* eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)p, (IntPtr)eqn, EntryPoints[36]); - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_multisampled_render_to_texture] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")] - public static + [Slot(119)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples, EntryPoints[119]); - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_multisampled_render_to_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")] - public static + [Slot(119)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples, EntryPoints[119]); - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -19198,18 +13276,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleIMG")] - public static + [Slot(296)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (Int32)samples, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, EntryPoints[296]); - #if DEBUG - } - #endif - } + ; + } @@ -19217,548 +13288,252 @@ namespace OpenTK.Graphics.ES11 { /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern void DeleteFence(Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[57]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern void DeleteFence(UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[57]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern void DeleteFences(Int32 n, Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[57]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern void DeleteFences(Int32 n, ref Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[57]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern unsafe void DeleteFences(Int32 n, Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[57]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern void DeleteFences(Int32 n, UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[57]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern void DeleteFences(Int32 n, ref UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[57]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern unsafe void DeleteFences(Int32 n, UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[57]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static + [Slot(108)] + public static extern void FinishFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, EntryPoints[108]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static + [Slot(108)] + public static extern void FinishFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, EntryPoints[108]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(128)] + public static extern Int32 GenFence() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* fences_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[128]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(128)] + public static extern void GenFences(Int32 n, [OutAttribute] Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[128]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(128)] + public static extern void GenFences(Int32 n, [OutAttribute] out Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[128]); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(128)] + public static extern unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[128]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(128)] + public static extern void GenFences(Int32 n, [OutAttribute] UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[128]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(128)] + public static extern void GenFences(Int32 n, [OutAttribute] out UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[128]); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(128)] + public static extern unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[128]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(144)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[144]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(144)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[144]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(144)] + public static extern unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[144]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(144)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[144]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(144)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[144]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(144)] + public static extern unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[144]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static + [Slot(186)] + public static extern bool IsFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[186]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static + [Slot(186)] + public static extern bool IsFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[186]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static + [Slot(310)] + public static extern void SetFence(Int32 fence, OpenTK.Graphics.ES11.All condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES11.All)condition, EntryPoints[310]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static + [Slot(310)] + public static extern void SetFence(UInt32 fence, OpenTK.Graphics.ES11.All condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES11.All)condition, EntryPoints[310]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static + [Slot(316)] + public static extern bool TestFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[316]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static + [Slot(316)] + public static extern bool TestFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[316]); - #if DEBUG - } - #endif - } + ; + } @@ -19766,33 +13541,19 @@ namespace OpenTK.Graphics.ES11 { /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glAccumxOES")] - public static + [Slot(0)] + public static extern void Accumx(OpenTK.Graphics.ES11.All op, int value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)op, (int)value, EntryPoints[0]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glAlphaFuncxOES")] - public static + [Slot(4)] + public static extern void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)func, (int)@ref, EntryPoints[4]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Bind a framebuffer to a framebuffer target @@ -19808,18 +13569,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glBindFramebufferOES")] - public static + [Slot(6)] + public static extern void BindFramebuffer(OpenTK.Graphics.ES11.All target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (UInt32)framebuffer, EntryPoints[6]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Bind a framebuffer to a framebuffer target @@ -19836,18 +13590,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glBindFramebufferOES")] - public static + [Slot(6)] + public static extern void BindFramebuffer(OpenTK.Graphics.ES11.All target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (UInt32)framebuffer, EntryPoints[6]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Bind a renderbuffer to a renderbuffer target @@ -19863,18 +13610,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glBindRenderbufferOES")] - public static + [Slot(7)] + public static extern void BindRenderbuffer(OpenTK.Graphics.ES11.All target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (UInt32)renderbuffer, EntryPoints[7]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Bind a renderbuffer to a renderbuffer target @@ -19891,18 +13631,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glBindRenderbufferOES")] - public static + [Slot(7)] + public static extern void BindRenderbuffer(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (UInt32)renderbuffer, EntryPoints[7]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Bind a vertex array object @@ -19913,18 +13646,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")] - public static + [Slot(9)] + public static extern void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[9]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Bind a vertex array object @@ -19936,91 +13662,44 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")] - public static + [Slot(9)] + public static extern void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[9]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")] - public static + [Slot(10)] + public static extern 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) - { - InteropHelper.Call((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (IntPtr)bitmap_ptr, EntryPoints[10]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")] - public static + [Slot(10)] + public static extern 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) - { - InteropHelper.Call((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (IntPtr)bitmap_ptr, EntryPoints[10]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")] - public static + [Slot(10)] + public static extern 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 - InteropHelper.Call((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (IntPtr)bitmap, EntryPoints[10]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBlendColorxOES")] - public static + [Slot(11)] + public static extern void BlendColorx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)red, (int)green, (int)blue, (int)alpha, EntryPoints[11]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_blend_subtract] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -20036,18 +13715,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_blend_subtract", Version = "", EntryPoint = "glBlendEquationOES")] - public static + [Slot(13)] + public static extern void BlendEquation(OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)mode, EntryPoints[13]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_blend_equation_separate] /// Set the RGB blend equation and the alpha blend equation separately @@ -20068,18 +13740,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_blend_equation_separate", Version = "", EntryPoint = "glBlendEquationSeparateOES")] - public static + [Slot(14)] + public static extern void BlendEquationSeparate(OpenTK.Graphics.ES11.All modeRGB, OpenTK.Graphics.ES11.All modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)modeRGB, (OpenTK.Graphics.ES11.All)modeAlpha, EntryPoints[14]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_blend_func_separate] /// Specify pixel arithmetic for RGB and alpha components separately @@ -20110,18 +13775,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_blend_func_separate", Version = "", EntryPoint = "glBlendFuncSeparateOES")] - public static + [Slot(16)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)srcRGB, (OpenTK.Graphics.ES11.All)dstRGB, (OpenTK.Graphics.ES11.All)srcAlpha, (OpenTK.Graphics.ES11.All)dstAlpha, EntryPoints[16]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Check the completeness status of a framebuffer @@ -20132,48 +13790,27 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glCheckFramebufferStatusOES")] - public static + [Slot(19)] + public static extern OpenTK.Graphics.ES11.All CheckFramebufferStatus(OpenTK.Graphics.ES11.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES11.All)target, EntryPoints[19]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearAccumxOES")] - public static + [Slot(21)] + public static extern void ClearAccumx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)red, (int)green, (int)blue, (int)alpha, EntryPoints[21]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearColorxOES")] - public static + [Slot(24)] + public static extern void ClearColorx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)red, (int)green, (int)blue, (int)alpha, EntryPoints[24]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Specify the clear value for the depth buffer @@ -20184,33 +13821,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClearDepthfOES")] - public static + [Slot(26)] + public static extern void ClearDepth(Single depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)depth, EntryPoints[26]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearDepthxOES")] - public static + [Slot(28)] + public static extern void ClearDepthx(int depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)depth, EntryPoints[28]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Specify a plane against which all geometry is clipped @@ -20226,24 +13849,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")] - public static + [Slot(34)] + public static extern void ClipPlane(OpenTK.Graphics.ES11.All plane, Single[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = equation) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[34]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Specify a plane against which all geometry is clipped @@ -20259,24 +13869,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")] - public static + [Slot(34)] + public static extern void ClipPlane(OpenTK.Graphics.ES11.All plane, ref Single equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = &equation) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[34]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Specify a plane against which all geometry is clipped @@ -20293,346 +13890,161 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")] - public static + [Slot(34)] + public static extern unsafe void ClipPlane(OpenTK.Graphics.ES11.All plane, Single* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation, EntryPoints[34]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")] - public static + [Slot(37)] + public static extern void ClipPlanex(OpenTK.Graphics.ES11.All plane, int[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = equation) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[37]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")] - public static + [Slot(37)] + public static extern void ClipPlanex(OpenTK.Graphics.ES11.All plane, ref int equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = &equation) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[37]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")] - public static + [Slot(37)] + public static extern unsafe void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation, EntryPoints[37]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xOES")] - public static + [Slot(38)] + public static extern void Color3x(int red, int green, int blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)red, (int)green, (int)blue, EntryPoints[38]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")] - public static + [Slot(39)] + public static extern void Color3x(int[] components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = components) - { - InteropHelper.Call((IntPtr)components_ptr, EntryPoints[39]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")] - public static + [Slot(39)] + public static extern void Color3x(ref int components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = &components) - { - InteropHelper.Call((IntPtr)components_ptr, EntryPoints[39]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")] - public static + [Slot(39)] + public static extern unsafe void Color3x(int* components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)components, EntryPoints[39]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xOES")] - public static + [Slot(43)] + public static extern void Color4x(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)red, (int)green, (int)blue, (int)alpha, EntryPoints[43]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")] - public static + [Slot(44)] + public static extern void Color4x(int[] components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = components) - { - InteropHelper.Call((IntPtr)components_ptr, EntryPoints[44]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")] - public static + [Slot(44)] + public static extern void Color4x(ref int components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = &components) - { - InteropHelper.Call((IntPtr)components_ptr, EntryPoints[44]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")] - public static + [Slot(44)] + public static extern unsafe void Color4x(int* components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)components, EntryPoints[44]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxOES")] - public static + [Slot(49)] + public static extern void ConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[49]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxvOES")] - public static + [Slot(50)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[50]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxvOES")] - public static + [Slot(50)] + public static extern unsafe void ConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[50]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glCurrentPaletteMatrixOES")] - public static + [Slot(55)] + public static extern void CurrentPaletteMatrix(Int32 matrixpaletteindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)matrixpaletteindex, EntryPoints[55]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glCurrentPaletteMatrixOES")] - public static + [Slot(55)] + public static extern void CurrentPaletteMatrix(UInt32 matrixpaletteindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)matrixpaletteindex, EntryPoints[55]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static + [Slot(58)] + public static extern void DeleteFramebuffer(Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[58]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static + [Slot(58)] + public static extern void DeleteFramebuffer(UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[58]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Delete framebuffer objects @@ -20648,24 +14060,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static + [Slot(58)] + public static extern void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[58]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Delete framebuffer objects @@ -20681,24 +14080,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static + [Slot(58)] + public static extern void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[58]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Delete framebuffer objects @@ -20715,18 +14101,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static + [Slot(58)] + public static extern unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[58]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Delete framebuffer objects @@ -20743,24 +14122,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static + [Slot(58)] + public static extern void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[58]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Delete framebuffer objects @@ -20777,24 +14143,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static + [Slot(58)] + public static extern void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[58]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Delete framebuffer objects @@ -20811,59 +14164,28 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static + [Slot(58)] + public static extern unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[58]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static + [Slot(59)] + public static extern void DeleteRenderbuffer(Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[59]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static + [Slot(59)] + public static extern void DeleteRenderbuffer(UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[59]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Delete renderbuffer objects @@ -20879,24 +14201,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static + [Slot(59)] + public static extern void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[59]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Delete renderbuffer objects @@ -20912,24 +14221,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static + [Slot(59)] + public static extern void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[59]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Delete renderbuffer objects @@ -20946,18 +14242,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static + [Slot(59)] + public static extern unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[59]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Delete renderbuffer objects @@ -20974,24 +14263,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static + [Slot(59)] + public static extern void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[59]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Delete renderbuffer objects @@ -21008,24 +14284,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static + [Slot(59)] + public static extern void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[59]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Delete renderbuffer objects @@ -21042,59 +14305,28 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static + [Slot(59)] + public static extern unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[59]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(62)] + public static extern void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[62]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(62)] + public static extern void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[62]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -21110,24 +14342,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(62)] + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[62]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -21143,24 +14362,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(62)] + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[62]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -21177,18 +14383,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(62)] + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[62]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -21205,24 +14404,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(62)] + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[62]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -21239,24 +14425,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(62)] + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[62]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -21273,18 +14446,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(62)] + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[62]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -21300,569 +14466,267 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glDepthRangefOES")] - public static + [Slot(66)] + public static extern void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)n, (Single)f, EntryPoints[66]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glDepthRangexOES")] - public static + [Slot(68)] + public static extern void DepthRangex(int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)n, (int)f, EntryPoints[68]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexfOES")] - public static + [Slot(75)] + public static extern void DrawTex(Single x, Single y, Single z, Single width, Single height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, (Single)z, (Single)width, (Single)height, EntryPoints[75]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexfvOES")] - public static + [Slot(76)] + public static extern void DrawTex(Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[76]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexfvOES")] - public static + [Slot(76)] + public static extern void DrawTex(ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[76]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexfvOES")] - public static + [Slot(76)] + public static extern unsafe void DrawTex(Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[76]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexiOES")] - public static + [Slot(77)] + public static extern void DrawTex(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)z, (Int32)width, (Int32)height, EntryPoints[77]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexivOES")] - public static + [Slot(78)] + public static extern void DrawTex(Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[78]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexivOES")] - public static + [Slot(78)] + public static extern void DrawTex(ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[78]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexivOES")] - public static + [Slot(78)] + public static extern unsafe void DrawTex(Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[78]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexsOES")] - public static + [Slot(79)] + public static extern void DrawTex(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, (Int16)z, (Int16)width, (Int16)height, EntryPoints[79]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexsvOES")] - public static + [Slot(80)] + public static extern void DrawTex(Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[80]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexsvOES")] - public static + [Slot(80)] + public static extern void DrawTex(ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[80]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexsvOES")] - public static + [Slot(80)] + public static extern unsafe void DrawTex(Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[80]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexxOES")] - public static + [Slot(81)] + public static extern void DrawTexx(int x, int y, int z, int width, int height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, (int)z, (int)width, (int)height, EntryPoints[81]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexxvOES")] - public static + [Slot(82)] + public static extern void DrawTexx(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[82]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexxvOES")] - public static + [Slot(82)] + public static extern void DrawTexx(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[82]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_draw_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexxvOES")] - public static + [Slot(82)] + public static extern unsafe void DrawTexx(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[82]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_EGL_image] [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetRenderbufferStorageOES")] - public static + [Slot(83)] + public static extern void EGLImageTargetRenderbufferStorage(OpenTK.Graphics.ES11.All target, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)image, EntryPoints[83]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_EGL_image] [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetTexture2DOES")] - public static + [Slot(84)] + public static extern void EGLImageTargetTexture2D(OpenTK.Graphics.ES11.All target, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)image, EntryPoints[84]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord1xOES")] - public static + [Slot(89)] + public static extern void EvalCoord1x(int u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)u, EntryPoints[89]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord1xvOES")] - public static + [Slot(90)] + public static extern unsafe void EvalCoord1x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[90]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xOES")] - public static + [Slot(91)] + public static extern void EvalCoord2x(int u, int v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)u, (int)v, EntryPoints[91]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")] - public static + [Slot(92)] + public static extern void EvalCoord2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[92]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")] - public static + [Slot(92)] + public static extern void EvalCoord2x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[92]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")] - public static + [Slot(92)] + public static extern unsafe void EvalCoord2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[92]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")] - public static + [Slot(105)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (OpenTK.Graphics.ES11.All)type, (IntPtr)buffer_ptr, EntryPoints[105]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")] - public static + [Slot(105)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (OpenTK.Graphics.ES11.All)type, (IntPtr)buffer_ptr, EntryPoints[105]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")] - public static + [Slot(105)] + public static extern unsafe void FeedbackBufferx(Int32 n, OpenTK.Graphics.ES11.All type, int* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (OpenTK.Graphics.ES11.All)type, (IntPtr)buffer, EntryPoints[105]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxOES")] - public static + [Slot(114)] + public static extern void Fogx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[114]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxvOES")] - public static + [Slot(116)] + public static extern void Fogx(OpenTK.Graphics.ES11.All pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)param_ptr, EntryPoints[116]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxvOES")] - public static + [Slot(116)] + public static extern unsafe void Fogx(OpenTK.Graphics.ES11.All pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)param, EntryPoints[116]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -21888,18 +14752,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glFramebufferRenderbufferOES")] - public static + [Slot(117)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[117]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -21926,49 +14783,28 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glFramebufferRenderbufferOES")] - public static + [Slot(117)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[117]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture2DOES")] - public static + [Slot(120)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, EntryPoints[120]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture2DOES")] - public static + [Slot(120)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, EntryPoints[120]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Multiply the current matrix by a perspective matrix @@ -21989,33 +14825,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glFrustumfOES")] - public static + [Slot(123)] + public static extern void Frustum(Single l, Single r, Single b, Single t, Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f, EntryPoints[123]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFrustumxOES")] - public static + [Slot(125)] + public static extern void Frustumx(int l, int r, int b, int t, int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)l, (int)r, (int)b, (int)t, (int)n, (int)f, EntryPoints[125]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Generate mipmaps for a specified texture target @@ -22026,40 +14848,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenerateMipmapOES")] - public static + [Slot(127)] + public static extern void GenerateMipmap(OpenTK.Graphics.ES11.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, EntryPoints[127]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static + [Slot(129)] + public static extern Int32 GenFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* framebuffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[129]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Generate framebuffer object names @@ -22075,24 +14876,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static + [Slot(129)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[129]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Generate framebuffer object names @@ -22108,25 +14896,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static + [Slot(129)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[129]); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Generate framebuffer object names @@ -22143,18 +14917,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static + [Slot(129)] + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[129]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Generate framebuffer object names @@ -22171,24 +14938,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static + [Slot(129)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[129]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Generate framebuffer object names @@ -22205,25 +14959,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static + [Slot(129)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[129]); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Generate framebuffer object names @@ -22240,40 +14980,19 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static + [Slot(129)] + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[129]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static + [Slot(130)] + public static extern Int32 GenRenderbuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* renderbuffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[130]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Generate renderbuffer object names @@ -22289,24 +15008,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static + [Slot(130)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[130]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Generate renderbuffer object names @@ -22322,25 +15028,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static + [Slot(130)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[130]); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Generate renderbuffer object names @@ -22357,18 +15049,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static + [Slot(130)] + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[130]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Generate renderbuffer object names @@ -22385,24 +15070,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static + [Slot(130)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[130]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Generate renderbuffer object names @@ -22419,25 +15091,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static + [Slot(130)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[130]); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Generate renderbuffer object names @@ -22454,40 +15112,19 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static + [Slot(130)] + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[130]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(132)] + public static extern Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[132]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -22503,24 +15140,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(132)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[132]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -22536,25 +15160,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(132)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[132]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -22571,18 +15181,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(132)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[132]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -22599,24 +15202,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(132)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[132]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -22633,25 +15223,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(132)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[132]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -22668,130 +15244,55 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(132)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[132]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(135)] + public static extern void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[135]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(135)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[135]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(135)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[135]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(135)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[135]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(135)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[135]); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Return the coefficients of the specified clipping plane @@ -22807,24 +15308,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")] - public static + [Slot(137)] + public static extern void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = equation) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[137]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Return the coefficients of the specified clipping plane @@ -22840,25 +15328,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")] - public static + [Slot(137)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[137]); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Return the coefficients of the specified clipping plane @@ -22875,216 +15349,94 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")] - public static + [Slot(137)] + public static extern unsafe void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation, EntryPoints[137]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")] - public static + [Slot(139)] + public static extern void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = equation) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[139]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")] - public static + [Slot(139)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation_ptr, EntryPoints[139]); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")] - public static + [Slot(139)] + public static extern unsafe void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)plane, (IntPtr)equation, EntryPoints[139]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")] - public static + [Slot(140)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[140]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")] - public static + [Slot(140)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[140]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")] - public static + [Slot(140)] + public static extern unsafe void GetConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[140]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static + [Slot(146)] + public static extern int GetFixed(OpenTK.Graphics.ES11.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - int retval; - int* @params_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[146]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static + [Slot(146)] + public static extern void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[146]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static + [Slot(146)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[146]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static + [Slot(146)] + public static extern unsafe void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[146]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Retrieve information about attachments of a bound framebuffer object @@ -23110,24 +15462,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivOES")] - public static + [Slot(148)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[148]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Retrieve information about attachments of a bound framebuffer object @@ -23153,25 +15492,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivOES")] - public static + [Slot(148)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[148]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Retrieve information about attachments of a bound framebuffer object @@ -23198,247 +15523,111 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivOES")] - public static + [Slot(148)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[148]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")] - public static + [Slot(150)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[150]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")] - public static + [Slot(150)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[150]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")] - public static + [Slot(150)] + public static extern unsafe void GetHistogramParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[150]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")] - public static + [Slot(154)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[154]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")] - public static + [Slot(154)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[154]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")] - public static + [Slot(154)] + public static extern unsafe void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[154]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")] - public static + [Slot(157)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)query, (IntPtr)v_ptr, EntryPoints[157]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")] - public static + [Slot(157)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)query, (IntPtr)v_ptr, EntryPoints[157]); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")] - public static + [Slot(157)] + public static extern unsafe void GetMapx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All query, [OutAttribute] int* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)query, (IntPtr)v, EntryPoints[157]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxOES")] - public static + [Slot(159)] + public static extern void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[159]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxvOES")] - public static + [Slot(161)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[161]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxvOES")] - public static + [Slot(161)] + public static extern unsafe void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[161]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Retrieve information about a bound renderbuffer object @@ -23459,24 +15648,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivOES")] - public static + [Slot(166)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[166]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Retrieve information about a bound renderbuffer object @@ -23497,25 +15673,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivOES")] - public static + [Slot(166)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[166]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Retrieve information about a bound renderbuffer object @@ -23537,77 +15699,36 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivOES")] - public static + [Slot(166)] + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[166]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")] - public static + [Slot(172)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[172]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")] - public static + [Slot(172)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[172]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")] - public static + [Slot(172)] + public static extern unsafe void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[172]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_cube_map] /// Return texture coordinate generation parameters @@ -23628,24 +15749,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenfvOES")] - public static + [Slot(173)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[173]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_cube_map] /// Return texture coordinate generation parameters @@ -23666,25 +15774,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenfvOES")] - public static + [Slot(173)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[173]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_cube_map] /// Return texture coordinate generation parameters @@ -23706,18 +15800,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenfvOES")] - public static + [Slot(173)] + public static extern unsafe void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[173]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_cube_map] /// Return texture coordinate generation parameters @@ -23738,24 +15825,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenivOES")] - public static + [Slot(174)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[174]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_cube_map] /// Return texture coordinate generation parameters @@ -23776,25 +15850,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenivOES")] - public static + [Slot(174)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[174]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_cube_map] /// Return texture coordinate generation parameters @@ -23816,226 +15876,103 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenivOES")] - public static + [Slot(174)] + public static extern unsafe void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[174]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point|OES_texture_cube_map] [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenxvOES")] - public static + [Slot(175)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[175]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point|OES_texture_cube_map] [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenxvOES")] - public static + [Slot(175)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[175]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(175)] + public static extern unsafe void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[175]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")] - public static + [Slot(176)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[176]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")] - public static + [Slot(176)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[176]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")] - public static + [Slot(176)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[176]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")] - public static + [Slot(180)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[180]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")] - public static + [Slot(180)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[180]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")] - public static + [Slot(180)] + public static extern unsafe void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[180]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glIndexxOES")] - public static + [Slot(182)] + public static extern void Indexx(int component) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)component, EntryPoints[182]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glIndexxvOES")] - public static + [Slot(183)] + public static extern unsafe void Indexx(int* component) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)component, EntryPoints[183]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Determine if a name corresponds to a framebuffer object @@ -24046,18 +15983,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glIsFramebufferOES")] - public static + [Slot(187)] + public static extern bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, EntryPoints[187]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Determine if a name corresponds to a framebuffer object @@ -24069,18 +15999,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glIsFramebufferOES")] - public static + [Slot(187)] + public static extern bool IsFramebuffer(UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, EntryPoints[187]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Determine if a name corresponds to a renderbuffer object @@ -24091,18 +16014,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glIsRenderbufferOES")] - public static + [Slot(188)] + public static extern bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)renderbuffer, EntryPoints[188]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Determine if a name corresponds to a renderbuffer object @@ -24114,18 +16030,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glIsRenderbufferOES")] - public static + [Slot(188)] + public static extern bool IsRenderbuffer(UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)renderbuffer, EntryPoints[188]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -24136,18 +16045,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")] - public static + [Slot(191)] + public static extern bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[191]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -24159,298 +16061,143 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")] - public static + [Slot(191)] + public static extern bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[191]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxOES")] - public static + [Slot(197)] + public static extern void LightModelx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[197]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxvOES")] - public static + [Slot(199)] + public static extern void LightModelx(OpenTK.Graphics.ES11.All pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)param_ptr, EntryPoints[199]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxvOES")] - public static + [Slot(199)] + public static extern unsafe void LightModelx(OpenTK.Graphics.ES11.All pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)param, EntryPoints[199]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxOES")] - public static + [Slot(201)] + public static extern void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[201]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxvOES")] - public static + [Slot(203)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[203]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxvOES")] - public static + [Slot(203)] + public static extern unsafe void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[203]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLineWidthxOES")] - public static + [Slot(206)] + public static extern void LineWidthx(int width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)width, EntryPoints[206]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")] - public static + [Slot(210)] + public static extern void LoadMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[210]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")] - public static + [Slot(210)] + public static extern void LoadMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[210]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")] - public static + [Slot(210)] + public static extern unsafe void LoadMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[210]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glLoadPaletteFromModelViewMatrixOES")] - public static + [Slot(211)] + public static extern void LoadPaletteFromModelViewMatrix() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[211]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")] - public static + [Slot(212)] + public static extern void LoadTransposeMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[212]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")] - public static + [Slot(212)] + public static extern void LoadTransposeMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[212]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")] - public static + [Slot(212)] + public static extern unsafe void LoadTransposeMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[212]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMap1xOES")] - public static + [Slot(214)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (int)u1, (int)u2, (Int32)stride, (Int32)order, (int)points, EntryPoints[214]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMap2xOES")] - public static + [Slot(215)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (int)u1, (int)u2, (Int32)ustride, (Int32)uorder, (int)v1, (int)v2, (Int32)vstride, (Int32)vorder, (int)points, EntryPoints[215]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] /// Map a buffer object's data store @@ -24466,212 +16213,96 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glMapBufferOES")] - public static + [Slot(216)] + public static extern IntPtr MapBuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)access, EntryPoints[216]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMapGrid1xOES")] - public static + [Slot(218)] + public static extern void MapGrid1x(Int32 n, int u1, int u2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (int)u1, (int)u2, EntryPoints[218]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMapGrid2xOES")] - public static + [Slot(219)] + public static extern void MapGrid2x(Int32 n, int u1, int u2, int v1, int v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (int)u1, (int)u2, (int)v1, (int)v2, EntryPoints[219]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxOES")] - public static + [Slot(223)] + public static extern void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[223]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxvOES")] - public static + [Slot(225)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (IntPtr)param_ptr, EntryPoints[225]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxvOES")] - public static + [Slot(225)] + public static extern unsafe void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (IntPtr)param, EntryPoints[225]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")] - public static + [Slot(226)] + public static extern void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer, EntryPoints[226]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")] - public static + [Slot(226)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[226]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")] - public static + [Slot(226)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[226]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")] - public static + [Slot(226)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[226]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")] - public static + [Slot(226)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[226]); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24687,18 +16318,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bOES")] - public static + [Slot(230)] + public static extern void MultiTexCoord1(OpenTK.Graphics.ES11.All texture, Byte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (SByte)s, EntryPoints[230]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24715,18 +16339,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bOES")] - public static + [Slot(230)] + public static extern void MultiTexCoord1(OpenTK.Graphics.ES11.All texture, SByte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (SByte)s, EntryPoints[230]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24743,18 +16360,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bvOES")] - public static + [Slot(231)] + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.ES11.All texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords, EntryPoints[231]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24771,49 +16381,28 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bvOES")] - public static + [Slot(231)] + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.ES11.All texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords, EntryPoints[231]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord1xOES")] - public static + [Slot(232)] + public static extern void MultiTexCoord1x(OpenTK.Graphics.ES11.All texture, int s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (int)s, EntryPoints[232]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord1xvOES")] - public static + [Slot(233)] + public static extern unsafe void MultiTexCoord1x(OpenTK.Graphics.ES11.All texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords, EntryPoints[233]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24829,18 +16418,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bOES")] - public static + [Slot(234)] + public static extern void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, Byte s, Byte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, EntryPoints[234]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24857,18 +16439,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bOES")] - public static + [Slot(234)] + public static extern void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, SByte s, SByte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, EntryPoints[234]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24884,24 +16459,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static + [Slot(235)] + public static extern void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[235]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24917,24 +16479,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static + [Slot(235)] + public static extern void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[235]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24951,18 +16500,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static + [Slot(235)] + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords, EntryPoints[235]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24979,24 +16521,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static + [Slot(235)] + public static extern void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[235]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25013,24 +16542,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static + [Slot(235)] + public static extern void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[235]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25047,91 +16563,44 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static + [Slot(235)] + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords, EntryPoints[235]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xOES")] - public static + [Slot(236)] + public static extern void MultiTexCoord2x(OpenTK.Graphics.ES11.All texture, int s, int t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t, EntryPoints[236]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")] - public static + [Slot(237)] + public static extern void MultiTexCoord2x(OpenTK.Graphics.ES11.All texture, int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[237]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")] - public static + [Slot(237)] + public static extern void MultiTexCoord2x(OpenTK.Graphics.ES11.All texture, ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[237]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")] - public static + [Slot(237)] + public static extern unsafe void MultiTexCoord2x(OpenTK.Graphics.ES11.All texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords, EntryPoints[237]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25147,18 +16616,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bOES")] - public static + [Slot(238)] + public static extern void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, Byte s, Byte t, Byte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, (SByte)r, EntryPoints[238]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25175,18 +16637,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bOES")] - public static + [Slot(238)] + public static extern void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, (SByte)r, EntryPoints[238]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25202,24 +16657,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static + [Slot(239)] + public static extern void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[239]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25235,24 +16677,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static + [Slot(239)] + public static extern void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[239]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25269,18 +16698,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static + [Slot(239)] + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords, EntryPoints[239]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25297,24 +16719,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static + [Slot(239)] + public static extern void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[239]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25331,24 +16740,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static + [Slot(239)] + public static extern void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[239]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25365,91 +16761,44 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static + [Slot(239)] + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords, EntryPoints[239]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xOES")] - public static + [Slot(240)] + public static extern void MultiTexCoord3x(OpenTK.Graphics.ES11.All texture, int s, int t, int r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t, (int)r, EntryPoints[240]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")] - public static + [Slot(241)] + public static extern void MultiTexCoord3x(OpenTK.Graphics.ES11.All texture, int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[241]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")] - public static + [Slot(241)] + public static extern void MultiTexCoord3x(OpenTK.Graphics.ES11.All texture, ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[241]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")] - public static + [Slot(241)] + public static extern unsafe void MultiTexCoord3x(OpenTK.Graphics.ES11.All texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords, EntryPoints[241]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25465,18 +16814,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bOES")] - public static + [Slot(242)] + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, Byte s, Byte t, Byte r, Byte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q, EntryPoints[242]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25493,18 +16835,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bOES")] - public static + [Slot(242)] + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r, SByte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q, EntryPoints[242]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25520,24 +16855,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static + [Slot(243)] + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[243]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25553,24 +16875,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static + [Slot(243)] + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[243]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25587,18 +16896,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static + [Slot(243)] + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords, EntryPoints[243]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25615,24 +16917,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static + [Slot(243)] + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[243]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25649,24 +16938,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static + [Slot(243)] + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[243]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25683,280 +16959,127 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static + [Slot(243)] + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords, EntryPoints[243]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xOES")] - public static + [Slot(246)] + public static extern void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t, (int)r, (int)q, EntryPoints[246]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")] - public static + [Slot(247)] + public static extern void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[247]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")] - public static + [Slot(247)] + public static extern void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords_ptr, EntryPoints[247]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")] - public static + [Slot(247)] + public static extern unsafe void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)texture, (IntPtr)coords, EntryPoints[247]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")] - public static + [Slot(250)] + public static extern void MultMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[250]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")] - public static + [Slot(250)] + public static extern void MultMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[250]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")] - public static + [Slot(250)] + public static extern unsafe void MultMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[250]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")] - public static + [Slot(251)] + public static extern void MultTransposeMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[251]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")] - public static + [Slot(251)] + public static extern void MultTransposeMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[251]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")] - public static + [Slot(251)] + public static extern unsafe void MultTransposeMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[251]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xOES")] - public static + [Slot(254)] + public static extern void Normal3x(int nx, int ny, int nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)nx, (int)ny, (int)nz, EntryPoints[254]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")] - public static + [Slot(255)] + public static extern void Normal3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[255]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")] - public static + [Slot(255)] + public static extern void Normal3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[255]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")] - public static + [Slot(255)] + public static extern unsafe void Normal3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[255]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Multiply the current matrix with an orthographic matrix @@ -25977,751 +17100,337 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glOrthofOES")] - public static + [Slot(258)] + public static extern void Ortho(Single l, Single r, Single b, Single t, Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f, EntryPoints[258]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glOrthoxOES")] - public static + [Slot(260)] + public static extern void Orthox(int l, int r, int b, int t, int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)l, (int)r, (int)b, (int)t, (int)n, (int)f, EntryPoints[260]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPassThroughxOES")] - public static + [Slot(261)] + public static extern void PassThroughx(int token) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)token, EntryPoints[261]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelTransferxOES")] - public static + [Slot(265)] + public static extern void PixelTransferx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[265]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelZoomxOES")] - public static + [Slot(266)] + public static extern void PixelZoomx(int xfactor, int yfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)xfactor, (int)yfactor, EntryPoints[266]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxOES")] - public static + [Slot(270)] + public static extern void PointParameterx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[270]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxvOES")] - public static + [Slot(272)] + public static extern void PointParameterx(OpenTK.Graphics.ES11.All pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[272]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxvOES")] - public static + [Slot(272)] + public static extern unsafe void PointParameterx(OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[272]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_point_size_array] [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")] - public static + [Slot(274)] + public static extern void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer, EntryPoints[274]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_point_size_array] [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[274]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_point_size_array] [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[274]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_point_size_array] [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[274]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_point_size_array] [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[274]); - 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 + [Slot(276)] + public static extern void PointSizex(int size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)size, EntryPoints[276]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPolygonOffsetxOES")] - public static + [Slot(279)] + public static extern void PolygonOffsetx(int factor, int units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)factor, (int)units, EntryPoints[279]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static + [Slot(281)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[281]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static + [Slot(281)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[281]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static + [Slot(281)] + public static extern unsafe void PrioritizeTexturesx(Int32 n, Int32* textures, int* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, (IntPtr)priorities, EntryPoints[281]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static + [Slot(281)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[281]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static + [Slot(281)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[281]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static + [Slot(281)] + public static extern unsafe void PrioritizeTexturesx(Int32 n, UInt32* textures, int* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, (IntPtr)priorities, EntryPoints[281]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_query_matrix] [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")] - public static + [Slot(283)] + public static extern 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 InteropHelper.CallReturn((IntPtr)mantissa_ptr, (IntPtr)exponent_ptr, EntryPoints[283]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_query_matrix] [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")] - public static + [Slot(283)] + public static extern 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 = InteropHelper.CallReturn((IntPtr)mantissa_ptr, (IntPtr)exponent_ptr, EntryPoints[283]); - mantissa = *mantissa_ptr; - exponent = *exponent_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_query_matrix] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")] - public static + [Slot(283)] + public static extern unsafe Int32 QueryMatrixx([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)mantissa, (IntPtr)exponent, EntryPoints[283]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xOES")] - public static + [Slot(284)] + public static extern void RasterPos2x(int x, int y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, EntryPoints[284]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")] - public static + [Slot(285)] + public static extern void RasterPos2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[285]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")] - public static + [Slot(285)] + public static extern void RasterPos2x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[285]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")] - public static + [Slot(285)] + public static extern unsafe void RasterPos2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[285]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xOES")] - public static + [Slot(286)] + public static extern void RasterPos3x(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, (int)z, EntryPoints[286]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")] - public static + [Slot(287)] + public static extern void RasterPos3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[287]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")] - public static + [Slot(287)] + public static extern void RasterPos3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[287]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")] - public static + [Slot(287)] + public static extern unsafe void RasterPos3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[287]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xOES")] - public static + [Slot(288)] + public static extern void RasterPos4x(int x, int y, int z, int w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, (int)z, (int)w, EntryPoints[288]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")] - public static + [Slot(289)] + public static extern void RasterPos4x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[289]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")] - public static + [Slot(289)] + public static extern void RasterPos4x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[289]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")] - public static + [Slot(289)] + public static extern unsafe void RasterPos4x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[289]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxOES")] - public static + [Slot(292)] + public static extern void Rectx(int x1, int y1, int x2, int y2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x1, (int)y1, (int)x2, (int)y2, EntryPoints[292]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")] - public static + [Slot(293)] + public static extern 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) - { - InteropHelper.Call((IntPtr)v1_ptr, (IntPtr)v2_ptr, EntryPoints[293]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")] - public static + [Slot(293)] + public static extern 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) - { - InteropHelper.Call((IntPtr)v1_ptr, (IntPtr)v2_ptr, EntryPoints[293]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")] - public static + [Slot(293)] + public static extern unsafe void Rectx(int* v1, int* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v1, (IntPtr)v2, EntryPoints[293]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_framebuffer_object] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -26747,33 +17456,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glRenderbufferStorageOES")] - public static + [Slot(297)] + public static extern void RenderbufferStorage(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, EntryPoints[297]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRotatexOES")] - public static + [Slot(301)] + public static extern void Rotatex(int angle, int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)angle, (int)x, (int)y, (int)z, EntryPoints[301]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] /// Specify multisample coverage parameters @@ -26789,48 +17484,27 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glSampleCoverageOES")] - public static + [Slot(303)] + public static extern void SampleCoverage(int value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)value, (bool)invert, EntryPoints[303]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glSampleCoveragexOES")] - public static + [Slot(305)] + public static extern void SampleCoveragex(int value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)value, (bool)invert, EntryPoints[305]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glScalexOES")] - public static + [Slot(308)] + public static extern void Scalex(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, (int)z, EntryPoints[308]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26841,18 +17515,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bOES")] - public static + [Slot(317)] + public static extern void TexCoord1(Byte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, EntryPoints[317]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26864,18 +17531,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bOES")] - public static + [Slot(317)] + public static extern void TexCoord1(SByte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, EntryPoints[317]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26887,18 +17547,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bvOES")] - public static + [Slot(318)] + public static extern unsafe void TexCoord1(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[318]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26910,49 +17563,28 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bvOES")] - public static + [Slot(318)] + public static extern unsafe void TexCoord1(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[318]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord1xOES")] - public static + [Slot(319)] + public static extern void TexCoord1x(int s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)s, EntryPoints[319]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord1xvOES")] - public static + [Slot(320)] + public static extern unsafe void TexCoord1x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[320]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26963,18 +17595,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bOES")] - public static + [Slot(321)] + public static extern void TexCoord2(Byte s, Byte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, (SByte)t, EntryPoints[321]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26986,18 +17611,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bOES")] - public static + [Slot(321)] + public static extern void TexCoord2(SByte s, SByte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, (SByte)t, EntryPoints[321]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27008,24 +17626,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static + [Slot(322)] + public static extern void TexCoord2(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[322]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27036,24 +17641,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static + [Slot(322)] + public static extern void TexCoord2(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[322]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27065,18 +17657,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static + [Slot(322)] + public static extern unsafe void TexCoord2(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[322]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27088,24 +17673,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static + [Slot(322)] + public static extern void TexCoord2(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[322]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27117,24 +17689,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static + [Slot(322)] + public static extern void TexCoord2(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[322]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27146,91 +17705,44 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static + [Slot(322)] + public static extern unsafe void TexCoord2(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[322]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xOES")] - public static + [Slot(323)] + public static extern void TexCoord2x(int s, int t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)s, (int)t, EntryPoints[323]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")] - public static + [Slot(324)] + public static extern void TexCoord2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[324]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")] - public static + [Slot(324)] + public static extern void TexCoord2x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[324]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")] - public static + [Slot(324)] + public static extern unsafe void TexCoord2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[324]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27241,18 +17753,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bOES")] - public static + [Slot(325)] + public static extern void TexCoord3(Byte s, Byte t, Byte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, (SByte)t, (SByte)r, EntryPoints[325]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27264,18 +17769,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bOES")] - public static + [Slot(325)] + public static extern void TexCoord3(SByte s, SByte t, SByte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, (SByte)t, (SByte)r, EntryPoints[325]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27286,24 +17784,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static + [Slot(326)] + public static extern void TexCoord3(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[326]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27314,24 +17799,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static + [Slot(326)] + public static extern void TexCoord3(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[326]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27343,18 +17815,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static + [Slot(326)] + public static extern unsafe void TexCoord3(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[326]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27366,24 +17831,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static + [Slot(326)] + public static extern void TexCoord3(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[326]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27395,24 +17847,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static + [Slot(326)] + public static extern void TexCoord3(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[326]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27424,91 +17863,44 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static + [Slot(326)] + public static extern unsafe void TexCoord3(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[326]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xOES")] - public static + [Slot(327)] + public static extern void TexCoord3x(int s, int t, int r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)s, (int)t, (int)r, EntryPoints[327]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")] - public static + [Slot(328)] + public static extern void TexCoord3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[328]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")] - public static + [Slot(328)] + public static extern void TexCoord3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[328]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")] - public static + [Slot(328)] + public static extern unsafe void TexCoord3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[328]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27519,18 +17911,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bOES")] - public static + [Slot(329)] + public static extern void TexCoord4(Byte s, Byte t, Byte r, Byte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, (SByte)t, (SByte)r, (SByte)q, EntryPoints[329]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27542,18 +17927,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bOES")] - public static + [Slot(329)] + public static extern void TexCoord4(SByte s, SByte t, SByte r, SByte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, (SByte)t, (SByte)r, (SByte)q, EntryPoints[329]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27564,24 +17942,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static + [Slot(330)] + public static extern void TexCoord4(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[330]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27592,24 +17957,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static + [Slot(330)] + public static extern void TexCoord4(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[330]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27621,18 +17973,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static + [Slot(330)] + public static extern unsafe void TexCoord4(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[330]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27644,24 +17989,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static + [Slot(330)] + public static extern void TexCoord4(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[330]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27673,24 +18005,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static + [Slot(330)] + public static extern void TexCoord4(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[330]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27702,143 +18021,69 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static + [Slot(330)] + public static extern unsafe void TexCoord4(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[330]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xOES")] - public static + [Slot(331)] + public static extern void TexCoord4x(int s, int t, int r, int q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)s, (int)t, (int)r, (int)q, EntryPoints[331]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")] - public static + [Slot(332)] + public static extern void TexCoord4x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[332]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")] - public static + [Slot(332)] + public static extern void TexCoord4x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[332]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")] - public static + [Slot(332)] + public static extern unsafe void TexCoord4x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[332]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxOES")] - public static + [Slot(339)] + public static extern void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[339]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxvOES")] - public static + [Slot(341)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[341]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxvOES")] - public static + [Slot(341)] + public static extern unsafe void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[341]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_cube_map] /// Control the generation of texture coordinates @@ -27859,18 +18104,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenfOES")] - public static + [Slot(342)] + public static extern void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single)param, EntryPoints[342]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_cube_map] /// Control the generation of texture coordinates @@ -27891,24 +18129,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenfvOES")] - public static + [Slot(343)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[343]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_cube_map] /// Control the generation of texture coordinates @@ -27930,18 +18155,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenfvOES")] - public static + [Slot(343)] + public static extern unsafe void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[343]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_cube_map] /// Control the generation of texture coordinates @@ -27962,18 +18180,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGeniOES")] - public static + [Slot(344)] + public static extern void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32)param, EntryPoints[344]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_cube_map] /// Control the generation of texture coordinates @@ -27994,24 +18205,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenivOES")] - public static + [Slot(345)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[345]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_cube_map] /// Control the generation of texture coordinates @@ -28033,152 +18231,77 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenivOES")] - public static + [Slot(345)] + public static extern unsafe void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[345]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point|OES_texture_cube_map] [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glTexGenxOES")] - public static + [Slot(346)] + public static extern void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[346]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point|OES_texture_cube_map] [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glTexGenxvOES")] - public static + [Slot(347)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[347]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(347)] + public static extern unsafe void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[347]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxOES")] - public static + [Slot(354)] + public static extern void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param, EntryPoints[354]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxvOES")] - public static + [Slot(356)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[356]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxvOES")] - public static + [Slot(356)] + public static extern unsafe void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[356]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTranslatexOES")] - public static + [Slot(366)] + public static extern void Translatex(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, (int)z, EntryPoints[366]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glUnmapBufferOES")] - public static + [Slot(367)] + public static extern bool UnmapBuffer(OpenTK.Graphics.ES11.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES11.All)target, EntryPoints[367]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28189,18 +18312,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bOES")] - public static + [Slot(368)] + public static extern void Vertex2(Byte x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)x, EntryPoints[368]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28212,18 +18328,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bOES")] - public static + [Slot(368)] + public static extern void Vertex2(SByte x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)x, EntryPoints[368]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28234,24 +18343,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static + [Slot(369)] + public static extern void Vertex2(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[369]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28263,18 +18359,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static + [Slot(369)] + public static extern unsafe void Vertex2(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[369]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28286,24 +18375,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static + [Slot(369)] + public static extern void Vertex2(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[369]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28315,70 +18391,36 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static + [Slot(369)] + public static extern unsafe void Vertex2(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[369]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xOES")] - public static + [Slot(370)] + public static extern void Vertex2x(int x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, EntryPoints[370]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xvOES")] - public static + [Slot(371)] + public static extern void Vertex2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[371]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xvOES")] - public static + [Slot(371)] + public static extern unsafe void Vertex2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[371]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28389,18 +18431,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bOES")] - public static + [Slot(372)] + public static extern void Vertex3(Byte x, Byte y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)x, (SByte)y, EntryPoints[372]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28412,18 +18447,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bOES")] - public static + [Slot(372)] + public static extern void Vertex3(SByte x, SByte y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)x, (SByte)y, EntryPoints[372]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28434,24 +18462,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static + [Slot(373)] + public static extern void Vertex3(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[373]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28462,24 +18477,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static + [Slot(373)] + public static extern void Vertex3(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[373]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28491,18 +18493,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static + [Slot(373)] + public static extern unsafe void Vertex3(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[373]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28514,24 +18509,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static + [Slot(373)] + public static extern void Vertex3(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[373]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28543,24 +18525,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static + [Slot(373)] + public static extern void Vertex3(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[373]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28572,91 +18541,44 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static + [Slot(373)] + public static extern unsafe void Vertex3(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[373]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xOES")] - public static + [Slot(374)] + public static extern void Vertex3x(int x, int y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, EntryPoints[374]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")] - public static + [Slot(375)] + public static extern void Vertex3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[375]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")] - public static + [Slot(375)] + public static extern void Vertex3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[375]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")] - public static + [Slot(375)] + public static extern unsafe void Vertex3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[375]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28667,18 +18589,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bOES")] - public static + [Slot(376)] + public static extern void Vertex4(Byte x, Byte y, Byte z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)x, (SByte)y, (SByte)z, EntryPoints[376]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28690,18 +18605,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bOES")] - public static + [Slot(376)] + public static extern void Vertex4(SByte x, SByte y, SByte z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)x, (SByte)y, (SByte)z, EntryPoints[376]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28712,24 +18620,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static + [Slot(377)] + public static extern void Vertex4(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[377]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28740,24 +18635,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static + [Slot(377)] + public static extern void Vertex4(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[377]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28769,18 +18651,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static + [Slot(377)] + public static extern unsafe void Vertex4(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[377]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28792,24 +18667,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static + [Slot(377)] + public static extern void Vertex4(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[377]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28821,24 +18683,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static + [Slot(377)] + public static extern void Vertex4(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[377]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28850,203 +18699,88 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static + [Slot(377)] + public static extern unsafe void Vertex4(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[377]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xOES")] - public static + [Slot(378)] + public static extern void Vertex4x(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, (int)z, EntryPoints[378]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")] - public static + [Slot(379)] + public static extern void Vertex4x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[379]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")] - public static + [Slot(379)] + public static extern void Vertex4x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[379]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")] - public static + [Slot(379)] + public static extern unsafe void Vertex4x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[379]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")] - public static + [Slot(383)] + public static extern void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer, EntryPoints[383]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")] - public static + [Slot(383)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[383]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")] - public static + [Slot(383)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[383]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")] - public static + [Slot(383)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[383]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")] - public static + [Slot(383)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[383]); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + } @@ -29054,1639 +18788,704 @@ namespace OpenTK.Graphics.ES11 { /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")] - public static + [Slot(71)] + public static extern void DisableDriverControl(Int32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, EntryPoints[71]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")] - public static + [Slot(71)] + public static extern void DisableDriverControl(UInt32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, EntryPoints[71]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")] - public static + [Slot(87)] + public static extern void EnableDriverControl(Int32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, EntryPoints[87]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")] - public static + [Slot(87)] + public static extern void EnableDriverControl(UInt32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, EntryPoints[87]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_tiled_rendering] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")] - public static + [Slot(88)] + public static extern void EndTiling(Int32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)preserveMask, EntryPoints[88]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_tiled_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")] - public static + [Slot(88)] + public static extern void EndTiling(UInt32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)preserveMask, EntryPoints[88]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(93)] + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES11.All target, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)@params, EntryPoints[93]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(93)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[93]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(93)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[93]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(93)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[93]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(93)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[93]); - @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 + [Slot(94)] + public static extern 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) - { - InteropHelper.Call((IntPtr)buffers_ptr, (Int32)maxBuffers, (IntPtr)numBuffers_ptr, EntryPoints[94]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(94)] + public static extern 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) - { - InteropHelper.Call((IntPtr)buffers_ptr, (Int32)maxBuffers, (IntPtr)numBuffers_ptr, EntryPoints[94]); - buffers = *buffers_ptr; - numBuffers = *numBuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(94)] + public static extern unsafe void ExtGetBuffers([OutAttribute] Int32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)buffers, (Int32)maxBuffers, (IntPtr)numBuffers, EntryPoints[94]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(94)] + public static extern 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) - { - InteropHelper.Call((IntPtr)buffers_ptr, (Int32)maxBuffers, (IntPtr)numBuffers_ptr, EntryPoints[94]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(94)] + public static extern 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) - { - InteropHelper.Call((IntPtr)buffers_ptr, (Int32)maxBuffers, (IntPtr)numBuffers_ptr, EntryPoints[94]); - buffers = *buffers_ptr; - numBuffers = *numBuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(94)] + public static extern unsafe void ExtGetBuffers([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)buffers, (Int32)maxBuffers, (IntPtr)numBuffers, EntryPoints[94]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(95)] + public static extern 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) - { - InteropHelper.Call((IntPtr)framebuffers_ptr, (Int32)maxFramebuffers, (IntPtr)numFramebuffers_ptr, EntryPoints[95]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(95)] + public static extern 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) - { - InteropHelper.Call((IntPtr)framebuffers_ptr, (Int32)maxFramebuffers, (IntPtr)numFramebuffers_ptr, EntryPoints[95]); - framebuffers = *framebuffers_ptr; - numFramebuffers = *numFramebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(95)] + public static extern unsafe void ExtGetFramebuffers([OutAttribute] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)framebuffers, (Int32)maxFramebuffers, (IntPtr)numFramebuffers, EntryPoints[95]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(95)] + public static extern 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) - { - InteropHelper.Call((IntPtr)framebuffers_ptr, (Int32)maxFramebuffers, (IntPtr)numFramebuffers_ptr, EntryPoints[95]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(95)] + public static extern 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) - { - InteropHelper.Call((IntPtr)framebuffers_ptr, (Int32)maxFramebuffers, (IntPtr)numFramebuffers_ptr, EntryPoints[95]); - framebuffers = *framebuffers_ptr; - numFramebuffers = *numFramebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(95)] + public static extern unsafe void ExtGetFramebuffers([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)framebuffers, (Int32)maxFramebuffers, (IntPtr)numFramebuffers, EntryPoints[95]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(96)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (IntPtr)length_ptr, EntryPoints[96]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(96)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (IntPtr)length_ptr, EntryPoints[96]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(96)] + public static extern unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (IntPtr)length, EntryPoints[96]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(96)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (IntPtr)length_ptr, EntryPoints[96]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(96)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (IntPtr)length_ptr, EntryPoints[96]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(96)] + public static extern unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (IntPtr)length, EntryPoints[96]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(97)] + public static extern 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) - { - InteropHelper.Call((IntPtr)programs_ptr, (Int32)maxPrograms, (IntPtr)numPrograms_ptr, EntryPoints[97]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(97)] + public static extern 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) - { - InteropHelper.Call((IntPtr)programs_ptr, (Int32)maxPrograms, (IntPtr)numPrograms_ptr, EntryPoints[97]); - programs = *programs_ptr; - numPrograms = *numPrograms_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(97)] + public static extern unsafe void ExtGetProgram([OutAttribute] Int32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)programs, (Int32)maxPrograms, (IntPtr)numPrograms, EntryPoints[97]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(97)] + public static extern 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) - { - InteropHelper.Call((IntPtr)programs_ptr, (Int32)maxPrograms, (IntPtr)numPrograms_ptr, EntryPoints[97]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(97)] + public static extern 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) - { - InteropHelper.Call((IntPtr)programs_ptr, (Int32)maxPrograms, (IntPtr)numPrograms_ptr, EntryPoints[97]); - programs = *programs_ptr; - numPrograms = *numPrograms_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(97)] + public static extern unsafe void ExtGetProgram([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)programs, (Int32)maxPrograms, (IntPtr)numPrograms, EntryPoints[97]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(98)] + public static extern 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) - { - InteropHelper.Call((IntPtr)renderbuffers_ptr, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers_ptr, EntryPoints[98]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(98)] + public static extern 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) - { - InteropHelper.Call((IntPtr)renderbuffers_ptr, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers_ptr, EntryPoints[98]); - renderbuffers = *renderbuffers_ptr; - numRenderbuffers = *numRenderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(98)] + public static extern unsafe void ExtGetRenderbuffers([OutAttribute] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)renderbuffers, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers, EntryPoints[98]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(98)] + public static extern 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) - { - InteropHelper.Call((IntPtr)renderbuffers_ptr, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers_ptr, EntryPoints[98]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(98)] + public static extern 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) - { - InteropHelper.Call((IntPtr)renderbuffers_ptr, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers_ptr, EntryPoints[98]); - renderbuffers = *renderbuffers_ptr; - numRenderbuffers = *numRenderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(98)] + public static extern unsafe void ExtGetRenderbuffers([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)renderbuffers, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers, EntryPoints[98]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(99)] + public static extern 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) - { - InteropHelper.Call((IntPtr)shaders_ptr, (Int32)maxShaders, (IntPtr)numShaders_ptr, EntryPoints[99]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(99)] + public static extern 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) - { - InteropHelper.Call((IntPtr)shaders_ptr, (Int32)maxShaders, (IntPtr)numShaders_ptr, EntryPoints[99]); - shaders = *shaders_ptr; - numShaders = *numShaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(99)] + public static extern unsafe void ExtGetShaders([OutAttribute] Int32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)shaders, (Int32)maxShaders, (IntPtr)numShaders, EntryPoints[99]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(99)] + public static extern 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) - { - InteropHelper.Call((IntPtr)shaders_ptr, (Int32)maxShaders, (IntPtr)numShaders_ptr, EntryPoints[99]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(99)] + public static extern 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) - { - InteropHelper.Call((IntPtr)shaders_ptr, (Int32)maxShaders, (IntPtr)numShaders_ptr, EntryPoints[99]); - shaders = *shaders_ptr; - numShaders = *numShaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(99)] + public static extern unsafe void ExtGetShaders([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)shaders, (Int32)maxShaders, (IntPtr)numShaders, EntryPoints[99]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(100)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[100]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(100)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[100]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(100)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[100]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(100)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[100]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(100)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr, EntryPoints[100]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(100)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params, EntryPoints[100]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(101)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[101]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(101)] + 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 - { - InteropHelper.Call((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(), EntryPoints[101]); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(101)] + 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 - { - InteropHelper.Call((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(), EntryPoints[101]); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(101)] + 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 - { - InteropHelper.Call((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(), EntryPoints[101]); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(101)] + 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 - { - InteropHelper.Call((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(), EntryPoints[101]); - 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 + [Slot(102)] + public static extern 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) - { - InteropHelper.Call((IntPtr)textures_ptr, (Int32)maxTextures, (IntPtr)numTextures_ptr, EntryPoints[102]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(102)] + public static extern 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) - { - InteropHelper.Call((IntPtr)textures_ptr, (Int32)maxTextures, (IntPtr)numTextures_ptr, EntryPoints[102]); - textures = *textures_ptr; - numTextures = *numTextures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(102)] + public static extern unsafe void ExtGetTextures([OutAttribute] Int32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)textures, (Int32)maxTextures, (IntPtr)numTextures, EntryPoints[102]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(102)] + public static extern 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) - { - InteropHelper.Call((IntPtr)textures_ptr, (Int32)maxTextures, (IntPtr)numTextures_ptr, EntryPoints[102]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(102)] + public static extern 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) - { - InteropHelper.Call((IntPtr)textures_ptr, (Int32)maxTextures, (IntPtr)numTextures_ptr, EntryPoints[102]); - textures = *textures_ptr; - numTextures = *numTextures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(102)] + public static extern unsafe void ExtGetTextures([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)textures, (Int32)maxTextures, (IntPtr)numTextures, EntryPoints[102]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")] - public static + [Slot(103)] + public static extern bool ExtIsProgramBinary(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[103]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")] - public static + [Slot(103)] + public static extern bool ExtIsProgramBinary(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[103]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtTexObjectStateOverrideiQCOM")] - public static + [Slot(104)] + public static extern void ExtTexObjectStateOverride(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32)param, EntryPoints[104]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(141)] + public static extern 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) - { - InteropHelper.Call((IntPtr)num_ptr, (Int32)size, (IntPtr)driverControls_ptr, EntryPoints[141]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(141)] + public static extern 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) - { - InteropHelper.Call((IntPtr)num_ptr, (Int32)size, (IntPtr)driverControls_ptr, EntryPoints[141]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(141)] + public static extern 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) - { - InteropHelper.Call((IntPtr)num_ptr, (Int32)size, (IntPtr)driverControls_ptr, EntryPoints[141]); - num = *num_ptr; - driverControls = *driverControls_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(141)] + public static extern 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) - { - InteropHelper.Call((IntPtr)num_ptr, (Int32)size, (IntPtr)driverControls_ptr, EntryPoints[141]); - num = *num_ptr; - driverControls = *driverControls_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(141)] + public static extern unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] Int32* driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)num, (Int32)size, (IntPtr)driverControls, EntryPoints[141]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(141)] + public static extern unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)num, (Int32)size, (IntPtr)driverControls, EntryPoints[141]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(142)] + public static extern 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) - { - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)driverControlString, EntryPoints[142]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(142)] + public static extern 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) - { - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)driverControlString, EntryPoints[142]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(142)] + public static extern unsafe void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length, (StringBuilder)driverControlString, EntryPoints[142]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(142)] + public static extern 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) - { - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)driverControlString, EntryPoints[142]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(142)] + public static extern 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) - { - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)driverControlString, EntryPoints[142]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(142)] + public static extern unsafe void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length, (StringBuilder)driverControlString, EntryPoints[142]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_tiled_rendering] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")] - public static + [Slot(312)] + public static extern void StartTiling(Int32 x, Int32 y, Int32 width, Int32 height, Int32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask, EntryPoints[312]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_tiled_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")] - public static + [Slot(312)] + public static extern void StartTiling(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask, EntryPoints[312]); - #if DEBUG - } - #endif - } + ; + } diff --git a/Source/OpenTK/Graphics/ES20/ES20.cs b/Source/OpenTK/Graphics/ES20/ES20.cs index 29d0d2cb..46468313 100644 --- a/Source/OpenTK/Graphics/ES20/ES20.cs +++ b/Source/OpenTK/Graphics/ES20/ES20.cs @@ -34,6 +34,7 @@ namespace OpenTK.Graphics.ES20 #pragma warning disable 1591 #pragma warning disable 1572 #pragma warning disable 1573 + #pragma warning disable 626 partial class GL { @@ -391,1261 +392,537 @@ namespace OpenTK.Graphics.ES20 { /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")] - public static + [Slot(5)] + public static extern void BeginPerfMonitor(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, EntryPoints[5]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")] - public static + [Slot(5)] + public static extern void BeginPerfMonitor(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, EntryPoints[5]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(59)] + public static extern void DeletePerfMonitor(Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* monitors_ptr = (UInt32*)&monitors; - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[59]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(59)] + public static extern void DeletePerfMonitor(UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* monitors_ptr = (UInt32*)&monitors; - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[59]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(59)] + public static extern void DeletePerfMonitors(Int32 n, Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[59]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(59)] + public static extern void DeletePerfMonitors(Int32 n, ref Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[59]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(59)] + public static extern unsafe void DeletePerfMonitors(Int32 n, Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)monitors, EntryPoints[59]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(59)] + public static extern void DeletePerfMonitors(Int32 n, UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[59]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(59)] + public static extern void DeletePerfMonitors(Int32 n, ref UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[59]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(59)] + public static extern unsafe void DeletePerfMonitors(Int32 n, UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)monitors, EntryPoints[59]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")] - public static + [Slot(92)] + public static extern void EndPerfMonitor(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, EntryPoints[92]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")] - public static + [Slot(92)] + public static extern void EndPerfMonitor(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, EntryPoints[92]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(122)] + public static extern Int32 GenPerfMonitor() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* monitors_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[122]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(122)] + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[122]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(122)] + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[122]); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(122)] + public static extern unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)monitors, EntryPoints[122]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(122)] + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[122]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(122)] + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[122]); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(122)] + public static extern unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)monitors, EntryPoints[122]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(154)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (IntPtr)data_ptr, (IntPtr)bytesWritten_ptr, EntryPoints[154]); - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(154)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (IntPtr)data_ptr, (IntPtr)bytesWritten_ptr, EntryPoints[154]); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(154)] + public static extern 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 - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (IntPtr)data, (IntPtr)bytesWritten, EntryPoints[154]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(154)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (IntPtr)data_ptr, (IntPtr)bytesWritten_ptr, EntryPoints[154]); - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(154)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (IntPtr)data_ptr, (IntPtr)bytesWritten_ptr, EntryPoints[154]); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(154)] + public static extern 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 - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (IntPtr)data, (IntPtr)bytesWritten, EntryPoints[154]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(155)] + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data, EntryPoints[155]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(155)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[155]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(155)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[155]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(155)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[155]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(155)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[155]); - 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 + [Slot(155)] + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data, EntryPoints[155]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(155)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[155]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(155)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[155]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(155)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[155]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(155)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[155]); - 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 + [Slot(156)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (IntPtr)numCounters_ptr, (IntPtr)maxActiveCounters_ptr, (Int32)counterSize, (IntPtr)counters_ptr, EntryPoints[156]); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(156)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (IntPtr)numCounters_ptr, (IntPtr)maxActiveCounters_ptr, (Int32)counterSize, (IntPtr)counters_ptr, EntryPoints[156]); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(156)] + public static extern unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (IntPtr)numCounters, (IntPtr)maxActiveCounters, (Int32)counterSize, (IntPtr)counters, EntryPoints[156]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(156)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (IntPtr)numCounters_ptr, (IntPtr)maxActiveCounters_ptr, (Int32)counterSize, (IntPtr)counters_ptr, EntryPoints[156]); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(156)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (IntPtr)numCounters_ptr, (IntPtr)maxActiveCounters_ptr, (Int32)counterSize, (IntPtr)counters_ptr, EntryPoints[156]); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(156)] + public static extern unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (IntPtr)numCounters, (IntPtr)maxActiveCounters, (Int32)counterSize, (IntPtr)counters, EntryPoints[156]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static + [Slot(157)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)counterString, EntryPoints[157]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static + [Slot(157)] + public static extern unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (UInt32)counter, (Int32)bufSize, (IntPtr)length, (StringBuilder)counterString, EntryPoints[157]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static + [Slot(157)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)counterString, EntryPoints[157]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static + [Slot(157)] + public static extern unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (UInt32)counter, (Int32)bufSize, (IntPtr)length, (StringBuilder)counterString, EntryPoints[157]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(158)] + public static extern 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) - { - InteropHelper.Call((IntPtr)numGroups_ptr, (Int32)groupsSize, (IntPtr)groups_ptr, EntryPoints[158]); - numGroups = *numGroups_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(158)] + public static extern 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) - { - InteropHelper.Call((IntPtr)numGroups_ptr, (Int32)groupsSize, (IntPtr)groups_ptr, EntryPoints[158]); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(158)] + public static extern 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) - { - InteropHelper.Call((IntPtr)numGroups_ptr, (Int32)groupsSize, (IntPtr)groups_ptr, EntryPoints[158]); - numGroups = *numGroups_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(158)] + public static extern 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) - { - InteropHelper.Call((IntPtr)numGroups_ptr, (Int32)groupsSize, (IntPtr)groups_ptr, EntryPoints[158]); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(158)] + public static extern unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)numGroups, (Int32)groupsSize, (IntPtr)groups, EntryPoints[158]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(158)] + public static extern unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)numGroups, (Int32)groupsSize, (IntPtr)groups, EntryPoints[158]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static + [Slot(159)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)groupString, EntryPoints[159]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static + [Slot(159)] + public static extern unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (Int32)bufSize, (IntPtr)length, (StringBuilder)groupString, EntryPoints[159]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static + [Slot(159)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)groupString, EntryPoints[159]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static + [Slot(159)] + public static extern unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (Int32)bufSize, (IntPtr)length, (StringBuilder)groupString, EntryPoints[159]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(271)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList_ptr, EntryPoints[271]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(271)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList_ptr, EntryPoints[271]); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(271)] + public static extern unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList, EntryPoints[271]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(271)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList_ptr, EntryPoints[271]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(271)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList_ptr, EntryPoints[271]); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(271)] + public static extern unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList, EntryPoints[271]); - #if DEBUG - } - #endif - } + ; + } @@ -1676,18 +953,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")] - public static + [Slot(22)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[22]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -1713,18 +983,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")] - public static + [Slot(22)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[22]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a range of elements @@ -1751,18 +1014,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedANGLE")] - public static + [Slot(77)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES20.All mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount, EntryPoints[77]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a range of elements @@ -1788,18 +1044,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedANGLE")] - public static + [Slot(77)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount, EntryPoints[77]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1831,18 +1080,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(84)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[84]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1874,27 +1116,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(84)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[84]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1926,27 +1153,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(84)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[84]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1978,27 +1190,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(84)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[84]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2030,28 +1227,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(84)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[84]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2082,18 +1263,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(84)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[84]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2124,27 +1298,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(84)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[84]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2175,27 +1334,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(84)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[84]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2226,27 +1370,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(84)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[84]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2277,148 +1406,64 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(84)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[84]); - 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 + [Slot(181)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[181]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_translated_shader_source] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static + [Slot(181)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[181]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static + [Slot(181)] + public static extern unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufsize, (IntPtr)length, (StringBuilder)source, EntryPoints[181]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static + [Slot(181)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[181]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static + [Slot(181)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[181]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static + [Slot(181)] + public static extern unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufsize, (IntPtr)length, (StringBuilder)source, EntryPoints[181]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -2450,18 +1495,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleANGLE")] - public static + [Slot(263)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[263]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -2492,18 +1530,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleANGLE")] - public static + [Slot(263)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[263]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -2519,18 +1550,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorANGLE")] - public static + [Slot(336)] + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[336]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -2547,18 +1571,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorANGLE")] - public static + [Slot(336)] + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[336]); - #if DEBUG - } - #endif - } + ; + } @@ -2583,18 +1600,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static + [Slot(31)] + public static extern OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.ES20.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[31]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -2617,18 +1627,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static + [Slot(31)] + public static extern OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.ES20.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[31]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -2649,18 +1652,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static + [Slot(31)] + public static extern OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.ClientWaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.ES20.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[31]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -2682,49 +1678,28 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static + [Slot(31)] + public static extern OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.ClientWaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.ES20.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[31]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_copy_texture_levels] [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")] - public static + [Slot(42)] + public static extern void CopyTextureLevel(Int32 destinationTexture, Int32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount, EntryPoints[42]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_copy_texture_levels] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")] - public static + [Slot(42)] + public static extern void CopyTextureLevel(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount, EntryPoints[42]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Delete a sync object @@ -2735,18 +1710,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glDeleteSyncAPPLE")] - public static + [Slot(65)] + public static extern void DeleteSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, EntryPoints[65]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Create a new sync object and insert it into the GL command stream @@ -2763,18 +1731,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")] - public static + [Slot(107)] + public static extern IntPtr FenceSync(OpenTK.Graphics.ES20.All condition, OpenTK.Graphics.ES20.All flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.SyncCondition)condition, (OpenTK.Graphics.ES20.WaitSyncFlags)flags, EntryPoints[107]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Create a new sync object and insert it into the GL command stream @@ -2790,182 +1751,81 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")] - public static + [Slot(107)] + public static extern IntPtr FenceSync(OpenTK.Graphics.ES20.SyncCondition condition, OpenTK.Graphics.ES20.WaitSyncFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.SyncCondition)condition, (OpenTK.Graphics.ES20.WaitSyncFlags)flags, EntryPoints[107]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(144)] + public static extern Int64 GetInteger64(OpenTK.Graphics.ES20.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* @params_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)@params_ptr, EntryPoints[144]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(144)] + public static extern Int64 GetInteger64(OpenTK.Graphics.ES20.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* @params_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)@params_ptr, EntryPoints[144]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(144)] + public static extern void GetInteger64(OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)@params_ptr, EntryPoints[144]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(144)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)@params_ptr, EntryPoints[144]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(144)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)@params, EntryPoints[144]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(144)] + public static extern void GetInteger64(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)@params_ptr, EntryPoints[144]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(144)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)@params_ptr, EntryPoints[144]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(144)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)@params, EntryPoints[144]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -2997,25 +1857,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(178)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[178]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -3047,27 +1893,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(178)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[178]); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -3100,18 +1930,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(178)] + public static extern 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 - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length, (IntPtr)values, EntryPoints[178]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -3142,25 +1965,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(178)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[178]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -3191,27 +2000,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(178)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[178]); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -3243,18 +2036,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(178)] + public static extern 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 - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length, (IntPtr)values, EntryPoints[178]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Determine if a name corresponds to a sync object @@ -3265,18 +2051,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glIsSyncAPPLE")] - public static + [Slot(199)] + public static extern bool IsSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, EntryPoints[199]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -3308,18 +2087,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")] - public static + [Slot(264)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[264]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -3350,33 +2122,19 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")] - public static + [Slot(264)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[264]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_framebuffer_multisample] [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glResolveMultisampleFramebufferAPPLE")] - public static + [Slot(268)] + public static extern void ResolveMultisampleFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[268]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3397,18 +2155,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static + [Slot(341)] + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES20.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[341]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3431,18 +2182,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static + [Slot(341)] + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES20.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[341]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3463,18 +2207,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static + [Slot(341)] + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.WaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES20.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[341]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3496,18 +2233,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static + [Slot(341)] + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.WaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES20.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[341]); - #if DEBUG - } - #endif - } + ; + } @@ -3521,18 +2251,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")] - public static + [Slot(2)] + public static extern void ActiveTexture(OpenTK.Graphics.ES20.All texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureUnit)texture, EntryPoints[2]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Select active texture unit @@ -3543,18 +2266,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")] - public static + [Slot(2)] + public static extern void ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureUnit)texture, EntryPoints[2]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attaches a shader object to a program object @@ -3570,18 +2286,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static + [Slot(4)] + public static extern void AttachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[4]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attaches a shader object to a program object @@ -3598,18 +2307,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static + [Slot(4)] + public static extern void AttachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[4]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Associates a generic vertex attribute index with a named attribute variable @@ -3630,18 +2332,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static + [Slot(7)] + public static extern void BindAttribLocation(Int32 program, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (String)name, EntryPoints[7]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Associates a generic vertex attribute index with a named attribute variable @@ -3663,18 +2358,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static + [Slot(7)] + public static extern void BindAttribLocation(UInt32 program, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (String)name, EntryPoints[7]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3690,18 +2378,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static + [Slot(8)] + public static extern void BindBuffer(OpenTK.Graphics.ES20.All target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3719,18 +2400,11 @@ 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 + [Slot(8)] + public static extern void BindBuffer(OpenTK.Graphics.ES20.All target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3746,18 +2420,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static + [Slot(8)] + public static extern void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3774,18 +2441,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static + [Slot(8)] + public static extern void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -3801,18 +2461,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static + [Slot(9)] + public static extern void BindFramebuffer(OpenTK.Graphics.ES20.All target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[9]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -3830,18 +2483,11 @@ 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 + [Slot(9)] + public static extern void BindFramebuffer(OpenTK.Graphics.ES20.All target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[9]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -3857,18 +2503,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static + [Slot(9)] + public static extern void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[9]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -3885,18 +2524,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static + [Slot(9)] + public static extern void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[9]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -3912,18 +2544,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static + [Slot(11)] + public static extern void BindRenderbuffer(OpenTK.Graphics.ES20.All target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[11]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -3941,18 +2566,11 @@ 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 + [Slot(11)] + public static extern void BindRenderbuffer(OpenTK.Graphics.ES20.All target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[11]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -3968,18 +2586,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static + [Slot(11)] + public static extern void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[11]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -3996,18 +2607,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static + [Slot(11)] + public static extern void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[11]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -4023,18 +2627,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static + [Slot(12)] + public static extern void BindTexture(OpenTK.Graphics.ES20.All target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture, EntryPoints[12]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -4052,18 +2649,11 @@ 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 + [Slot(12)] + public static extern void BindTexture(OpenTK.Graphics.ES20.All target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture, EntryPoints[12]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -4079,18 +2669,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static + [Slot(12)] + public static extern void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture, EntryPoints[12]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -4107,18 +2690,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static + [Slot(12)] + public static extern void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture, EntryPoints[12]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set the blend color @@ -4129,18 +2705,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendColor")] - public static + [Slot(15)] + public static extern void BlendColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, (Single)alpha, EntryPoints[15]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -4157,18 +2726,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquation")] - public static + [Slot(16)] + public static extern void BlendEquation(OpenTK.Graphics.ES20.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BlendEquationMode)mode, EntryPoints[16]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -4184,18 +2746,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquation")] - public static + [Slot(16)] + public static extern void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BlendEquationMode)mode, EntryPoints[16]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set the RGB blend equation and the alpha blend equation separately @@ -4217,18 +2772,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] - public static + [Slot(18)] + public static extern void BlendEquationSeparate(OpenTK.Graphics.ES20.All modeRGB, OpenTK.Graphics.ES20.All modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES20.BlendEquationMode)modeAlpha, EntryPoints[18]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set the RGB blend equation and the alpha blend equation separately @@ -4249,18 +2797,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] - public static + [Slot(18)] + public static extern void BlendEquationSeparate(OpenTK.Graphics.ES20.BlendEquationMode modeRGB, OpenTK.Graphics.ES20.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES20.BlendEquationMode)modeAlpha, EntryPoints[18]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic @@ -4282,18 +2823,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFunc")] - public static + [Slot(19)] + public static extern void BlendFunc(OpenTK.Graphics.ES20.All sfactor, OpenTK.Graphics.ES20.All dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactor, EntryPoints[19]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic @@ -4314,18 +2848,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFunc")] - public static + [Slot(19)] + public static extern void BlendFunc(OpenTK.Graphics.ES20.BlendingFactorSrc sfactor, OpenTK.Graphics.ES20.BlendingFactorDest dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactor, EntryPoints[19]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -4357,18 +2884,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")] - public static + [Slot(20)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES20.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactorAlpha, EntryPoints[20]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -4399,18 +2919,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")] - public static + [Slot(20)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES20.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactorAlpha, EntryPoints[20]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4437,18 +2950,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + public static extern void BufferData(OpenTK.Graphics.ES20.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.All usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4475,27 +2981,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4522,27 +3013,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4569,27 +3045,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4616,28 +3077,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - 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 @@ -4664,18 +3109,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use BufferUsageHint overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + public static extern void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4701,18 +3139,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + public static extern void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsageHint usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4739,27 +3170,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use BufferUsageHint overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4785,27 +3201,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4832,27 +3233,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use BufferUsageHint overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4878,27 +3264,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4925,27 +3296,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use BufferUsageHint overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4971,27 +3327,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5018,28 +3359,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use BufferUsageHint overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - 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 @@ -5065,28 +3390,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(24)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage, EntryPoints[24]); - 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 @@ -5113,18 +3422,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(25)] + public static extern void BufferSubData(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[25]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5151,27 +3453,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(25)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[25]); - } - 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 @@ -5198,27 +3485,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(25)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[25]); - } - 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 @@ -5245,27 +3517,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(25)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[25]); - } - 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 @@ -5292,28 +3549,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(25)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[25]); - 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 @@ -5339,18 +3580,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(25)] + public static extern void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[25]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5376,27 +3610,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(25)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[25]); - } - 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 @@ -5422,27 +3641,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(25)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[25]); - } - 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 @@ -5468,27 +3672,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(25)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[25]); - } - 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 @@ -5514,28 +3703,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(25)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[25]); - 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 @@ -5547,18 +3720,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")] - public static + [Slot(26)] + public static extern OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.FramebufferTarget)target, EntryPoints[26]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Check the completeness status of a framebuffer @@ -5569,18 +3735,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")] - public static + [Slot(26)] + public static extern OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.FramebufferTarget)target, EntryPoints[26]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Clear buffers to preset values @@ -5592,18 +3751,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClear")] - public static + [Slot(27)] + public static extern void Clear(OpenTK.Graphics.ES20.All mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.ClearBufferMask)mask, EntryPoints[27]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Clear buffers to preset values @@ -5614,18 +3766,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClear")] - public static + [Slot(27)] + public static extern void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.ClearBufferMask)mask, EntryPoints[27]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify clear values for the color buffers @@ -5636,18 +3781,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearColor")] - public static + [Slot(28)] + public static extern void ClearColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, (Single)alpha, EntryPoints[28]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the clear value for the depth buffer @@ -5658,18 +3796,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearDepthf")] - public static + [Slot(29)] + public static extern void ClearDepth(Single d) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)d, EntryPoints[29]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the clear value for the stencil buffer @@ -5680,18 +3811,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearStencil")] - public static + [Slot(30)] + public static extern void ClearStencil(Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)s, EntryPoints[30]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Enable and disable writing of frame buffer color components @@ -5707,18 +3831,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glColorMask")] - public static + [Slot(32)] + public static extern void ColorMask(bool red, bool green, bool blue, bool alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)red, (bool)green, (bool)blue, (bool)alpha, EntryPoints[32]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Compiles a shader object @@ -5729,18 +3846,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static + [Slot(33)] + public static extern void CompileShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[33]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Compiles a shader object @@ -5752,18 +3862,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static + [Slot(33)] + public static extern void CompileShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[33]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -5810,18 +3913,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[34]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -5868,27 +3964,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[34]); - } - 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 @@ -5935,27 +4016,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[34]); - } - 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 @@ -6002,27 +4068,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[34]); - } - 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 @@ -6069,28 +4120,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[34]); - 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 @@ -6137,18 +4172,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[34]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -6195,27 +4223,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[34]); - } - 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 @@ -6262,27 +4275,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[34]); - } - 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 @@ -6329,27 +4327,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[34]); - } - 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 @@ -6396,28 +4379,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[34]); - 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 @@ -6463,18 +4430,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[34]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -6520,27 +4480,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[34]); - } - 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 @@ -6586,27 +4531,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[34]); - } - 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 @@ -6652,27 +4582,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[34]); - } - 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 @@ -6718,28 +4633,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(34)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[34]); - 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 @@ -6791,18 +4690,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data, EntryPoints[36]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -6854,27 +4746,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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 - { - InteropHelper.Call((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(), EntryPoints[36]); - } - 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 @@ -6926,27 +4803,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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 - { - InteropHelper.Call((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(), EntryPoints[36]); - } - 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 @@ -6998,27 +4860,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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 - { - InteropHelper.Call((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(), EntryPoints[36]); - } - 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 @@ -7070,28 +4917,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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 - { - InteropHelper.Call((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(), EntryPoints[36]); - 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 @@ -7143,18 +4974,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data, EntryPoints[36]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -7206,27 +5030,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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 - { - InteropHelper.Call((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(), EntryPoints[36]); - } - 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 @@ -7278,27 +5087,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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 - { - InteropHelper.Call((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(), EntryPoints[36]); - } - 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 @@ -7350,27 +5144,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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 - { - InteropHelper.Call((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(), EntryPoints[36]); - } - 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 @@ -7422,28 +5201,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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 - { - InteropHelper.Call((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(), EntryPoints[36]); - 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 @@ -7494,18 +5257,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data, EntryPoints[36]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -7556,27 +5312,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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 - { - InteropHelper.Call((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(), EntryPoints[36]); - } - 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 @@ -7627,27 +5368,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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 - { - InteropHelper.Call((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(), EntryPoints[36]); - } - 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 @@ -7698,27 +5424,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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 - { - InteropHelper.Call((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(), EntryPoints[36]); - } - 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 @@ -7769,28 +5480,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(36)] + 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 - { - InteropHelper.Call((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(), EntryPoints[36]); - 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 @@ -7832,18 +5527,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")] - public static + [Slot(39)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border, EntryPoints[39]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Copy pixels into a 2D texture image @@ -7885,18 +5573,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d and TextureCopyComponentCount overloads instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")] - public static + [Slot(39)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border, EntryPoints[39]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Copy pixels into a 2D texture image @@ -7937,18 +5618,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")] - public static + [Slot(39)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border, EntryPoints[39]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Copy a two-dimensional texture subimage @@ -7990,18 +5664,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")] - public static + [Slot(40)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[40]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Copy a two-dimensional texture subimage @@ -8043,18 +5710,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")] - public static + [Slot(40)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[40]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Copy a two-dimensional texture subimage @@ -8095,35 +5755,21 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")] - public static + [Slot(40)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[40]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(45)] + public static extern Int32 CreateProgram() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn(EntryPoints[45]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates a shader object @@ -8135,18 +5781,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")] - public static + [Slot(46)] + public static extern Int32 CreateShader(OpenTK.Graphics.ES20.All type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.ShaderType)type, EntryPoints[46]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates a shader object @@ -8157,18 +5796,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")] - public static + [Slot(46)] + public static extern Int32 CreateShader(OpenTK.Graphics.ES20.ShaderType type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.ShaderType)type, EntryPoints[46]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify whether front- or back-facing facets can be culled @@ -8180,18 +5812,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCullFace")] - public static + [Slot(49)] + public static extern void CullFace(OpenTK.Graphics.ES20.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.CullFaceMode)mode, EntryPoints[49]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify whether front- or back-facing facets can be culled @@ -8202,18 +5827,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCullFace")] - public static + [Slot(49)] + public static extern void CullFace(OpenTK.Graphics.ES20.CullFaceMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.CullFaceMode)mode, EntryPoints[49]); - #if DEBUG - } - #endif - } + ; + /// /// Specify a callback to receive debugging messages from the GL @@ -8229,18 +5847,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(50)] + public static extern void DebugMessageCallback(DebugProc callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam, EntryPoints[50]); - #if DEBUG - } - #endif - } + ; + /// /// Specify a callback to receive debugging messages from the GL @@ -8256,27 +5867,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(50)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[50]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Specify a callback to receive debugging messages from the GL @@ -8292,27 +5888,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(50)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[50]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Specify a callback to receive debugging messages from the GL @@ -8328,27 +5909,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(50)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[50]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Specify a callback to receive debugging messages from the GL @@ -8364,28 +5930,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(50)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[50]); - userParam = (T1)userParam_ptr.Target; - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -8421,24 +5971,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[52]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -8474,24 +6011,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[52]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -8528,18 +6052,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[52]); - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -8577,24 +6094,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[52]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -8632,24 +6136,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[52]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -8687,18 +6178,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[52]); - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -8734,24 +6218,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[52]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -8787,24 +6258,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[52]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -8841,18 +6299,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[52]); - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -8889,24 +6340,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[52]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -8943,24 +6381,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[52]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -8997,18 +6422,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[52]); - #if DEBUG - } - #endif - } + ; + /// /// Inject an application-supplied message into the debug message queue @@ -9044,18 +6462,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static + [Slot(54)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[54]); - #if DEBUG - } - #endif - } + ; + /// /// Inject an application-supplied message into the debug message queue @@ -9093,18 +6504,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static + [Slot(54)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[54]); - #if DEBUG - } - #endif - } + ; + /// /// Inject an application-supplied message into the debug message queue @@ -9140,18 +6544,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static + [Slot(54)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[54]); - #if DEBUG - } - #endif - } + ; + /// /// Inject an application-supplied message into the debug message queue @@ -9188,18 +6585,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static + [Slot(54)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[54]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -9215,23 +6605,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern void DeleteBuffer(Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[56]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -9248,23 +6626,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern void DeleteBuffer(UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[56]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -9280,24 +6646,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[56]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -9313,24 +6666,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[56]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -9347,18 +6687,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[56]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -9375,24 +6708,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[56]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -9409,24 +6729,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[56]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -9443,18 +6750,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(56)] + public static extern unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[56]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9470,23 +6770,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(58)] + public static extern void DeleteFramebuffer(Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[58]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9503,23 +6791,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(58)] + public static extern void DeleteFramebuffer(UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[58]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9535,24 +6811,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(58)] + public static extern void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[58]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9568,24 +6831,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(58)] + public static extern void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[58]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9602,18 +6852,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(58)] + public static extern unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[58]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9630,24 +6873,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(58)] + public static extern void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[58]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9664,24 +6894,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(58)] + public static extern void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[58]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9698,18 +6915,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(58)] + public static extern unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[58]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a program object @@ -9720,18 +6930,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static + [Slot(60)] + public static extern void DeleteProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[60]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a program object @@ -9743,18 +6946,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static + [Slot(60)] + public static extern void DeleteProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[60]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9770,23 +6966,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(63)] + public static extern void DeleteRenderbuffer(Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[63]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9803,23 +6987,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(63)] + public static extern void DeleteRenderbuffer(UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[63]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9835,24 +7007,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(63)] + public static extern void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[63]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9868,24 +7027,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(63)] + public static extern void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[63]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9902,18 +7048,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(63)] + public static extern unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[63]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9930,24 +7069,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(63)] + public static extern void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[63]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9964,24 +7090,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(63)] + public static extern void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[63]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9998,18 +7111,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(63)] + public static extern unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[63]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a shader object @@ -10020,18 +7126,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static + [Slot(64)] + public static extern void DeleteShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[64]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a shader object @@ -10043,18 +7142,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static + [Slot(64)] + public static extern void DeleteShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[64]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -10070,23 +7162,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(66)] + public static extern void DeleteTexture(Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[66]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -10103,23 +7183,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(66)] + public static extern void DeleteTexture(UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[66]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -10135,24 +7203,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(66)] + public static extern void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[66]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -10168,24 +7223,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(66)] + public static extern void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[66]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -10202,18 +7244,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(66)] + public static extern unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[66]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -10230,24 +7265,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(66)] + public static extern void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[66]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -10264,24 +7286,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(66)] + public static extern void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[66]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -10298,18 +7307,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(66)] + public static extern unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[66]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value used for depth buffer comparisons @@ -10321,18 +7323,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthFunc")] - public static + [Slot(68)] + public static extern void DepthFunc(OpenTK.Graphics.ES20.All func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DepthFunction)func, EntryPoints[68]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value used for depth buffer comparisons @@ -10343,18 +7338,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthFunc")] - public static + [Slot(68)] + public static extern void DepthFunc(OpenTK.Graphics.ES20.DepthFunction func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DepthFunction)func, EntryPoints[68]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable writing into the depth buffer @@ -10365,18 +7353,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthMask")] - public static + [Slot(69)] + public static extern void DepthMask(bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)flag, EntryPoints[69]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -10392,18 +7373,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthRangef")] - public static + [Slot(70)] + public static extern void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)n, (Single)f, EntryPoints[70]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Detaches a shader object from a program object to which it is attached @@ -10419,18 +7393,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static + [Slot(71)] + public static extern void DetachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[71]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Detaches a shader object from a program object to which it is attached @@ -10447,80 +7414,45 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static + [Slot(71)] + public static extern void DetachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[71]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(72)] + public static extern void Disable(OpenTK.Graphics.ES20.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.EnableCap)cap, EntryPoints[72]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisable")] - public static + [Slot(72)] + public static extern void Disable(OpenTK.Graphics.ES20.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.EnableCap)cap, EntryPoints[72]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static + [Slot(74)] + public static extern void DisableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[74]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static + [Slot(74)] + public static extern void DisableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[74]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10542,18 +7474,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")] - public static + [Slot(76)] + public static extern void DrawArrays(OpenTK.Graphics.ES20.All mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[76]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10575,18 +7500,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")] - public static + [Slot(76)] + public static extern void DrawArrays(OpenTK.Graphics.ES20.BeginMode mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[76]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10607,18 +7525,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")] - public static + [Slot(76)] + public static extern void DrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[76]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10645,18 +7556,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + public static extern void DrawElements(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, EntryPoints[83]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10683,27 +7587,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[83]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10730,27 +7619,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[83]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10777,27 +7651,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[83]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10824,28 +7683,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[83]); - 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 @@ -10872,18 +7715,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + public static extern void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, EntryPoints[83]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10910,27 +7746,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[83]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10957,27 +7778,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[83]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -11004,27 +7810,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[83]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -11051,28 +7842,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[83]); - 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 @@ -11098,18 +7873,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + public static extern void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, EntryPoints[83]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -11135,27 +7903,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[83]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -11181,27 +7934,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[83]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -11227,27 +7965,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[83]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -11273,28 +7996,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(83)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[83]); - 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 @@ -11311,18 +8018,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnable")] - public static + [Slot(89)] + public static extern void Enable(OpenTK.Graphics.ES20.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.EnableCap)cap, EntryPoints[89]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable server-side GL capabilities @@ -11338,18 +8038,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnable")] - public static + [Slot(89)] + public static extern void Enable(OpenTK.Graphics.ES20.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.EnableCap)cap, EntryPoints[89]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable a generic vertex attribute array @@ -11360,18 +8053,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static + [Slot(91)] + public static extern void EnableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[91]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable a generic vertex attribute array @@ -11383,52 +8069,31 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static + [Slot(91)] + public static extern void EnableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[91]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(108)] + public static extern void Finish() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[108]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(110)] + public static extern void Flush() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[110]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -11454,18 +8119,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static + [Slot(112)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -11493,18 +8151,11 @@ 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 + [Slot(112)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -11530,18 +8181,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static + [Slot(112)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -11568,18 +8212,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static + [Slot(112)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -11606,18 +8243,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use FramebufferAttachment overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static + [Slot(112)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -11645,147 +8275,84 @@ 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 + [Slot(112)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static + [Slot(113)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(113)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(113)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(113)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static + [Slot(113)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static + [Slot(113)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(113)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(113)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define front- and back-facing polygons @@ -11797,18 +8364,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFrontFace")] - public static + [Slot(117)] + public static extern void FrontFace(OpenTK.Graphics.ES20.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.FrontFaceDirection)mode, EntryPoints[117]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define front- and back-facing polygons @@ -11819,18 +8379,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFrontFace")] - public static + [Slot(117)] + public static extern void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.FrontFaceDirection)mode, EntryPoints[117]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -11846,25 +8399,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(118)] + public static extern Int32 GenBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* buffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[118]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -11880,24 +8419,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(118)] + public static extern void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[118]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -11913,25 +8439,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(118)] + public static extern void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[118]); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -11948,18 +8460,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(118)] + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[118]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -11976,24 +8481,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(118)] + public static extern void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[118]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -12010,25 +8502,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(118)] + public static extern void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[118]); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -12045,18 +8523,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(118)] + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[118]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate mipmaps for a specified texture target @@ -12068,18 +8539,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenerateMipmap")] - public static + [Slot(119)] + public static extern void GenerateMipmap(OpenTK.Graphics.ES20.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, EntryPoints[119]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate mipmaps for a specified texture target @@ -12090,18 +8554,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenerateMipmap")] - public static + [Slot(119)] + public static extern void GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, EntryPoints[119]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -12117,25 +8574,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(121)] + public static extern Int32 GenFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* framebuffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[121]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -12151,24 +8594,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(121)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[121]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -12184,25 +8614,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(121)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[121]); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -12219,18 +8635,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(121)] + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[121]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -12247,24 +8656,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(121)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[121]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -12281,25 +8677,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(121)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[121]); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -12316,18 +8698,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(121)] + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[121]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12343,25 +8718,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(125)] + public static extern Int32 GenRenderbuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* renderbuffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[125]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12377,24 +8738,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(125)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[125]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12410,25 +8758,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(125)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[125]); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12445,18 +8779,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(125)] + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[125]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12473,24 +8800,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(125)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[125]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12507,25 +8821,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(125)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[125]); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12542,18 +8842,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(125)] + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[125]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12569,25 +8862,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(126)] + public static extern Int32 GenTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* textures_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[126]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12603,24 +8882,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(126)] + public static extern void GenTextures(Int32 n, [OutAttribute] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[126]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12636,25 +8902,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(126)] + public static extern void GenTextures(Int32 n, [OutAttribute] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[126]); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12671,18 +8923,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(126)] + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[126]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12699,24 +8944,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(126)] + public static extern void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[126]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12733,25 +8965,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(126)] + public static extern void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[126]); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12768,18 +8986,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(126)] + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[126]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -12820,29 +9031,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(128)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[128]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -12883,29 +9076,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(128)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[128]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -12947,18 +9122,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(128)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[128]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -13000,18 +9168,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(128)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[128]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -13053,29 +9214,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(128)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[128]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -13118,29 +9261,11 @@ 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 + [Slot(128)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[128]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -13182,18 +9307,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(128)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[128]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -13236,18 +9354,11 @@ 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 + [Slot(128)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[128]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13288,29 +9399,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(129)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[129]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13351,29 +9444,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(129)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[129]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13415,18 +9490,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(129)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[129]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13468,18 +9536,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(129)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[129]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13521,29 +9582,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(129)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[129]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13586,29 +9629,11 @@ 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 + [Slot(129)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[129]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13650,18 +9675,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(129)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[129]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13704,18 +9722,11 @@ 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 + [Slot(129)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[129]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -13741,26 +9752,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(130)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[130]); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -13786,27 +9782,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(130)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[130]); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -13833,18 +9813,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(130)] + public static extern unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count, (IntPtr)shaders, EntryPoints[130]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -13871,26 +9844,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(130)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[130]); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -13917,27 +9875,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(130)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[130]); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -13964,18 +9906,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(130)] + public static extern unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count, (IntPtr)shaders, EntryPoints[130]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of an attribute variable @@ -13991,18 +9926,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static + [Slot(131)] + public static extern Int32 GetAttribLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[131]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of an attribute variable @@ -14019,182 +9947,81 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static + [Slot(131)] + public static extern Int32 GetAttribLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[131]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(132)] + public static extern bool GetBoolean(OpenTK.Graphics.ES20.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[132]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(132)] + public static extern bool GetBoolean(OpenTK.Graphics.ES20.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[132]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(132)] + public static extern void GetBoolean(OpenTK.Graphics.ES20.All pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[132]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(132)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[132]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(132)] + public static extern unsafe void GetBoolean(OpenTK.Graphics.ES20.All pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data, EntryPoints[132]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(132)] + public static extern void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[132]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(132)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[132]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(132)] + public static extern unsafe void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data, EntryPoints[132]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -14216,24 +10043,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(133)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[133]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -14255,25 +10069,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(133)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[133]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -14296,18 +10096,11 @@ 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 + [Slot(133)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (IntPtr)@params, EntryPoints[133]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -14328,24 +10121,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(133)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[133]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -14366,25 +10146,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(133)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[133]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -14406,18 +10172,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(133)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (IntPtr)@params, EntryPoints[133]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -14463,28 +10222,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(135)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[135]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -14530,34 +10272,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(135)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[135]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -14604,18 +10323,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(135)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[135]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -14661,28 +10373,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(135)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[135]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -14728,34 +10423,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(135)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[135]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -14802,18 +10474,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(135)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[135]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -14861,28 +10526,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(135)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[135]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -14930,34 +10578,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(135)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[135]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -15005,18 +10630,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(135)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[135]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -15063,28 +10681,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(135)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[135]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -15131,34 +10732,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(135)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[135]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -15205,192 +10783,91 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(135)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[135]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return error information /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetError")] - public static + [Slot(139)] + public static extern OpenTK.Graphics.ES20.ErrorCode GetError() - { - return InteropHelper.CallReturn(EntryPoints[139]); - } + ; + /// [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 + [Slot(141)] + public static extern Single GetFloat(OpenTK.Graphics.ES20.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[141]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static + [Slot(141)] + public static extern Single GetFloat(OpenTK.Graphics.ES20.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[141]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(141)] + public static extern void GetFloat(OpenTK.Graphics.ES20.All pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[141]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(141)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[141]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(141)] + public static extern unsafe void GetFloat(OpenTK.Graphics.ES20.All pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data, EntryPoints[141]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static + [Slot(141)] + public static extern void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[141]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static + [Slot(141)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[141]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static + [Slot(141)] + public static extern unsafe void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data, EntryPoints[141]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15417,24 +10894,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(142)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[142]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15461,25 +10925,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(142)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[142]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15507,18 +10957,11 @@ 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 + [Slot(142)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (IntPtr)@params, EntryPoints[142]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15544,24 +10987,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(142)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[142]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15587,25 +11017,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(142)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[142]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15632,18 +11048,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(142)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (IntPtr)@params, EntryPoints[142]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15670,24 +11079,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use FramebufferAttachment overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(142)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[142]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15714,25 +11110,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use FramebufferAttachment overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(142)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[142]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15760,182 +11142,81 @@ 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 + [Slot(142)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (IntPtr)@params, EntryPoints[142]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(146)] + public static extern Int32 GetInteger(OpenTK.Graphics.ES20.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[146]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(146)] + public static extern Int32 GetInteger(OpenTK.Graphics.ES20.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[146]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(146)] + public static extern void GetInteger(OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[146]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(146)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[146]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(146)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data, EntryPoints[146]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(146)] + public static extern void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[146]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(146)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data_ptr, EntryPoints[146]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(146)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetPName)pname, (IntPtr)data, EntryPoints[146]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -15966,24 +11247,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(149)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[149]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -16014,25 +11282,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(149)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[149]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -16064,18 +11318,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(149)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[149]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -16108,24 +11355,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(149)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[149]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -16158,25 +11392,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(149)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[149]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -16209,18 +11429,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(149)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[149]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -16251,24 +11464,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(149)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[149]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -16299,25 +11499,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(149)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[149]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -16349,18 +11535,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(149)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[149]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -16392,24 +11571,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(149)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[149]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -16441,25 +11607,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(149)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[149]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -16491,18 +11643,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(149)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[149]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -16528,24 +11673,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[152]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -16571,25 +11703,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[152]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -16616,18 +11734,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[152]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -16653,33 +11764,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[152]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -16705,34 +11795,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[152]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -16759,27 +11827,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[152]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -16805,33 +11858,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[152]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -16857,34 +11889,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[152]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -16911,27 +11921,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[152]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -16957,33 +11952,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[152]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -17009,34 +11983,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[152]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -17063,27 +12015,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[152]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -17109,34 +12046,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[152]); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -17162,35 +12077,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[152]); - 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 @@ -17217,28 +12109,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(152)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[152]); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -17255,18 +12131,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(160)] + public static extern void GetPointer(OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params, EntryPoints[160]); - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -17283,27 +12152,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(160)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[160]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -17320,27 +12174,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(160)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[160]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -17357,27 +12196,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(160)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[160]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -17394,28 +12218,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(160)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[160]); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -17431,18 +12239,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(160)] + public static extern void GetPointer(OpenTK.Graphics.ES20.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params, EntryPoints[160]); - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -17458,27 +12259,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(160)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[160]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -17494,27 +12280,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(160)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[160]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -17530,27 +12301,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(160)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[160]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -17566,28 +12322,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(160)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[160]); - @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 @@ -17613,25 +12353,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(163)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[163]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -17658,18 +12384,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(163)] + public static extern unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[163]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -17696,25 +12415,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(163)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[163]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -17741,18 +12446,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(163)] + public static extern unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[163]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17773,24 +12471,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[164]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17811,25 +12496,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[164]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17851,18 +12522,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(164)] + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17883,24 +12547,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[164]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17921,25 +12572,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[164]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17961,18 +12598,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(164)] + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17994,24 +12624,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use GetProgramParameterName overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[164]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18033,25 +12650,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use GetProgramParameterName overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[164]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18074,18 +12677,11 @@ 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 + [Slot(164)] + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18108,24 +12704,11 @@ 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 + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[164]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18148,25 +12731,11 @@ 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 + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[164]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18189,18 +12758,11 @@ 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 + [Slot(164)] + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18222,24 +12784,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[164]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18261,25 +12810,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[164]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18301,18 +12836,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(164)] + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18335,24 +12863,11 @@ 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 + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[164]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18375,25 +12890,11 @@ 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 + [Slot(164)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[164]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18416,18 +12917,11 @@ 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 + [Slot(164)] + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -18449,24 +12943,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(172)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[172]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -18488,25 +12969,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(172)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[172]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -18529,18 +12996,11 @@ 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 + [Slot(172)] + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (IntPtr)@params, EntryPoints[172]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -18561,24 +13021,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(172)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[172]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -18599,25 +13046,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(172)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[172]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -18639,18 +13072,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(172)] + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (IntPtr)@params, EntryPoints[172]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -18676,25 +13102,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(173)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[173]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -18721,18 +13133,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(173)] + public static extern unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[173]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -18759,25 +13164,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(173)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[173]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -18804,18 +13195,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(173)] + public static extern unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[173]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18836,24 +13220,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(174)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[174]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18874,25 +13245,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(174)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[174]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18914,18 +13271,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(174)] + public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (IntPtr)@params, EntryPoints[174]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18946,24 +13296,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(174)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[174]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18984,25 +13321,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(174)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[174]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -19024,18 +13347,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(174)] + public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (IntPtr)@params, EntryPoints[174]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -19058,24 +13374,11 @@ 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 + [Slot(174)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[174]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -19098,25 +13401,11 @@ 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 + [Slot(174)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[174]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -19139,18 +13428,11 @@ 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 + [Slot(174)] + public static extern unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (IntPtr)@params, EntryPoints[174]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -19172,24 +13454,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(174)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[174]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -19211,25 +13480,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(174)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[174]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -19251,18 +13506,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(174)] + public static extern unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (IntPtr)@params, EntryPoints[174]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -19289,25 +13537,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(175)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (IntPtr)range_ptr, (IntPtr)precision_ptr, EntryPoints[175]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -19334,27 +13568,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(175)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (IntPtr)range_ptr, (IntPtr)precision_ptr, EntryPoints[175]); - range = *range_ptr; - precision = *precision_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -19382,18 +13600,11 @@ 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 + [Slot(175)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (IntPtr)range, (IntPtr)precision, EntryPoints[175]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -19419,25 +13630,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(175)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (IntPtr)range_ptr, (IntPtr)precision_ptr, EntryPoints[175]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -19463,27 +13660,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(175)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (IntPtr)range_ptr, (IntPtr)precision_ptr, EntryPoints[175]); - range = *range_ptr; - precision = *precision_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -19510,18 +13691,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(175)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (IntPtr)range, (IntPtr)precision, EntryPoints[175]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -19547,25 +13721,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(176)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[176]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -19592,18 +13752,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(176)] + public static extern unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)source, EntryPoints[176]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -19630,25 +13783,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(176)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[176]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -19675,18 +13814,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(176)] + public static extern unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)source, EntryPoints[176]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a string describing the current GL connection @@ -19703,18 +13835,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetString")] - public static + [Slot(177)] + public static extern String GetString(OpenTK.Graphics.ES20.All name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.ES20.StringName)name, EntryPoints[177])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a string describing the current GL connection @@ -19730,18 +13855,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetString")] - public static + [Slot(177)] + public static extern String GetString(OpenTK.Graphics.ES20.StringName name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.ES20.StringName)name, EntryPoints[177])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19763,24 +13881,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(179)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[179]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19802,25 +13907,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(179)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[179]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19843,18 +13934,11 @@ 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 + [Slot(179)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params, EntryPoints[179]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19876,24 +13960,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use GetTextureParameterName overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(179)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[179]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19915,25 +13986,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use GetTextureParameterName overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(179)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[179]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19956,18 +14013,11 @@ 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 + [Slot(179)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params, EntryPoints[179]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19988,24 +14038,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(179)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[179]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20026,25 +14063,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(179)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[179]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20066,18 +14089,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(179)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params, EntryPoints[179]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20099,24 +14115,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(180)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[180]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20138,25 +14141,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(180)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[180]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20179,18 +14168,11 @@ 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 + [Slot(180)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params, EntryPoints[180]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20212,24 +14194,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use GetTextureParameterName overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(180)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[180]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20251,25 +14220,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use GetTextureParameterName overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(180)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[180]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20292,18 +14247,11 @@ 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 + [Slot(180)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params, EntryPoints[180]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20324,24 +14272,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(180)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[180]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20362,25 +14297,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(180)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[180]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20402,18 +14323,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(180)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (IntPtr)@params, EntryPoints[180]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20434,24 +14348,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(182)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[182]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20472,25 +14373,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(182)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[182]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20512,18 +14399,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(182)] + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[182]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20545,24 +14425,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(182)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[182]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20584,25 +14451,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(182)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[182]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20624,18 +14477,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(182)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[182]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20656,24 +14502,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(183)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20694,25 +14527,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(183)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[183]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20734,18 +14553,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(183)] + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[183]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20767,24 +14579,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(183)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20806,25 +14605,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(183)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[183]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20846,18 +14631,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(183)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[183]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of a uniform variable @@ -20873,18 +14651,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static + [Slot(184)] + public static extern Int32 GetUniformLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[184]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of a uniform variable @@ -20901,18 +14672,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static + [Slot(184)] + public static extern Int32 GetUniformLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[184]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -20933,24 +14697,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -20971,25 +14722,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[185]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21011,18 +14748,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(185)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[185]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21043,24 +14773,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21081,25 +14798,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[185]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21121,18 +14824,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(185)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[185]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21155,24 +14851,11 @@ 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 + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21195,25 +14878,11 @@ 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 + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[185]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21236,18 +14905,11 @@ 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 + [Slot(185)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[185]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21269,24 +14931,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21308,25 +14957,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[185]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21348,18 +14983,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(185)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[185]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21380,24 +15008,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(186)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[186]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21418,25 +15033,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(186)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[186]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21458,18 +15059,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(186)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[186]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21490,24 +15084,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(186)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[186]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21528,25 +15109,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(186)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[186]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21568,18 +15135,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(186)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[186]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21602,24 +15162,11 @@ 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 + [Slot(186)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[186]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21642,25 +15189,11 @@ 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 + [Slot(186)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[186]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21683,18 +15216,11 @@ 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 + [Slot(186)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[186]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21716,24 +15242,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(186)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[186]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21755,25 +15268,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(186)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[186]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21795,18 +15294,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(186)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[186]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21827,18 +15319,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer, EntryPoints[187]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21859,27 +15344,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - } - 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 @@ -21900,27 +15370,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - } - 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 @@ -21941,27 +15396,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - } - 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 @@ -21982,28 +15422,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - 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 @@ -22024,18 +15448,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer, EntryPoints[187]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -22056,27 +15473,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - } - 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 @@ -22097,27 +15499,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - } - 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 @@ -22138,27 +15525,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - } - 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 @@ -22179,28 +15551,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - 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 @@ -22223,18 +15579,11 @@ 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 + [Slot(187)] + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer, EntryPoints[187]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -22257,27 +15606,12 @@ 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 + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - } - 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 @@ -22300,27 +15634,12 @@ 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 + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - } - 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 @@ -22343,27 +15662,12 @@ 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 + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - } - 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 @@ -22386,28 +15690,12 @@ 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 + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - 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 @@ -22429,18 +15717,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer, EntryPoints[187]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -22462,27 +15743,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - } - 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 @@ -22504,27 +15770,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - } - 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 @@ -22546,27 +15797,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - } - 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 @@ -22588,28 +15824,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(187)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[187]); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify implementation-specific hints @@ -22626,18 +15846,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glHint")] - public static + [Slot(188)] + public static extern void Hint(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.HintTarget)target, (OpenTK.Graphics.ES20.HintMode)mode, EntryPoints[188]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify implementation-specific hints @@ -22653,18 +15866,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glHint")] - public static + [Slot(188)] + public static extern void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.HintTarget)target, (OpenTK.Graphics.ES20.HintMode)mode, EntryPoints[188]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a buffer object @@ -22675,18 +15881,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsBuffer")] - public static + [Slot(190)] + public static extern bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[190]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a buffer object @@ -22698,18 +15897,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsBuffer")] - public static + [Slot(190)] + public static extern bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[190]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Test whether a capability is enabled @@ -22726,18 +15918,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsEnabled")] - public static + [Slot(191)] + public static extern bool IsEnabled(OpenTK.Graphics.ES20.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.EnableCap)cap, EntryPoints[191]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Test whether a capability is enabled @@ -22753,18 +15938,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsEnabled")] - public static + [Slot(191)] + public static extern bool IsEnabled(OpenTK.Graphics.ES20.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.EnableCap)cap, EntryPoints[191]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a framebuffer object @@ -22775,18 +15953,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsFramebuffer")] - public static + [Slot(193)] + public static extern bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, EntryPoints[193]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a framebuffer object @@ -22798,18 +15969,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsFramebuffer")] - public static + [Slot(193)] + public static extern bool IsFramebuffer(UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, EntryPoints[193]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a program object @@ -22820,18 +15984,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static + [Slot(194)] + public static extern bool IsProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[194]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a program object @@ -22843,18 +16000,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static + [Slot(194)] + public static extern bool IsProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[194]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a renderbuffer object @@ -22865,18 +16015,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsRenderbuffer")] - public static + [Slot(197)] + public static extern bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)renderbuffer, EntryPoints[197]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a renderbuffer object @@ -22888,18 +16031,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsRenderbuffer")] - public static + [Slot(197)] + public static extern bool IsRenderbuffer(UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)renderbuffer, EntryPoints[197]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a shader object @@ -22910,18 +16046,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static + [Slot(198)] + public static extern bool IsShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)shader, EntryPoints[198]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a shader object @@ -22933,18 +16062,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static + [Slot(198)] + public static extern bool IsShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)shader, EntryPoints[198]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a texture @@ -22955,18 +16077,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsTexture")] - public static + [Slot(200)] + public static extern bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[200]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a texture @@ -22978,18 +16093,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsTexture")] - public static + [Slot(200)] + public static extern bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[200]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the width of rasterized lines @@ -23000,18 +16108,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLineWidth")] - public static + [Slot(203)] + public static extern void LineWidth(Single width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)width, EntryPoints[203]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Links a program object @@ -23022,18 +16123,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static + [Slot(204)] + public static extern void LinkProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[204]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Links a program object @@ -23045,18 +16139,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static + [Slot(204)] + public static extern void LinkProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[204]); - #if DEBUG - } - #endif - } + ; + /// /// Label a named object identified within a namespace @@ -23082,18 +16169,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static + [Slot(209)] + public static extern void ObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[209]); - #if DEBUG - } - #endif - } + ; + /// /// Label a named object identified within a namespace @@ -23121,18 +16201,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static + [Slot(209)] + public static extern void ObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[209]); - #if DEBUG - } - #endif - } + ; + /// /// Label a named object identified within a namespace @@ -23158,18 +16231,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static + [Slot(209)] + public static extern void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[209]); - #if DEBUG - } - #endif - } + ; + /// /// Label a named object identified within a namespace @@ -23196,18 +16262,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static + [Slot(209)] + public static extern void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[209]); - #if DEBUG - } - #endif - } + ; + /// /// Label a a sync object identified by a pointer @@ -23228,18 +16287,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(211)] + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)length, (String)label, EntryPoints[211]); - #if DEBUG - } - #endif - } + ; + /// /// Label a a sync object identified by a pointer @@ -23260,27 +16312,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(211)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[211]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Label a a sync object identified by a pointer @@ -23301,27 +16338,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(211)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[211]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Label a a sync object identified by a pointer @@ -23342,27 +16364,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(211)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[211]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Label a a sync object identified by a pointer @@ -23383,28 +16390,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(211)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[211]); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set pixel storage modes @@ -23421,18 +16412,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPixelStorei")] - public static + [Slot(213)] + public static extern void PixelStore(OpenTK.Graphics.ES20.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PixelStoreParameter)pname, (Int32)param, EntryPoints[213]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set pixel storage modes @@ -23448,18 +16432,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPixelStorei")] - public static + [Slot(213)] + public static extern void PixelStore(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PixelStoreParameter)pname, (Int32)param, EntryPoints[213]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set the scale and units used to calculate depth values @@ -23475,35 +16452,21 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPolygonOffset")] - public static + [Slot(214)] + public static extern void PolygonOffset(Single factor, Single units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)factor, (Single)units, EntryPoints[214]); - #if DEBUG - } - #endif - } + ; + /// /// Pop the active debug group /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPopDebugGroup")] - public static + [Slot(215)] + public static extern void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[215]); - #if DEBUG - } - #endif - } + ; + /// /// Push a named debug group into the command stream @@ -23529,18 +16492,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")] - public static + [Slot(253)] + public static extern void PushDebugGroup(OpenTK.Graphics.ES20.All source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[253]); - #if DEBUG - } - #endif - } + ; + /// /// Push a named debug group into the command stream @@ -23567,18 +16523,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")] - public static + [Slot(253)] + public static extern void PushDebugGroup(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[253]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23610,18 +16559,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(260)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels, EntryPoints[260]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23653,27 +16595,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[260]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23705,27 +16632,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[260]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23757,27 +16669,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[260]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23809,28 +16706,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[260]); - 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 @@ -23861,18 +16742,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(260)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels, EntryPoints[260]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23903,27 +16777,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[260]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23954,27 +16813,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[260]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -24005,27 +16849,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[260]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -24056,45 +16885,22 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[260]); - 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 + [Slot(261)] + public static extern void ReleaseShaderCompiler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[261]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -24121,18 +16927,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glRenderbufferStorage")] - public static + [Slot(262)] + public static extern void RenderbufferStorage(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[262]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -24158,18 +16957,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glRenderbufferStorage")] - public static + [Slot(262)] + public static extern void RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[262]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify multisample coverage parameters @@ -24185,18 +16977,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glSampleCoverage")] - public static + [Slot(269)] + public static extern void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)value, (bool)invert, EntryPoints[269]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define the scissor box @@ -24212,18 +16997,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glScissor")] - public static + [Slot(270)] + public static extern void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[270]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24254,24 +17032,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24302,33 +17067,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24359,33 +17103,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24416,33 +17139,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24473,34 +17175,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - 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 @@ -24531,24 +17211,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24579,33 +17246,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24636,33 +17282,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24693,33 +17318,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24750,34 +17354,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - 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 @@ -24808,24 +17390,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24856,33 +17425,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24913,33 +17461,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24970,33 +17497,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25027,34 +17533,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - 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 @@ -25085,24 +17569,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25133,33 +17604,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25190,33 +17640,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25247,33 +17676,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25304,34 +17712,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - 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 @@ -25363,18 +17749,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[273]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25406,27 +17785,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25458,27 +17822,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25510,27 +17859,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25562,28 +17896,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - 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 @@ -25615,18 +17933,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[273]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25658,27 +17969,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25710,27 +18006,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25762,27 +18043,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25814,28 +18080,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - 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 @@ -25868,24 +18118,11 @@ 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 + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25918,33 +18155,12 @@ 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 + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25977,33 +18193,12 @@ 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 + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26036,33 +18231,12 @@ 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 + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26095,34 +18269,12 @@ 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 + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - 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 @@ -26154,24 +18306,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26203,33 +18342,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26261,33 +18379,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26319,33 +18416,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26377,34 +18453,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - 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 @@ -26437,24 +18491,11 @@ 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 + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26487,33 +18528,12 @@ 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 + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26546,33 +18566,12 @@ 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 + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26605,33 +18604,12 @@ 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 + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26664,34 +18642,12 @@ 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 + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - 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 @@ -26723,24 +18679,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26772,33 +18715,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26830,33 +18752,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26888,33 +18789,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26946,34 +18826,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - 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 @@ -27006,18 +18864,11 @@ 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 + [Slot(273)] + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[273]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -27050,27 +18901,12 @@ 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 + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -27103,27 +18939,12 @@ 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 + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -27156,27 +18977,12 @@ 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 + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -27209,28 +19015,12 @@ 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 + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - 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 @@ -27262,18 +19052,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[273]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -27305,27 +19088,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -27357,27 +19125,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -27409,27 +19162,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -27461,28 +19199,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[273]); - 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 @@ -27508,24 +19230,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(274)] + public static extern void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[274]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -27551,24 +19260,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(274)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[274]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -27595,18 +19291,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(274)] + public static extern unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length, EntryPoints[274]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -27633,24 +19322,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(274)] + public static extern void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[274]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -27677,24 +19353,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(274)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[274]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -27721,18 +19384,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(274)] + public static extern unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length, EntryPoints[274]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -27753,18 +19409,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static + [Slot(276)] + public static extern void StencilFunc(OpenTK.Graphics.ES20.All func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[276]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -27787,18 +19436,11 @@ 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 + [Slot(276)] + public static extern void StencilFunc(OpenTK.Graphics.ES20.All func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[276]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -27819,18 +19461,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static + [Slot(276)] + public static extern void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[276]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -27852,18 +19487,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static + [Slot(276)] + public static extern void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[276]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -27889,18 +19517,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static + [Slot(277)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[277]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -27928,18 +19549,11 @@ 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 + [Slot(277)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[277]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -27966,18 +19580,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use StencilFace overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static + [Slot(277)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[277]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -28005,18 +19612,11 @@ 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 + [Slot(277)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[277]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -28042,18 +19642,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static + [Slot(277)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[277]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -28080,18 +19673,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static + [Slot(277)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[277]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and back writing of individual bits in the stencil planes @@ -28102,18 +19688,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMask")] - public static + [Slot(278)] + public static extern void StencilMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[278]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and back writing of individual bits in the stencil planes @@ -28125,18 +19704,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMask")] - public static + [Slot(278)] + public static extern void StencilMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[278]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -28152,18 +19724,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static + [Slot(279)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES20.All face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask, EntryPoints[279]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -28181,18 +19746,11 @@ 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 + [Slot(279)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES20.All face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask, EntryPoints[279]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -28209,18 +19767,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use StencilFace overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static + [Slot(279)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask, EntryPoints[279]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -28238,18 +19789,11 @@ 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 + [Slot(279)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask, EntryPoints[279]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -28265,18 +19809,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static + [Slot(279)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES20.StencilFace face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask, EntryPoints[279]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -28293,18 +19830,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static + [Slot(279)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES20.StencilFace face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask, EntryPoints[279]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back stencil test actions @@ -28326,18 +19856,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOp")] - public static + [Slot(280)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.StencilOp)fail, (OpenTK.Graphics.ES20.StencilOp)zfail, (OpenTK.Graphics.ES20.StencilOp)zpass, EntryPoints[280]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back stencil test actions @@ -28358,18 +19881,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOp")] - public static + [Slot(280)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.StencilOp)fail, (OpenTK.Graphics.ES20.StencilOp)zfail, (OpenTK.Graphics.ES20.StencilOp)zpass, EntryPoints[280]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back stencil test actions @@ -28396,18 +19912,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static + [Slot(281)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilOp)sfail, (OpenTK.Graphics.ES20.StencilOp)dpfail, (OpenTK.Graphics.ES20.StencilOp)dppass, EntryPoints[281]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back stencil test actions @@ -28434,18 +19943,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use StencilFace overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static + [Slot(281)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilOp)sfail, (OpenTK.Graphics.ES20.StencilOp)dpfail, (OpenTK.Graphics.ES20.StencilOp)dppass, EntryPoints[281]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back stencil test actions @@ -28471,18 +19973,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static + [Slot(281)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilOp)sfail, (OpenTK.Graphics.ES20.StencilOp)dpfail, (OpenTK.Graphics.ES20.StencilOp)dppass, EntryPoints[281]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28534,18 +20029,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[283]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28597,27 +20085,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28669,27 +20142,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28741,27 +20199,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28813,28 +20256,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - 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 @@ -28886,18 +20313,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[283]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28949,27 +20369,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -29021,27 +20426,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -29093,27 +20483,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -29165,28 +20540,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - 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 @@ -29237,18 +20596,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[283]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -29299,27 +20651,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -29370,27 +20707,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -29441,27 +20763,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -29512,28 +20819,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29563,18 +20854,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterf")] - public static + [Slot(285)] + public static extern void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single)param, EntryPoints[285]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29603,18 +20887,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterf")] - public static + [Slot(285)] + public static extern void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single)param, EntryPoints[285]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29644,24 +20921,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static + [Slot(286)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[286]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29692,18 +20956,11 @@ 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 + [Slot(286)] + public static extern unsafe void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (IntPtr)@params, EntryPoints[286]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29732,24 +20989,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static + [Slot(286)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[286]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29779,18 +21023,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static + [Slot(286)] + public static extern unsafe void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (IntPtr)@params, EntryPoints[286]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29820,18 +21057,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteri")] - public static + [Slot(287)] + public static extern void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32)param, EntryPoints[287]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29860,18 +21090,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteri")] - public static + [Slot(287)] + public static extern void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32)param, EntryPoints[287]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29901,24 +21124,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static + [Slot(288)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[288]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29949,18 +21159,11 @@ 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 + [Slot(288)] + public static extern unsafe void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (IntPtr)@params, EntryPoints[288]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29989,24 +21192,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static + [Slot(288)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[288]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -30036,18 +21226,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static + [Slot(288)] + public static extern unsafe void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (IntPtr)@params, EntryPoints[288]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30099,18 +21282,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[292]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30162,27 +21338,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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 - { - InteropHelper.Call((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(), EntryPoints[292]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30234,27 +21395,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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 - { - InteropHelper.Call((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(), EntryPoints[292]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30306,27 +21452,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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 - { - InteropHelper.Call((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(), EntryPoints[292]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30378,28 +21509,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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 - { - InteropHelper.Call((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(), EntryPoints[292]); - 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 @@ -30451,18 +21566,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[292]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30514,27 +21622,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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 - { - InteropHelper.Call((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(), EntryPoints[292]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30586,27 +21679,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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 - { - InteropHelper.Call((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(), EntryPoints[292]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30658,27 +21736,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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 - { - InteropHelper.Call((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(), EntryPoints[292]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30730,28 +21793,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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 - { - InteropHelper.Call((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(), EntryPoints[292]); - 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 @@ -30802,18 +21849,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[292]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30864,27 +21904,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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 - { - InteropHelper.Call((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(), EntryPoints[292]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30935,27 +21960,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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 - { - InteropHelper.Call((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(), EntryPoints[292]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -31006,27 +22016,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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 - { - InteropHelper.Call((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(), EntryPoints[292]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -31077,28 +22072,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(292)] + 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 - { - InteropHelper.Call((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(), EntryPoints[292]); - 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 @@ -31132,18 +22111,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1f")] - public static + [Slot(297)] + public static extern void Uniform1(Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, EntryPoints[297]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31177,24 +22149,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static + [Slot(298)] + public static extern void Uniform1(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[298]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31228,24 +22187,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static + [Slot(298)] + public static extern void Uniform1(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[298]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31280,18 +22226,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static + [Slot(298)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[298]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31325,18 +22264,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1i")] - public static + [Slot(299)] + public static extern void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, EntryPoints[299]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31370,24 +22302,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static + [Slot(300)] + public static extern void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[300]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31421,24 +22340,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static + [Slot(300)] + public static extern void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[300]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31473,18 +22379,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static + [Slot(300)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[300]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31518,18 +22417,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2f")] - public static + [Slot(301)] + public static extern void Uniform2(Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, EntryPoints[301]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31563,24 +22455,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static + [Slot(302)] + public static extern void Uniform2(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[302]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31614,24 +22493,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static + [Slot(302)] + public static extern void Uniform2(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[302]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31666,18 +22532,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static + [Slot(302)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[302]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31711,18 +22570,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2i")] - public static + [Slot(303)] + public static extern void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, EntryPoints[303]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31756,24 +22608,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static + [Slot(304)] + public static extern void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[304]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31808,18 +22647,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static + [Slot(304)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[304]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31853,18 +22685,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3f")] - public static + [Slot(305)] + public static extern void Uniform3(Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[305]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31898,24 +22723,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static + [Slot(306)] + public static extern void Uniform3(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[306]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31949,24 +22761,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static + [Slot(306)] + public static extern void Uniform3(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[306]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32001,18 +22800,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static + [Slot(306)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[306]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32046,18 +22838,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3i")] - public static + [Slot(307)] + public static extern void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[307]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32091,24 +22876,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static + [Slot(308)] + public static extern void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[308]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32142,24 +22914,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static + [Slot(308)] + public static extern void Uniform3(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[308]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32194,18 +22953,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static + [Slot(308)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[308]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32239,18 +22991,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4f")] - public static + [Slot(309)] + public static extern void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[309]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32284,24 +23029,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static + [Slot(310)] + public static extern void Uniform4(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[310]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32335,24 +23067,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static + [Slot(310)] + public static extern void Uniform4(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[310]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32387,18 +23106,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static + [Slot(310)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[310]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32432,18 +23144,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4i")] - public static + [Slot(311)] + public static extern void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[311]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32477,24 +23182,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static + [Slot(312)] + public static extern void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[312]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32528,24 +23220,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static + [Slot(312)] + public static extern void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[312]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32580,192 +23259,86 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static + [Slot(312)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[312]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static + [Slot(313)] + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[313]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static + [Slot(313)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[313]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static + [Slot(313)] + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[313]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static + [Slot(316)] + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[316]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static + [Slot(316)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[316]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static + [Slot(316)] + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[316]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static + [Slot(319)] + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[319]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static + [Slot(319)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[319]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static + [Slot(319)] + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[319]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Installs a program object as part of current rendering state @@ -32776,18 +23349,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static + [Slot(323)] + public static extern void UseProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[323]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Installs a program object as part of current rendering state @@ -32799,18 +23365,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static + [Slot(323)] + public static extern void UseProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[323]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Validates a program object @@ -32821,18 +23380,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static + [Slot(326)] + public static extern void ValidateProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[326]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Validates a program object @@ -32844,18 +23396,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static + [Slot(326)] + public static extern void ValidateProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[326]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -32891,18 +23436,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static + [Slot(328)] + public static extern void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, EntryPoints[328]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -32939,18 +23477,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static + [Slot(328)] + public static extern void VertexAttrib1(UInt32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, EntryPoints[328]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -32986,24 +23517,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static + [Slot(329)] + public static extern void VertexAttrib1(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[329]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33040,18 +23558,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static + [Slot(329)] + public static extern unsafe void VertexAttrib1(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[329]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33088,24 +23599,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static + [Slot(329)] + public static extern void VertexAttrib1(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[329]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33142,18 +23640,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static + [Slot(329)] + public static extern unsafe void VertexAttrib1(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[329]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33189,18 +23680,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static + [Slot(330)] + public static extern void VertexAttrib2(Int32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, EntryPoints[330]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33237,18 +23721,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static + [Slot(330)] + public static extern void VertexAttrib2(UInt32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, EntryPoints[330]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33284,24 +23761,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(331)] + public static extern void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[331]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33337,24 +23801,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(331)] + public static extern void VertexAttrib2(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[331]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33391,18 +23842,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(331)] + public static extern unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[331]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33439,24 +23883,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(331)] + public static extern void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[331]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33493,24 +23924,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(331)] + public static extern void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[331]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33547,18 +23965,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(331)] + public static extern unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[331]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33594,18 +24005,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static + [Slot(332)] + public static extern void VertexAttrib3(Int32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, EntryPoints[332]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33642,18 +24046,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static + [Slot(332)] + public static extern void VertexAttrib3(UInt32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, EntryPoints[332]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33689,24 +24086,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(333)] + public static extern void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[333]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33742,24 +24126,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(333)] + public static extern void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[333]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33796,18 +24167,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(333)] + public static extern unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[333]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33844,24 +24208,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(333)] + public static extern void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[333]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33898,24 +24249,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(333)] + public static extern void VertexAttrib3(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[333]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33952,18 +24290,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(333)] + public static extern unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[333]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33999,18 +24330,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static + [Slot(334)] + public static extern void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[334]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -34047,18 +24371,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static + [Slot(334)] + public static extern void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[334]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -34094,24 +24411,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(335)] + public static extern void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[335]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -34147,24 +24451,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(335)] + public static extern void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[335]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -34201,18 +24492,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(335)] + public static extern unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[335]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -34249,24 +24533,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(335)] + public static extern void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[335]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -34303,24 +24574,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(335)] + public static extern void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[335]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -34357,18 +24615,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(335)] + public static extern unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[335]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34404,18 +24655,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[339]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34451,27 +24695,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34507,27 +24736,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34563,27 +24777,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34619,28 +24818,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - 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 @@ -34676,18 +24859,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[339]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34723,27 +24899,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34779,27 +24940,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34835,27 +24981,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34891,28 +25022,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - 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 @@ -34950,18 +25065,11 @@ 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 + [Slot(339)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[339]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34999,27 +25107,12 @@ 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 + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -35057,27 +25150,12 @@ 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 + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -35115,27 +25193,12 @@ 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 + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -35173,28 +25236,12 @@ 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 + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - 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 @@ -35231,18 +25278,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[339]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -35279,27 +25319,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -35336,27 +25361,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -35393,27 +25403,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -35450,28 +25445,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(339)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[339]); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set the viewport @@ -35487,51 +25466,30 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glViewport")] - public static + [Slot(340)] + public static extern void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[340]); - #if DEBUG - } - #endif - } + ; + public static partial class Ext { /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveProgramEXT")] - public static + [Slot(0)] + public static extern void ActiveProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[0]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveProgramEXT")] - public static + [Slot(0)] + public static extern void ActiveProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[0]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Set the active program object for a program pipeline object @@ -35547,18 +25505,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveShaderProgramEXT")] - public static + [Slot(1)] + public static extern void ActiveShaderProgram(Int32 pipeline, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)program, EntryPoints[1]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Set the active program object for a program pipeline object @@ -35575,18 +25526,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveShaderProgramEXT")] - public static + [Slot(1)] + public static extern void ActiveShaderProgram(UInt32 pipeline, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)program, EntryPoints[1]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -35602,18 +25546,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static + [Slot(6)] + public static extern void BeginQuery(OpenTK.Graphics.ES20.All target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.QueryTarget)target, (UInt32)id, EntryPoints[6]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -35631,18 +25568,11 @@ 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 + [Slot(6)] + public static extern void BeginQuery(OpenTK.Graphics.ES20.All target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.QueryTarget)target, (UInt32)id, EntryPoints[6]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -35658,18 +25588,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static + [Slot(6)] + public static extern void BeginQuery(OpenTK.Graphics.ES20.QueryTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.QueryTarget)target, (UInt32)id, EntryPoints[6]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -35686,18 +25609,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static + [Slot(6)] + public static extern void BeginQuery(OpenTK.Graphics.ES20.QueryTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.QueryTarget)target, (UInt32)id, EntryPoints[6]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Bind a program pipeline to the current context @@ -35708,18 +25624,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glBindProgramPipelineEXT")] - public static + [Slot(10)] + public static extern void BindProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[10]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Bind a program pipeline to the current context @@ -35731,18 +25640,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glBindProgramPipelineEXT")] - public static + [Slot(10)] + public static extern void BindProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[10]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_blend_minmax] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -35759,18 +25661,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static + [Slot(17)] + public static extern void BlendEquation(OpenTK.Graphics.ES20.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BlendEquationMode)mode, EntryPoints[17]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_blend_minmax] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -35786,18 +25681,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static + [Slot(17)] + public static extern void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BlendEquationMode)mode, EntryPoints[17]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Create a stand-alone program from an array of null-terminated source code strings @@ -35818,18 +25706,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glCreateShaderProgramEXT")] - public static + [Slot(47)] + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.ES20.All type, String @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.All)type, (String)@string, EntryPoints[47]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Create a stand-alone program from an array of null-terminated source code strings @@ -35850,59 +25731,28 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glCreateShaderProgramvEXT")] - public static + [Slot(48)] + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.ES20.All type, Int32 count, String[] strings) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.All)type, (Int32)count, (String[])strings, EntryPoints[48]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(61)] + public static extern void DeleteProgramPipeline(Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[61]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(61)] + public static extern void DeleteProgramPipeline(UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[61]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -35918,24 +25768,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(61)] + public static extern void DeleteProgramPipelines(Int32 n, Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[61]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -35951,24 +25788,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(61)] + public static extern void DeleteProgramPipelines(Int32 n, ref Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[61]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -35985,18 +25809,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(61)] + public static extern unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[61]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -36013,24 +25830,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(61)] + public static extern void DeleteProgramPipelines(Int32 n, UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[61]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -36047,24 +25851,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(61)] + public static extern void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[61]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -36081,59 +25872,28 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(61)] + public static extern unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[61]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(62)] + public static extern void DeleteQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[62]); - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(62)] + public static extern void DeleteQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[62]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -36149,24 +25909,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(62)] + public static extern void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[62]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -36182,24 +25929,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(62)] + public static extern void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[62]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -36216,18 +25950,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(62)] + public static extern unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[62]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -36244,24 +25971,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(62)] + public static extern void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[62]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -36278,24 +25992,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(62)] + public static extern void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[62]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -36312,76 +26013,36 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(62)] + public static extern unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[62]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_discard_framebuffer] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static + [Slot(75)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[75]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_discard_framebuffer] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static + [Slot(75)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[75]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_discard_framebuffer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static + [Slot(75)] + public static extern unsafe void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (IntPtr)attachments, EntryPoints[75]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a range of elements @@ -36408,18 +26069,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedEXT")] - public static + [Slot(78)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES20.All mode, Int32 start, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount, EntryPoints[78]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a range of elements @@ -36445,18 +26099,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedEXT")] - public static + [Slot(78)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount, EntryPoints[78]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -36473,24 +26120,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static + [Slot(80)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[80]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -36507,24 +26141,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static + [Slot(80)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[80]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -36542,18 +26163,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static + [Slot(80)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.All* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[80]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -36569,24 +26183,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static + [Slot(80)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[80]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -36602,24 +26203,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static + [Slot(80)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[80]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -36636,78 +26224,36 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static + [Slot(80)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[80]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glDrawBuffersIndexedEXT")] - public static + [Slot(81)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)location_ptr, (IntPtr)indices_ptr, EntryPoints[81]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glDrawBuffersIndexedEXT")] - public static + [Slot(81)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)location_ptr, (IntPtr)indices_ptr, EntryPoints[81]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glDrawBuffersIndexedEXT")] - public static + [Slot(81)] + public static extern unsafe void DrawBuffersIndexed(Int32 n, OpenTK.Graphics.ES20.All* location, Int32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)location, (IntPtr)indices, EntryPoints[81]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36739,18 +26285,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(85)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[85]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36782,27 +26321,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(85)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[85]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36834,27 +26358,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(85)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[85]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36886,27 +26395,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(85)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[85]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36938,28 +26432,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(85)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[85]); - 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 @@ -36990,18 +26468,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(85)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[85]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -37032,27 +26503,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(85)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[85]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -37083,27 +26539,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(85)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[85]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -37134,27 +26575,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(85)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[85]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -37185,59 +26611,29 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(85)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[85]); - 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 + [Slot(93)] + public static extern void EndQuery(OpenTK.Graphics.ES20.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.QueryTarget)target, EntryPoints[93]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glEndQueryEXT")] - public static + [Slot(93)] + public static extern void EndQuery(OpenTK.Graphics.ES20.QueryTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.QueryTarget)target, EntryPoints[93]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Indicate modifications to a range of a mapped buffer @@ -37259,18 +26655,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeEXT")] - public static + [Slot(111)] + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, EntryPoints[111]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Indicate modifications to a range of a mapped buffer @@ -37291,71 +26680,36 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeEXT")] - public static + [Slot(111)] + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, EntryPoints[111]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multisampled_render_to_texture] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")] - public static + [Slot(114)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples, EntryPoints[114]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multisampled_render_to_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")] - public static + [Slot(114)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples, EntryPoints[114]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(123)] + public static extern Int32 GenProgramPipeline() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* pipelines_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[123]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -37371,24 +26725,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(123)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[123]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -37404,25 +26745,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(123)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[123]); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -37439,18 +26766,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(123)] + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[123]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -37467,24 +26787,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(123)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[123]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -37501,25 +26808,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(123)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[123]); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -37536,40 +26829,19 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(123)] + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[123]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(124)] + public static extern Int32 GenQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[124]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -37585,24 +26857,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(124)] + public static extern void GenQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[124]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -37618,25 +26877,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(124)] + public static extern void GenQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[124]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -37653,18 +26898,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(124)] + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[124]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -37681,24 +26919,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(124)] + public static extern void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[124]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -37715,25 +26940,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(124)] + public static extern void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[124]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -37750,516 +26961,230 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(124)] + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[124]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetGraphicsResetStatusEXT")] - public static + [Slot(143)] + public static extern OpenTK.Graphics.ES20.All GetGraphicsResetStatus() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn(EntryPoints[143]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(145)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[145]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(145)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[145]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(145)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES20.All target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[145]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(145)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[145]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(145)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[145]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(145)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES20.All target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[145]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(145)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[145]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(145)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[145]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(145)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[145]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(145)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[145]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(145)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[145]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(145)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[145]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(147)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[147]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(147)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[147]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(147)] + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[147]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(147)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[147]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(147)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[147]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(147)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[147]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(148)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[148]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(148)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[148]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(148)] + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[148]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(148)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[148]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(148)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[148]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(148)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[148]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -38290,24 +27215,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(150)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[150]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -38338,25 +27250,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(150)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[150]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -38388,18 +27286,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(150)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[150]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -38431,24 +27322,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(150)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[150]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -38480,25 +27358,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(150)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[150]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -38530,18 +27394,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(150)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[150]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -38567,24 +27424,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(165)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[165]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -38610,25 +27454,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(165)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[165]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -38655,18 +27485,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(165)] + public static extern unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[165]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -38693,24 +27516,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(165)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[165]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -38737,25 +27547,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(165)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[165]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -38782,18 +27578,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(165)] + public static extern unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[165]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -38814,24 +27603,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(166)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr, EntryPoints[166]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -38852,25 +27628,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(166)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr, EntryPoints[166]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -38892,18 +27654,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(166)] + public static extern unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params, EntryPoints[166]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -38925,24 +27680,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(166)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr, EntryPoints[166]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -38964,25 +27706,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(166)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr, EntryPoints[166]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -39004,139 +27732,64 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(166)] + public static extern unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params, EntryPoints[166]); - #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 = "glGetQueryivEXT")] - public static + [Slot(167)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[167]); - } - } - #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 = "glGetQueryivEXT")] - public static + [Slot(167)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[167]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(167)] + public static extern unsafe void GetQuery(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (IntPtr)@params, EntryPoints[167]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static + [Slot(167)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[167]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static + [Slot(167)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[167]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(167)] + public static extern unsafe void GetQuery(OpenTK.Graphics.ES20.QueryTarget target, OpenTK.Graphics.ES20.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (IntPtr)@params, EntryPoints[167]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39157,24 +27810,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[168]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39195,25 +27835,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[168]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39235,18 +27861,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(168)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[168]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39267,24 +27886,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[168]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39305,25 +27911,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[168]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39345,18 +27937,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(168)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[168]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39379,24 +27964,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[168]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39419,25 +27991,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[168]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39460,18 +28018,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(168)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[168]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39493,24 +28044,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[168]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39532,25 +28070,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[168]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39572,18 +28096,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(168)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[168]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39604,24 +28121,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(169)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[169]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39642,25 +28146,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(169)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[169]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39682,18 +28172,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(169)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[169]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39714,24 +28197,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(169)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[169]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39752,25 +28222,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(169)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[169]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39792,18 +28248,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(169)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[169]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39826,24 +28275,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(169)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[169]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39866,25 +28302,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(169)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[169]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39907,18 +28329,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(169)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[169]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39940,24 +28355,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(169)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[169]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39979,25 +28381,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(169)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[169]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -40019,18 +28407,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(169)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[169]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -40053,24 +28434,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(170)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[170]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -40093,25 +28461,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(170)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[170]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -40134,18 +28488,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(170)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[170]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -40167,24 +28514,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(170)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[170]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -40206,25 +28540,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(170)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[170]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -40246,18 +28566,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(170)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[170]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -40280,24 +28593,11 @@ 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 + [Slot(171)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[171]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -40320,25 +28620,11 @@ 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 + [Slot(171)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[171]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -40361,18 +28647,11 @@ 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 + [Slot(171)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[171]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -40394,24 +28673,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static + [Slot(171)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[171]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -40433,25 +28699,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static + [Slot(171)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[171]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -40473,33 +28725,19 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static + [Slot(171)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[171]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glInsertEventMarkerEXT")] - public static + [Slot(189)] + public static extern void InsertEventMarker(Int32 length, String marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)length, (String)marker, EntryPoints[189]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Determine if a name corresponds to a program pipeline object @@ -40510,18 +28748,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glIsProgramPipelineEXT")] - public static + [Slot(195)] + public static extern bool IsProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)pipeline, EntryPoints[195]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Determine if a name corresponds to a program pipeline object @@ -40533,18 +28764,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glIsProgramPipelineEXT")] - public static + [Slot(195)] + public static extern bool IsProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)pipeline, EntryPoints[195]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Determine if a name corresponds to a query object @@ -40555,18 +28779,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glIsQueryEXT")] - public static + [Slot(196)] + public static extern bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[196]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Determine if a name corresponds to a query object @@ -40578,49 +28795,28 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glIsQueryEXT")] - public static + [Slot(196)] + public static extern bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[196]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glLabelObjectEXT")] - public static + [Slot(202)] + public static extern void LabelObject(OpenTK.Graphics.ES20.All type, Int32 @object, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)length, (String)label, EntryPoints[202]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glLabelObjectEXT")] - public static + [Slot(202)] + public static extern void LabelObject(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)length, (String)label, EntryPoints[202]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -40646,18 +28842,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static + [Slot(206)] + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length, Int32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access, EntryPoints[206]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -40685,18 +28874,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static + [Slot(206)] + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length, UInt32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access, EntryPoints[206]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -40722,18 +28904,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static + [Slot(206)] + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, Int32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access, EntryPoints[206]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -40760,18 +28935,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static + [Slot(206)] + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access, EntryPoints[206]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -40798,25 +28966,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(207)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[207]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -40843,25 +28997,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(207)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[207]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -40889,18 +29029,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(207)] + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.ES20.All mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[207]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -40926,25 +29059,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(207)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[207]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -40970,25 +29089,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(207)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[207]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -41015,18 +29120,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(207)] + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[207]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41058,24 +29156,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[208]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41107,33 +29192,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41165,33 +29229,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41223,33 +29266,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41281,34 +29303,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - 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 @@ -41340,24 +29340,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[208]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41389,33 +29376,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41447,33 +29413,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41505,33 +29450,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41563,34 +29487,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - 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 @@ -41623,18 +29525,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[208]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41667,27 +29562,12 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41720,27 +29600,12 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41773,27 +29638,12 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41826,28 +29676,12 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - 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 @@ -41878,24 +29712,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[208]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41926,33 +29747,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41983,33 +29783,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42040,33 +29819,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42097,34 +29855,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - 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 @@ -42155,24 +29891,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[208]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42203,33 +29926,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42260,33 +29962,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42317,33 +29998,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42374,34 +30034,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - 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 @@ -42433,18 +30071,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[208]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42476,27 +30107,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42528,27 +30144,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42580,27 +30181,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42632,43 +30218,20 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[208]); - 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 + [Slot(217)] + public static extern void PopGroupMarker() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[217]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -42689,18 +30252,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static + [Slot(219)] + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES20.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameterName)pname, (Int32)value, EntryPoints[219]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -42721,18 +30277,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static + [Slot(219)] + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES20.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameterName)pname, (Int32)value, EntryPoints[219]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -42755,18 +30304,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static + [Slot(219)] + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.ES20.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameterName)pname, (Int32)value, EntryPoints[219]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -42788,18 +30330,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static + [Slot(219)] + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.ES20.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameterName)pname, (Int32)value, EntryPoints[219]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -42838,18 +30373,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static + [Slot(220)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, EntryPoints[220]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -42889,18 +30417,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static + [Slot(220)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, EntryPoints[220]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -42939,24 +30460,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(221)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -42995,24 +30503,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(221)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43052,18 +30547,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(221)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[221]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43103,24 +30591,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(221)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43160,24 +30635,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(221)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43217,18 +30679,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(221)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[221]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43267,18 +30722,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static + [Slot(222)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, EntryPoints[222]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43318,18 +30766,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static + [Slot(222)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, EntryPoints[222]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43368,24 +30809,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(223)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[223]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43424,24 +30852,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(223)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[223]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43481,18 +30896,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(223)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[223]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43532,24 +30940,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(223)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[223]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43589,24 +30984,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(223)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[223]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43646,18 +31028,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(223)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[223]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43697,18 +31072,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uiEXT")] - public static + [Slot(224)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, EntryPoints[224]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43748,24 +31116,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static + [Slot(225)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[225]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43805,24 +31160,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static + [Slot(225)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[225]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43862,18 +31204,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static + [Slot(225)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[225]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43912,18 +31247,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static + [Slot(226)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, EntryPoints[226]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43963,18 +31291,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static + [Slot(226)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, EntryPoints[226]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44013,24 +31334,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(227)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[227]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44069,24 +31377,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(227)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[227]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44126,18 +31421,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(227)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[227]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44177,24 +31465,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(227)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[227]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44234,24 +31509,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(227)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[227]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44291,18 +31553,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(227)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[227]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44341,18 +31596,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static + [Slot(228)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, EntryPoints[228]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44392,18 +31640,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static + [Slot(228)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, EntryPoints[228]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44442,24 +31683,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static + [Slot(229)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44499,18 +31727,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static + [Slot(229)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[229]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44550,24 +31771,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static + [Slot(229)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44607,18 +31815,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static + [Slot(229)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[229]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44658,18 +31859,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uiEXT")] - public static + [Slot(230)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, EntryPoints[230]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44709,24 +31903,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static + [Slot(231)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[231]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44766,24 +31947,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static + [Slot(231)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[231]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44823,18 +31991,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static + [Slot(231)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[231]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44873,18 +32034,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static + [Slot(232)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[232]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44924,18 +32078,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static + [Slot(232)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[232]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44974,24 +32121,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(233)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[233]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45030,24 +32164,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(233)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[233]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45087,18 +32208,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(233)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[233]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45138,24 +32252,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(233)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[233]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45195,24 +32296,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(233)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[233]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45252,18 +32340,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(233)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[233]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45302,18 +32383,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static + [Slot(234)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[234]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45353,18 +32427,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static + [Slot(234)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[234]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45403,24 +32470,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(235)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[235]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45459,24 +32513,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(235)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[235]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45516,18 +32557,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(235)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[235]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45567,24 +32601,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(235)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[235]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45624,24 +32645,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(235)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[235]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45681,18 +32689,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(235)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[235]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45732,18 +32733,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uiEXT")] - public static + [Slot(236)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, EntryPoints[236]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45783,24 +32777,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static + [Slot(237)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[237]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45840,24 +32821,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static + [Slot(237)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[237]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45897,18 +32865,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static + [Slot(237)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[237]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45947,18 +32908,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static + [Slot(238)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[238]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45998,18 +32952,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static + [Slot(238)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[238]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46048,24 +32995,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(239)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[239]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46104,24 +33038,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(239)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[239]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46161,18 +33082,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(239)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[239]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46212,24 +33126,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(239)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[239]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46269,24 +33170,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(239)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[239]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46326,18 +33214,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(239)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[239]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46376,18 +33257,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static + [Slot(240)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[240]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46427,18 +33301,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static + [Slot(240)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[240]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46477,24 +33344,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(241)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[241]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46533,24 +33387,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(241)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[241]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46590,18 +33431,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(241)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[241]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46641,24 +33475,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(241)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[241]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46698,24 +33519,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(241)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[241]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46755,18 +33563,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(241)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[241]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46806,18 +33607,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uiEXT")] - public static + [Slot(242)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3, EntryPoints[242]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46857,24 +33651,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static + [Slot(243)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[243]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46914,24 +33695,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static + [Slot(243)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[243]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46971,1095 +33739,487 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static + [Slot(243)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[243]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[244]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[244]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(244)] + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[244]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[244]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[244]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(244)] + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[244]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(245)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[245]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(245)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[245]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(245)] + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[245]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(245)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[245]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(245)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[245]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(245)] + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[245]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(246)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[246]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(246)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[246]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(246)] + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[246]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(246)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[246]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(246)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[246]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(246)] + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[246]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(247)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[247]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(247)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[247]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(247)] + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[247]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(247)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[247]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(247)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[247]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(247)] + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[247]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(248)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(248)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(248)] + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[248]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(248)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(248)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(248)] + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[248]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(249)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[249]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(249)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[249]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(249)] + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[249]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(249)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[249]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(249)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[249]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(249)] + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[249]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static + [Slot(250)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[250]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static + [Slot(250)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[250]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(250)] + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[250]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(250)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[250]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(250)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[250]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(250)] + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[250]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(251)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[251]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(251)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[251]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(251)] + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[251]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(251)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[251]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(251)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[251]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(251)] + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[251]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(252)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[252]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(252)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[252]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(252)] + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[252]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(252)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[252]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(252)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[252]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(252)] + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[252]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glPushGroupMarkerEXT")] - public static + [Slot(255)] + public static extern void PushGroupMarker(Int32 length, String marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)length, (String)marker, EntryPoints[255]); - #if DEBUG - } - #endif - } + ; + /// [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. @@ -48075,18 +34235,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glQueryCounterEXT")] - public static + [Slot(256)] + public static extern void QueryCounter(Int32 id, OpenTK.Graphics.ES20.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.All)target, EntryPoints[256]); - #if DEBUG - } - #endif - } + ; + /// [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. @@ -48103,145 +34256,63 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glQueryCounterEXT")] - public static + [Slot(256)] + public static extern void QueryCounter(UInt32 id, OpenTK.Graphics.ES20.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES20.All)target, EntryPoints[256]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glReadBufferIndexedEXT")] - public static + [Slot(257)] + public static extern void ReadBufferIndexed(OpenTK.Graphics.ES20.All src, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)src, (Int32)index, EntryPoints[257]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(259)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (Int32)bufSize, (IntPtr)data, EntryPoints[259]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[259]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[259]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[259]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[259]); - 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 @@ -48273,18 +34344,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static + [Slot(265)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[265]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -48315,18 +34379,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static + [Slot(265)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[265]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a one-dimensional texture @@ -48352,18 +34409,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage1DEXT")] - public static + [Slot(289)] + public static extern void TexStorage1D(OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, EntryPoints[289]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -48395,18 +34445,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage2DEXT")] - public static + [Slot(290)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES20.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[290]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -48437,18 +34480,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage2DEXT")] - public static + [Slot(290)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES20.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[290]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -48485,18 +34521,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage3DEXT")] - public static + [Slot(291)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES20.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[291]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -48532,111 +34561,62 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage3DEXT")] - public static + [Slot(291)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES20.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[291]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static + [Slot(294)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, EntryPoints[294]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static + [Slot(294)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, EntryPoints[294]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static + [Slot(295)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, EntryPoints[295]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static + [Slot(295)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, EntryPoints[295]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static + [Slot(296)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[296]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static + [Slot(296)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[296]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Bind stages of a program object to a program pipeline @@ -48657,18 +34637,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseProgramStagesEXT")] - public static + [Slot(324)] + public static extern void UseProgramStages(Int32 pipeline, Int32 stages, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)stages, (UInt32)program, EntryPoints[324]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Bind stages of a program object to a program pipeline @@ -48690,49 +34663,28 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseProgramStagesEXT")] - public static + [Slot(324)] + public static extern void UseProgramStages(UInt32 pipeline, UInt32 stages, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)stages, (UInt32)program, EntryPoints[324]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseShaderProgramEXT")] - public static + [Slot(325)] + public static extern void UseShaderProgram(OpenTK.Graphics.ES20.All type, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)type, (UInt32)program, EntryPoints[325]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseShaderProgramEXT")] - public static + [Slot(325)] + public static extern void UseShaderProgram(OpenTK.Graphics.ES20.All type, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)type, (UInt32)program, EntryPoints[325]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Validate a program pipeline object against current GL state @@ -48743,18 +34695,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glValidateProgramPipelineEXT")] - public static + [Slot(327)] + public static extern void ValidateProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[327]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Validate a program pipeline object against current GL state @@ -48766,18 +34711,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glValidateProgramPipelineEXT")] - public static + [Slot(327)] + public static extern void ValidateProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[327]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -48793,18 +34731,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorEXT")] - public static + [Slot(337)] + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[337]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -48821,18 +34752,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorEXT")] - public static + [Slot(337)] + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[337]); - #if DEBUG - } - #endif - } + ; + } @@ -48840,34 +34764,20 @@ namespace OpenTK.Graphics.ES20 { /// [requires: IMG_multisampled_render_to_texture] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")] - public static + [Slot(115)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples, EntryPoints[115]); - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_multisampled_render_to_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")] - public static + [Slot(115)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples, EntryPoints[115]); - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -48899,18 +34809,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleIMG")] - public static + [Slot(266)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[266]); - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -48941,18 +34844,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleIMG")] - public static + [Slot(266)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[266]); - #if DEBUG - } - #endif - } + ; + } @@ -48972,18 +34868,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(51)] + public static extern void DebugMessageCallback(DebugProcKhr callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam, EntryPoints[51]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -48999,27 +34888,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(51)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[51]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -49035,27 +34909,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(51)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[51]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -49071,27 +34930,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(51)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[51]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -49107,28 +34951,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(51)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[51]); - 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 @@ -49164,24 +34992,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(53)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[53]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49217,24 +35032,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(53)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[53]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49271,18 +35073,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(53)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[53]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49320,24 +35115,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(53)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[53]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49375,24 +35157,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(53)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[53]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49430,18 +35199,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(53)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[53]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49477,24 +35239,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(53)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[53]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49530,24 +35279,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(53)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[53]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49584,18 +35320,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(53)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[53]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49632,24 +35361,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(53)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[53]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49686,24 +35402,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(53)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[53]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49740,18 +35443,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(53)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[53]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -49787,18 +35483,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static + [Slot(55)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[55]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -49836,18 +35525,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static + [Slot(55)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[55]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -49883,18 +35565,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static + [Slot(55)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[55]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -49931,18 +35606,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static + [Slot(55)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[55]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -49988,28 +35656,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(136)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[136]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50055,34 +35706,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(136)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[136]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50129,18 +35757,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(136)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[136]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50186,28 +35807,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(136)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[136]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50253,34 +35857,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(136)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[136]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50327,18 +35908,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(136)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[136]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50386,28 +35960,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(136)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[136]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50455,34 +36012,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(136)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[136]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50530,18 +36064,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(136)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[136]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50588,28 +36115,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(136)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[136]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50656,34 +36166,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(136)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[136]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50730,18 +36217,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(136)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[136]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50772,24 +36252,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(151)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[151]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50820,25 +36287,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(151)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[151]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50870,18 +36323,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(151)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[151]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50914,24 +36360,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(151)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[151]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50964,25 +36397,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(151)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[151]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -51015,18 +36434,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(151)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[151]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -51057,24 +36469,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(151)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[151]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -51105,25 +36504,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(151)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[151]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -51155,18 +36540,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(151)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[151]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -51198,24 +36576,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(151)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[151]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -51247,25 +36612,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(151)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[151]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -51297,18 +36648,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(151)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[151]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51334,24 +36678,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[153]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51377,25 +36708,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[153]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51422,18 +36739,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[153]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51459,33 +36769,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[153]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51511,34 +36800,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[153]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51565,27 +36832,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[153]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51611,33 +36863,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[153]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51663,34 +36894,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[153]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51717,27 +36926,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[153]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51763,33 +36957,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[153]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51815,34 +36988,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[153]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51869,27 +37020,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[153]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51915,34 +37051,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[153]); - 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 @@ -51968,35 +37082,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[153]); - 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 @@ -52023,140 +37114,56 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(153)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[153]); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(161)] + public static extern void GetPointer(OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)pname, (IntPtr)@params, EntryPoints[161]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(161)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[161]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(161)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[161]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(161)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[161]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(161)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[161]); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -52182,18 +37189,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static + [Slot(210)] + public static extern void ObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[210]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -52221,18 +37221,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static + [Slot(210)] + public static extern void ObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[210]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -52258,18 +37251,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static + [Slot(210)] + public static extern void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[210]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -52296,18 +37282,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static + [Slot(210)] + public static extern void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[210]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -52328,18 +37307,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(212)] + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)length, (String)label, EntryPoints[212]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -52360,27 +37332,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(212)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[212]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -52401,27 +37358,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(212)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[212]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -52442,27 +37384,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(212)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[212]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -52483,45 +37410,22 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(212)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[212]); - 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 + [Slot(216)] + public static extern void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[216]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -52547,18 +37451,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static + [Slot(254)] + public static extern void PushDebugGroup(OpenTK.Graphics.ES20.All source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[254]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -52585,18 +37482,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static + [Slot(254)] + public static extern void PushDebugGroup(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[254]); - #if DEBUG - } - #endif - } + ; + } @@ -52604,33 +37494,19 @@ namespace OpenTK.Graphics.ES20 { /// [requires: NV_blend_equation_advanced] [AutoGenerated(Category = "NV_blend_equation_advanced", Version = "", EntryPoint = "glBlendBarrierNV")] - public static + [Slot(14)] + public static extern void BlendBarrier() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[14]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_blend_equation_advanced] [AutoGenerated(Category = "NV_blend_equation_advanced", Version = "", EntryPoint = "glBlendParameteriNV")] - public static + [Slot(21)] + public static extern void BlendParameter(OpenTK.Graphics.ES20.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)pname, (Int32)value, EntryPoints[21]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -52657,18 +37533,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferNV")] - public static + [Slot(23)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[23]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -52694,18 +37563,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferNV")] - public static + [Slot(23)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[23]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_copy_buffer] /// Copy part of the data store of a buffer object to the data store of another buffer object @@ -52737,18 +37599,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_copy_buffer", Version = "", EntryPoint = "glCopyBufferSubDataNV")] - public static + [Slot(38)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)readTarget, (OpenTK.Graphics.ES20.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size, EntryPoints[38]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_copy_buffer] /// Copy part of the data store of a buffer object to the data store of another buffer object @@ -52779,207 +37634,96 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_copy_buffer", Version = "", EntryPoint = "glCopyBufferSubDataNV")] - public static + [Slot(38)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)readTarget, (OpenTK.Graphics.ES20.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size, EntryPoints[38]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_coverage_sample] [AutoGenerated(Category = "NV_coverage_sample", Version = "", EntryPoint = "glCoverageMaskNV")] - public static + [Slot(43)] + public static extern void CoverageMask(bool mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)mask, EntryPoints[43]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_coverage_sample] [AutoGenerated(Category = "NV_coverage_sample", Version = "", EntryPoint = "glCoverageOperationNV")] - public static + [Slot(44)] + public static extern void CoverageOperation(OpenTK.Graphics.ES20.All operation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)operation, EntryPoints[44]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern void DeleteFence(Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[57]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern void DeleteFence(UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[57]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern void DeleteFences(Int32 n, Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[57]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern void DeleteFences(Int32 n, ref Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[57]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern unsafe void DeleteFences(Int32 n, Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[57]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern void DeleteFences(Int32 n, UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[57]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern void DeleteFences(Int32 n, ref UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[57]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(57)] + public static extern unsafe void DeleteFences(Int32 n, UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[57]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a range of elements @@ -53006,18 +37750,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedNV")] - public static + [Slot(79)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES20.All mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount, EntryPoints[79]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a range of elements @@ -53043,18 +37780,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedNV")] - public static + [Slot(79)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount, EntryPoints[79]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -53071,24 +37801,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static + [Slot(82)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[82]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -53105,24 +37822,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static + [Slot(82)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[82]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -53140,18 +37844,11 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static + [Slot(82)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.All* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[82]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -53167,24 +37864,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static + [Slot(82)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[82]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -53200,24 +37884,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static + [Slot(82)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[82]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -53234,18 +37905,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static + [Slot(82)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[82]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53277,18 +37941,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(86)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[86]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53320,27 +37977,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(86)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[86]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53372,27 +38014,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(86)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[86]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53424,27 +38051,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(86)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[86]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53476,28 +38088,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(86)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[86]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53528,18 +38124,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(86)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[86]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53570,27 +38159,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(86)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[86]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53621,27 +38195,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(86)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[86]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53672,27 +38231,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(86)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[86]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53723,352 +38267,158 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(86)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[86]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static + [Slot(109)] + public static extern void FinishFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, EntryPoints[109]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static + [Slot(109)] + public static extern void FinishFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, EntryPoints[109]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(120)] + public static extern Int32 GenFence() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* fences_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[120]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(120)] + public static extern void GenFences(Int32 n, [OutAttribute] Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[120]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(120)] + public static extern void GenFences(Int32 n, [OutAttribute] out Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[120]); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(120)] + public static extern unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[120]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(120)] + public static extern void GenFences(Int32 n, [OutAttribute] UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[120]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(120)] + public static extern void GenFences(Int32 n, [OutAttribute] out UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[120]); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(120)] + public static extern unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[120]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(140)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr, EntryPoints[140]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(140)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr, EntryPoints[140]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(140)] + public static extern unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params, EntryPoints[140]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(140)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr, EntryPoints[140]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(140)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr, EntryPoints[140]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(140)] + public static extern unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params, EntryPoints[140]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static + [Slot(192)] + public static extern bool IsFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[192]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static + [Slot(192)] + public static extern bool IsFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[192]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_read_buffer] /// Select a color buffer source for pixels @@ -54079,18 +38429,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_read_buffer", Version = "", EntryPoint = "glReadBufferNV")] - public static + [Slot(258)] + public static extern void ReadBuffer(OpenTK.Graphics.ES20.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)mode, EntryPoints[258]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -54122,18 +38465,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleNV")] - public static + [Slot(267)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[267]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -54164,428 +38500,195 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleNV")] - public static + [Slot(267)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[267]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static + [Slot(272)] + public static extern void SetFence(Int32 fence, OpenTK.Graphics.ES20.All condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES20.All)condition, EntryPoints[272]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static + [Slot(272)] + public static extern void SetFence(UInt32 fence, OpenTK.Graphics.ES20.All condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES20.All)condition, EntryPoints[272]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static + [Slot(282)] + public static extern bool TestFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[282]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static + [Slot(282)] + public static extern bool TestFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[282]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x3fvNV")] - public static + [Slot(314)] + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[314]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x3fvNV")] - public static + [Slot(314)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[314]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x3fvNV")] - public static + [Slot(314)] + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[314]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x4fvNV")] - public static + [Slot(315)] + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[315]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x4fvNV")] - public static + [Slot(315)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[315]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x4fvNV")] - public static + [Slot(315)] + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[315]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x2fvNV")] - public static + [Slot(317)] + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[317]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x2fvNV")] - public static + [Slot(317)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[317]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x2fvNV")] - public static + [Slot(317)] + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[317]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x4fvNV")] - public static + [Slot(318)] + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[318]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x4fvNV")] - public static + [Slot(318)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[318]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x4fvNV")] - public static + [Slot(318)] + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[318]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x2fvNV")] - public static + [Slot(320)] + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[320]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x2fvNV")] - public static + [Slot(320)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[320]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x2fvNV")] - public static + [Slot(320)] + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[320]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x3fvNV")] - public static + [Slot(321)] + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[321]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x3fvNV")] - public static + [Slot(321)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[321]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x3fvNV")] - public static + [Slot(321)] + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[321]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -54601,18 +38704,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorNV")] - public static + [Slot(338)] + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[338]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -54629,18 +38725,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorNV")] - public static + [Slot(338)] + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[338]); - #if DEBUG - } - #endif - } + ; + } @@ -54655,18 +38744,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")] - public static + [Slot(13)] + public static extern void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[13]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Bind a vertex array object @@ -54678,18 +38760,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")] - public static + [Slot(13)] + public static extern void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[13]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -54741,18 +38816,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(35)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[35]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -54804,27 +38872,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(35)] + 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 - { - InteropHelper.Call((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(), EntryPoints[35]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -54876,27 +38929,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(35)] + 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 - { - InteropHelper.Call((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(), EntryPoints[35]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -54948,27 +38986,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(35)] + 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 - { - InteropHelper.Call((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(), EntryPoints[35]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -55020,28 +39043,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(35)] + 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 - { - InteropHelper.Call((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(), EntryPoints[35]); - 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 @@ -55092,18 +39099,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(35)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[35]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -55154,27 +39154,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(35)] + 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 - { - InteropHelper.Call((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(), EntryPoints[35]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -55225,27 +39210,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(35)] + 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 - { - InteropHelper.Call((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(), EntryPoints[35]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -55296,27 +39266,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(35)] + 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 - { - InteropHelper.Call((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(), EntryPoints[35]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -55367,28 +39322,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(35)] + 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 - { - InteropHelper.Call((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(), EntryPoints[35]); - 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 @@ -55445,18 +39384,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(37)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[37]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55513,27 +39445,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(37)] + 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 - { - InteropHelper.Call((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(), EntryPoints[37]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55590,27 +39507,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(37)] + 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 - { - InteropHelper.Call((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(), EntryPoints[37]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55667,27 +39569,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(37)] + 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 - { - InteropHelper.Call((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(), EntryPoints[37]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55744,28 +39631,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(37)] + 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 - { - InteropHelper.Call((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(), EntryPoints[37]); - 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 @@ -55821,18 +39692,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(37)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[37]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55888,27 +39752,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(37)] + 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 - { - InteropHelper.Call((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(), EntryPoints[37]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55964,27 +39813,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(37)] + 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 - { - InteropHelper.Call((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(), EntryPoints[37]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -56040,27 +39874,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(37)] + 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 - { - InteropHelper.Call((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(), EntryPoints[37]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -56116,28 +39935,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(37)] + 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 - { - InteropHelper.Call((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(), EntryPoints[37]); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Copy a three-dimensional texture subimage @@ -56184,18 +39987,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCopyTexSubImage3DOES")] - public static + [Slot(41)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[41]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Copy a three-dimensional texture subimage @@ -56241,59 +40037,28 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCopyTexSubImage3DOES")] - public static + [Slot(41)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[41]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(67)] + public static extern void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[67]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(67)] + public static extern void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[67]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -56309,24 +40074,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(67)] + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[67]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -56342,24 +40094,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(67)] + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[67]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -56376,18 +40115,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(67)] + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[67]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -56404,24 +40136,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(67)] + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[67]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -56438,24 +40157,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(67)] + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[67]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -56472,101 +40178,52 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(67)] + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[67]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_EGL_image] [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetRenderbufferStorageOES")] - public static + [Slot(87)] + public static extern void EGLImageTargetRenderbufferStorage(OpenTK.Graphics.ES20.All target, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (IntPtr)image, EntryPoints[87]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_EGL_image] [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetTexture2DOES")] - public static + [Slot(88)] + public static extern void EGLImageTargetTexture2D(OpenTK.Graphics.ES20.All target, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (IntPtr)image, EntryPoints[88]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glFramebufferTexture3DOES")] - public static + [Slot(116)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset, EntryPoints[116]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glFramebufferTexture3DOES")] - public static + [Slot(116)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset, EntryPoints[116]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(127)] + public static extern Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[127]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -56582,24 +40239,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(127)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[127]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -56615,25 +40259,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(127)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[127]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -56650,18 +40280,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(127)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[127]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -56678,24 +40301,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(127)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[127]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -56712,25 +40322,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(127)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[127]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -56747,247 +40343,104 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(127)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[127]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(134)] + public static extern void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params, EntryPoints[134]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(134)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[134]); - } - 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 + [Slot(134)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[134]); - } - 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 + [Slot(134)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[134]); - } - 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 + [Slot(134)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[134]); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(134)] + public static extern void GetBufferPointer(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params, EntryPoints[134]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(134)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[134]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(134)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[134]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(134)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[134]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(134)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[134]); - @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 @@ -57018,25 +40471,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[162]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57067,34 +40506,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - } - 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 @@ -57125,34 +40542,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - } - 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 @@ -57183,34 +40578,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - } - 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 @@ -57241,35 +40614,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - 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 @@ -57300,27 +40650,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[162]); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57351,36 +40685,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - 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 @@ -57411,36 +40721,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - 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 @@ -57471,36 +40757,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - 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 @@ -57531,37 +40793,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - 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 @@ -57593,18 +40830,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary, EntryPoints[162]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57636,27 +40866,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - } - 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 @@ -57688,27 +40903,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - } - 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 @@ -57740,27 +40940,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - } - 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 @@ -57792,28 +40977,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - 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 @@ -57845,25 +41014,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[162]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57895,34 +41050,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - } - 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 @@ -57954,34 +41087,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - } - 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 @@ -58013,34 +41124,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - } - 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 @@ -58072,35 +41161,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - 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 @@ -58132,27 +41198,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[162]); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -58184,36 +41234,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - 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 @@ -58245,36 +41271,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - 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 @@ -58306,36 +41308,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - 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 @@ -58367,37 +41345,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - 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 @@ -58429,18 +41382,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary, EntryPoints[162]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -58472,27 +41418,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - } - 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 @@ -58524,27 +41455,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - } - 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 @@ -58576,27 +41492,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - } - 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 @@ -58628,28 +41529,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[162]); - 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 @@ -58660,18 +41545,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")] - public static + [Slot(201)] + public static extern bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[201]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -58683,18 +41561,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")] - public static + [Slot(201)] + public static extern bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[201]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] /// Map a buffer object's data store @@ -58710,18 +41581,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glMapBufferOES")] - public static + [Slot(205)] + public static extern IntPtr MapBuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)access, EntryPoints[205]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58747,18 +41611,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(218)] + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary, (Int32)length, EntryPoints[218]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58784,27 +41641,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(218)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[218]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58830,27 +41672,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(218)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[218]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58876,27 +41703,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(218)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[218]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58922,28 +41734,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(218)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[218]); - 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 @@ -58970,18 +41766,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(218)] + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary, (Int32)length, EntryPoints[218]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -59008,27 +41797,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(218)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[218]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -59055,27 +41829,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(218)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[218]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -59102,27 +41861,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(218)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[218]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -59149,28 +41893,12 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(218)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[218]); - binary = (T2)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59227,18 +41955,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[284]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59295,27 +42016,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59372,27 +42078,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59449,27 +42140,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59526,28 +42202,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59604,18 +42264,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[284]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59672,27 +42325,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59749,27 +42387,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59826,27 +42449,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59903,28 +42511,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59981,18 +42573,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[284]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60049,27 +42634,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60126,27 +42696,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60203,27 +42758,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60280,28 +42820,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60357,18 +42881,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[284]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60424,27 +42941,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60500,27 +43002,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60576,27 +43063,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60652,28 +43124,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((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(), EntryPoints[284]); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -60735,18 +43191,11 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(293)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[293]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -60808,27 +43257,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(293)] + 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 - { - InteropHelper.Call((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(), EntryPoints[293]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -60890,27 +43324,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(293)] + 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 - { - InteropHelper.Call((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(), EntryPoints[293]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -60972,27 +43391,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(293)] + 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 - { - InteropHelper.Call((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(), EntryPoints[293]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -61054,28 +43458,12 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(293)] + 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 - { - InteropHelper.Call((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(), EntryPoints[293]); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -61136,18 +43524,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(293)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[293]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -61208,27 +43589,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(293)] + 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 - { - InteropHelper.Call((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(), EntryPoints[293]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -61289,27 +43655,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(293)] + 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 - { - InteropHelper.Call((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(), EntryPoints[293]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -61370,27 +43721,12 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(293)] + 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 - { - InteropHelper.Call((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(), EntryPoints[293]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -61451,59 +43787,29 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(293)] + 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 - { - InteropHelper.Call((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(), EntryPoints[293]); - 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 + [Slot(322)] + public static extern bool UnmapBuffer(OpenTK.Graphics.ES20.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.BufferTarget)target, EntryPoints[322]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glUnmapBufferOES")] - public static + [Slot(322)] + public static extern bool UnmapBuffer(OpenTK.Graphics.ES20.BufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES20.BufferTarget)target, EntryPoints[322]); - #if DEBUG - } - #endif - } + ; + } @@ -61523,1654 +43829,712 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "QCOM_alpha_test", Version = "", EntryPoint = "glAlphaFuncQCOM")] - public static + [Slot(3)] + public static extern void AlphaFunc(OpenTK.Graphics.ES20.All func, Single @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)func, (Single)@ref, EntryPoints[3]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")] - public static + [Slot(73)] + public static extern void DisableDriverControl(Int32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, EntryPoints[73]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")] - public static + [Slot(73)] + public static extern void DisableDriverControl(UInt32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, EntryPoints[73]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")] - public static + [Slot(90)] + public static extern void EnableDriverControl(Int32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, EntryPoints[90]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")] - public static + [Slot(90)] + public static extern void EnableDriverControl(UInt32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, EntryPoints[90]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_tiled_rendering] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")] - public static + [Slot(94)] + public static extern void EndTiling(Int32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)preserveMask, EntryPoints[94]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_tiled_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")] - public static + [Slot(94)] + public static extern void EndTiling(UInt32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)preserveMask, EntryPoints[94]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(95)] + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (IntPtr)@params, EntryPoints[95]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(95)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[95]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(95)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[95]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(95)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[95]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(95)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[95]); - @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 + [Slot(96)] + public static extern 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) - { - InteropHelper.Call((IntPtr)buffers_ptr, (Int32)maxBuffers, (IntPtr)numBuffers_ptr, EntryPoints[96]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(96)] + public static extern 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) - { - InteropHelper.Call((IntPtr)buffers_ptr, (Int32)maxBuffers, (IntPtr)numBuffers_ptr, EntryPoints[96]); - buffers = *buffers_ptr; - numBuffers = *numBuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(96)] + public static extern unsafe void ExtGetBuffers([OutAttribute] Int32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)buffers, (Int32)maxBuffers, (IntPtr)numBuffers, EntryPoints[96]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(96)] + public static extern 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) - { - InteropHelper.Call((IntPtr)buffers_ptr, (Int32)maxBuffers, (IntPtr)numBuffers_ptr, EntryPoints[96]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(96)] + public static extern 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) - { - InteropHelper.Call((IntPtr)buffers_ptr, (Int32)maxBuffers, (IntPtr)numBuffers_ptr, EntryPoints[96]); - buffers = *buffers_ptr; - numBuffers = *numBuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(96)] + public static extern unsafe void ExtGetBuffers([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)buffers, (Int32)maxBuffers, (IntPtr)numBuffers, EntryPoints[96]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(97)] + public static extern 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) - { - InteropHelper.Call((IntPtr)framebuffers_ptr, (Int32)maxFramebuffers, (IntPtr)numFramebuffers_ptr, EntryPoints[97]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(97)] + public static extern 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) - { - InteropHelper.Call((IntPtr)framebuffers_ptr, (Int32)maxFramebuffers, (IntPtr)numFramebuffers_ptr, EntryPoints[97]); - framebuffers = *framebuffers_ptr; - numFramebuffers = *numFramebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(97)] + public static extern unsafe void ExtGetFramebuffers([OutAttribute] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)framebuffers, (Int32)maxFramebuffers, (IntPtr)numFramebuffers, EntryPoints[97]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(97)] + public static extern 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) - { - InteropHelper.Call((IntPtr)framebuffers_ptr, (Int32)maxFramebuffers, (IntPtr)numFramebuffers_ptr, EntryPoints[97]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(97)] + public static extern 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) - { - InteropHelper.Call((IntPtr)framebuffers_ptr, (Int32)maxFramebuffers, (IntPtr)numFramebuffers_ptr, EntryPoints[97]); - framebuffers = *framebuffers_ptr; - numFramebuffers = *numFramebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(97)] + public static extern unsafe void ExtGetFramebuffers([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)framebuffers, (Int32)maxFramebuffers, (IntPtr)numFramebuffers, EntryPoints[97]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(98)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (IntPtr)length_ptr, EntryPoints[98]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(98)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (IntPtr)length_ptr, EntryPoints[98]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(98)] + public static extern unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (IntPtr)length, EntryPoints[98]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(98)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (IntPtr)length_ptr, EntryPoints[98]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(98)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (IntPtr)length_ptr, EntryPoints[98]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(98)] + public static extern unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (IntPtr)length, EntryPoints[98]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(99)] + public static extern 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) - { - InteropHelper.Call((IntPtr)programs_ptr, (Int32)maxPrograms, (IntPtr)numPrograms_ptr, EntryPoints[99]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(99)] + public static extern 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) - { - InteropHelper.Call((IntPtr)programs_ptr, (Int32)maxPrograms, (IntPtr)numPrograms_ptr, EntryPoints[99]); - programs = *programs_ptr; - numPrograms = *numPrograms_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(99)] + public static extern unsafe void ExtGetProgram([OutAttribute] Int32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)programs, (Int32)maxPrograms, (IntPtr)numPrograms, EntryPoints[99]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(99)] + public static extern 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) - { - InteropHelper.Call((IntPtr)programs_ptr, (Int32)maxPrograms, (IntPtr)numPrograms_ptr, EntryPoints[99]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(99)] + public static extern 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) - { - InteropHelper.Call((IntPtr)programs_ptr, (Int32)maxPrograms, (IntPtr)numPrograms_ptr, EntryPoints[99]); - programs = *programs_ptr; - numPrograms = *numPrograms_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(99)] + public static extern unsafe void ExtGetProgram([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)programs, (Int32)maxPrograms, (IntPtr)numPrograms, EntryPoints[99]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(100)] + public static extern 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) - { - InteropHelper.Call((IntPtr)renderbuffers_ptr, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers_ptr, EntryPoints[100]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(100)] + public static extern 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) - { - InteropHelper.Call((IntPtr)renderbuffers_ptr, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers_ptr, EntryPoints[100]); - renderbuffers = *renderbuffers_ptr; - numRenderbuffers = *numRenderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(100)] + public static extern unsafe void ExtGetRenderbuffers([OutAttribute] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)renderbuffers, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers, EntryPoints[100]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(100)] + public static extern 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) - { - InteropHelper.Call((IntPtr)renderbuffers_ptr, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers_ptr, EntryPoints[100]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(100)] + public static extern 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) - { - InteropHelper.Call((IntPtr)renderbuffers_ptr, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers_ptr, EntryPoints[100]); - renderbuffers = *renderbuffers_ptr; - numRenderbuffers = *numRenderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(100)] + public static extern unsafe void ExtGetRenderbuffers([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)renderbuffers, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers, EntryPoints[100]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(101)] + public static extern 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) - { - InteropHelper.Call((IntPtr)shaders_ptr, (Int32)maxShaders, (IntPtr)numShaders_ptr, EntryPoints[101]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(101)] + public static extern 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) - { - InteropHelper.Call((IntPtr)shaders_ptr, (Int32)maxShaders, (IntPtr)numShaders_ptr, EntryPoints[101]); - shaders = *shaders_ptr; - numShaders = *numShaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(101)] + public static extern unsafe void ExtGetShaders([OutAttribute] Int32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)shaders, (Int32)maxShaders, (IntPtr)numShaders, EntryPoints[101]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(101)] + public static extern 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) - { - InteropHelper.Call((IntPtr)shaders_ptr, (Int32)maxShaders, (IntPtr)numShaders_ptr, EntryPoints[101]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(101)] + public static extern 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) - { - InteropHelper.Call((IntPtr)shaders_ptr, (Int32)maxShaders, (IntPtr)numShaders_ptr, EntryPoints[101]); - shaders = *shaders_ptr; - numShaders = *numShaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(101)] + public static extern unsafe void ExtGetShaders([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)shaders, (Int32)maxShaders, (IntPtr)numShaders, EntryPoints[101]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(102)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr, EntryPoints[102]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(102)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr, EntryPoints[102]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(102)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params, EntryPoints[102]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(102)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr, EntryPoints[102]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(102)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr, EntryPoints[102]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(102)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (IntPtr)@params, EntryPoints[102]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(103)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[103]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(103)] + 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 - { - InteropHelper.Call((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(), EntryPoints[103]); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(103)] + 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 - { - InteropHelper.Call((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(), EntryPoints[103]); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(103)] + 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 - { - InteropHelper.Call((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(), EntryPoints[103]); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(103)] + 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 - { - InteropHelper.Call((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(), EntryPoints[103]); - 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 + [Slot(104)] + public static extern 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) - { - InteropHelper.Call((IntPtr)textures_ptr, (Int32)maxTextures, (IntPtr)numTextures_ptr, EntryPoints[104]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(104)] + public static extern 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) - { - InteropHelper.Call((IntPtr)textures_ptr, (Int32)maxTextures, (IntPtr)numTextures_ptr, EntryPoints[104]); - textures = *textures_ptr; - numTextures = *numTextures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(104)] + public static extern unsafe void ExtGetTextures([OutAttribute] Int32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)textures, (Int32)maxTextures, (IntPtr)numTextures, EntryPoints[104]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(104)] + public static extern 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) - { - InteropHelper.Call((IntPtr)textures_ptr, (Int32)maxTextures, (IntPtr)numTextures_ptr, EntryPoints[104]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(104)] + public static extern 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) - { - InteropHelper.Call((IntPtr)textures_ptr, (Int32)maxTextures, (IntPtr)numTextures_ptr, EntryPoints[104]); - textures = *textures_ptr; - numTextures = *numTextures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(104)] + public static extern unsafe void ExtGetTextures([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)textures, (Int32)maxTextures, (IntPtr)numTextures, EntryPoints[104]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")] - public static + [Slot(105)] + public static extern bool ExtIsProgramBinary(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[105]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")] - public static + [Slot(105)] + public static extern bool ExtIsProgramBinary(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[105]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtTexObjectStateOverrideiQCOM")] - public static + [Slot(106)] + public static extern void ExtTexObjectStateOverride(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (Int32)param, EntryPoints[106]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(137)] + public static extern 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) - { - InteropHelper.Call((IntPtr)num_ptr, (Int32)size, (IntPtr)driverControls_ptr, EntryPoints[137]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(137)] + public static extern 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) - { - InteropHelper.Call((IntPtr)num_ptr, (Int32)size, (IntPtr)driverControls_ptr, EntryPoints[137]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(137)] + public static extern 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) - { - InteropHelper.Call((IntPtr)num_ptr, (Int32)size, (IntPtr)driverControls_ptr, EntryPoints[137]); - num = *num_ptr; - driverControls = *driverControls_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(137)] + public static extern 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) - { - InteropHelper.Call((IntPtr)num_ptr, (Int32)size, (IntPtr)driverControls_ptr, EntryPoints[137]); - num = *num_ptr; - driverControls = *driverControls_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(137)] + public static extern unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] Int32* driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)num, (Int32)size, (IntPtr)driverControls, EntryPoints[137]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(137)] + public static extern unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)num, (Int32)size, (IntPtr)driverControls, EntryPoints[137]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(138)] + public static extern 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) - { - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)driverControlString, EntryPoints[138]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(138)] + public static extern 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) - { - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)driverControlString, EntryPoints[138]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(138)] + public static extern unsafe void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length, (StringBuilder)driverControlString, EntryPoints[138]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(138)] + public static extern 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) - { - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)driverControlString, EntryPoints[138]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(138)] + public static extern 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) - { - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)driverControlString, EntryPoints[138]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(138)] + public static extern unsafe void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length, (StringBuilder)driverControlString, EntryPoints[138]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_tiled_rendering] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")] - public static + [Slot(275)] + public static extern void StartTiling(Int32 x, Int32 y, Int32 width, Int32 height, Int32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask, EntryPoints[275]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_tiled_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")] - public static + [Slot(275)] + public static extern void StartTiling(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask, EntryPoints[275]); - #if DEBUG - } - #endif - } + ; + } diff --git a/Source/OpenTK/Graphics/ES30/ES30.cs b/Source/OpenTK/Graphics/ES30/ES30.cs index 5f21ea6b..e8991559 100644 --- a/Source/OpenTK/Graphics/ES30/ES30.cs +++ b/Source/OpenTK/Graphics/ES30/ES30.cs @@ -34,6 +34,7 @@ namespace OpenTK.Graphics.ES30 #pragma warning disable 1591 #pragma warning disable 1572 #pragma warning disable 1573 + #pragma warning disable 626 partial class GL { @@ -495,1261 +496,537 @@ namespace OpenTK.Graphics.ES30 { /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")] - public static + [Slot(5)] + public static extern void BeginPerfMonitor(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, EntryPoints[5]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")] - public static + [Slot(5)] + public static extern void BeginPerfMonitor(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, EntryPoints[5]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(76)] + public static extern void DeletePerfMonitor(Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* monitors_ptr = (UInt32*)&monitors; - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[76]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(76)] + public static extern void DeletePerfMonitor(UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* monitors_ptr = (UInt32*)&monitors; - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[76]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(76)] + public static extern void DeletePerfMonitors(Int32 n, Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[76]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(76)] + public static extern void DeletePerfMonitors(Int32 n, ref Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[76]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(76)] + public static extern unsafe void DeletePerfMonitors(Int32 n, Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)monitors, EntryPoints[76]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(76)] + public static extern void DeletePerfMonitors(Int32 n, UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[76]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(76)] + public static extern void DeletePerfMonitors(Int32 n, ref UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[76]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(76)] + public static extern unsafe void DeletePerfMonitors(Int32 n, UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)monitors, EntryPoints[76]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")] - public static + [Slot(118)] + public static extern void EndPerfMonitor(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, EntryPoints[118]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")] - public static + [Slot(118)] + public static extern void EndPerfMonitor(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, EntryPoints[118]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(153)] + public static extern Int32 GenPerfMonitor() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* monitors_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[153]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(153)] + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[153]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(153)] + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[153]); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(153)] + public static extern unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)monitors, EntryPoints[153]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(153)] + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[153]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(153)] + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[153]); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(153)] + public static extern unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)monitors, EntryPoints[153]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(199)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (IntPtr)data_ptr, (IntPtr)bytesWritten_ptr, EntryPoints[199]); - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(199)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (IntPtr)data_ptr, (IntPtr)bytesWritten_ptr, EntryPoints[199]); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(199)] + public static extern 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 - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (IntPtr)data, (IntPtr)bytesWritten, EntryPoints[199]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(199)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (IntPtr)data_ptr, (IntPtr)bytesWritten_ptr, EntryPoints[199]); - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(199)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (IntPtr)data_ptr, (IntPtr)bytesWritten_ptr, EntryPoints[199]); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(199)] + public static extern 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 - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (IntPtr)data, (IntPtr)bytesWritten, EntryPoints[199]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(200)] + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data, EntryPoints[200]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(200)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[200]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(200)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[200]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(200)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[200]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(200)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[200]); - 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 + [Slot(200)] + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data, EntryPoints[200]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(200)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[200]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(200)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[200]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(200)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[200]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(200)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[200]); - 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 + [Slot(201)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (IntPtr)numCounters_ptr, (IntPtr)maxActiveCounters_ptr, (Int32)counterSize, (IntPtr)counters_ptr, EntryPoints[201]); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(201)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (IntPtr)numCounters_ptr, (IntPtr)maxActiveCounters_ptr, (Int32)counterSize, (IntPtr)counters_ptr, EntryPoints[201]); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(201)] + public static extern unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (IntPtr)numCounters, (IntPtr)maxActiveCounters, (Int32)counterSize, (IntPtr)counters, EntryPoints[201]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(201)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (IntPtr)numCounters_ptr, (IntPtr)maxActiveCounters_ptr, (Int32)counterSize, (IntPtr)counters_ptr, EntryPoints[201]); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(201)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (IntPtr)numCounters_ptr, (IntPtr)maxActiveCounters_ptr, (Int32)counterSize, (IntPtr)counters_ptr, EntryPoints[201]); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(201)] + public static extern unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (IntPtr)numCounters, (IntPtr)maxActiveCounters, (Int32)counterSize, (IntPtr)counters, EntryPoints[201]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static + [Slot(202)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)counterString, EntryPoints[202]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static + [Slot(202)] + public static extern unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (UInt32)counter, (Int32)bufSize, (IntPtr)length, (StringBuilder)counterString, EntryPoints[202]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static + [Slot(202)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)counterString, EntryPoints[202]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static + [Slot(202)] + public static extern unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (UInt32)counter, (Int32)bufSize, (IntPtr)length, (StringBuilder)counterString, EntryPoints[202]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(203)] + public static extern 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) - { - InteropHelper.Call((IntPtr)numGroups_ptr, (Int32)groupsSize, (IntPtr)groups_ptr, EntryPoints[203]); - numGroups = *numGroups_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(203)] + public static extern 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) - { - InteropHelper.Call((IntPtr)numGroups_ptr, (Int32)groupsSize, (IntPtr)groups_ptr, EntryPoints[203]); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(203)] + public static extern 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) - { - InteropHelper.Call((IntPtr)numGroups_ptr, (Int32)groupsSize, (IntPtr)groups_ptr, EntryPoints[203]); - numGroups = *numGroups_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(203)] + public static extern 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) - { - InteropHelper.Call((IntPtr)numGroups_ptr, (Int32)groupsSize, (IntPtr)groups_ptr, EntryPoints[203]); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(203)] + public static extern unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)numGroups, (Int32)groupsSize, (IntPtr)groups, EntryPoints[203]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(203)] + public static extern unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)numGroups, (Int32)groupsSize, (IntPtr)groups, EntryPoints[203]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static + [Slot(204)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)groupString, EntryPoints[204]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static + [Slot(204)] + public static extern unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (Int32)bufSize, (IntPtr)length, (StringBuilder)groupString, EntryPoints[204]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static + [Slot(204)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)groupString, EntryPoints[204]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static + [Slot(204)] + public static extern unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (Int32)bufSize, (IntPtr)length, (StringBuilder)groupString, EntryPoints[204]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(347)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList_ptr, EntryPoints[347]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(347)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList_ptr, EntryPoints[347]); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(347)] + public static extern unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList, EntryPoints[347]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(347)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList_ptr, EntryPoints[347]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(347)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList_ptr, EntryPoints[347]); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(347)] + public static extern unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList, EntryPoints[347]); - #if DEBUG - } - #endif - } + ; + } @@ -1780,18 +1057,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")] - public static + [Slot(30)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[30]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -1817,18 +1087,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")] - public static + [Slot(30)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[30]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a range of elements @@ -1855,18 +1118,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedANGLE")] - public static + [Slot(100)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount, EntryPoints[100]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a range of elements @@ -1892,18 +1148,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedANGLE")] - public static + [Slot(100)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount, EntryPoints[100]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1935,18 +1184,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(109)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[109]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1978,27 +1220,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(109)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[109]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2030,27 +1257,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(109)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[109]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2082,27 +1294,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(109)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[109]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2134,28 +1331,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(109)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[109]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2186,18 +1367,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(109)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[109]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2228,27 +1402,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(109)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[109]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2279,27 +1438,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(109)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[109]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2330,27 +1474,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(109)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[109]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -2381,148 +1510,64 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static + [Slot(109)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[109]); - 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 + [Slot(234)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[234]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_translated_shader_source] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static + [Slot(234)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[234]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static + [Slot(234)] + public static extern unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufsize, (IntPtr)length, (StringBuilder)source, EntryPoints[234]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static + [Slot(234)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[234]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static + [Slot(234)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[234]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static + [Slot(234)] + public static extern unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufsize, (IntPtr)length, (StringBuilder)source, EntryPoints[234]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -2554,18 +1599,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleANGLE")] - public static + [Slot(334)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[334]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -2596,18 +1634,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleANGLE")] - public static + [Slot(334)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[334]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -2623,18 +1654,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorANGLE")] - public static + [Slot(434)] + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[434]); - #if DEBUG - } - #endif - } + ; + /// [requires: ANGLE_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -2651,18 +1675,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorANGLE")] - public static + [Slot(434)] + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[434]); - #if DEBUG - } - #endif - } + ; + } @@ -2687,18 +1704,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static + [Slot(44)] + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[44]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -2721,18 +1731,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static + [Slot(44)] + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[44]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -2753,18 +1756,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static + [Slot(44)] + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[44]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -2786,49 +1782,28 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static + [Slot(44)] + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[44]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_copy_texture_levels] [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")] - public static + [Slot(59)] + public static extern void CopyTextureLevel(Int32 destinationTexture, Int32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount, EntryPoints[59]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_copy_texture_levels] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")] - public static + [Slot(59)] + public static extern void CopyTextureLevel(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount, EntryPoints[59]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Delete a sync object @@ -2839,18 +1814,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glDeleteSyncAPPLE")] - public static + [Slot(85)] + public static extern void DeleteSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, EntryPoints[85]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Create a new sync object and insert it into the GL command stream @@ -2867,18 +1835,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")] - public static + [Slot(136)] + public static extern IntPtr FenceSync(OpenTK.Graphics.ES30.All condition, OpenTK.Graphics.ES30.All flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, EntryPoints[136]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Create a new sync object and insert it into the GL command stream @@ -2894,182 +1855,81 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")] - public static + [Slot(136)] + public static extern IntPtr FenceSync(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, EntryPoints[136]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(187)] + public static extern Int64 GetInteger64(OpenTK.Graphics.ES30.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* @params_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)@params_ptr, EntryPoints[187]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(187)] + public static extern Int64 GetInteger64(OpenTK.Graphics.ES30.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* @params_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)@params_ptr, EntryPoints[187]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(187)] + public static extern void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)@params_ptr, EntryPoints[187]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(187)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)@params_ptr, EntryPoints[187]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(187)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)@params, EntryPoints[187]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(187)] + public static extern void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)@params_ptr, EntryPoints[187]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(187)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)@params_ptr, EntryPoints[187]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static + [Slot(187)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)@params, EntryPoints[187]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -3101,25 +1961,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(230)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[230]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -3151,27 +1997,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(230)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[230]); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -3204,18 +2034,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(230)] + public static extern 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 - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length, (IntPtr)values, EntryPoints[230]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -3246,25 +2069,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(230)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[230]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -3295,27 +2104,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(230)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[230]); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -3347,18 +2140,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static + [Slot(230)] + public static extern 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 - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length, (IntPtr)values, EntryPoints[230]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Determine if a name corresponds to a sync object @@ -3369,18 +2155,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glIsSyncAPPLE")] - public static + [Slot(262)] + public static extern bool IsSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, EntryPoints[262]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -3412,18 +2191,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")] - public static + [Slot(335)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[335]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -3454,33 +2226,19 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")] - public static + [Slot(335)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[335]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_framebuffer_multisample] [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glResolveMultisampleFramebufferAPPLE")] - public static + [Slot(339)] + public static extern void ResolveMultisampleFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[339]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3501,18 +2259,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static + [Slot(445)] + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[445]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3535,18 +2286,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static + [Slot(445)] + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[445]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3567,18 +2311,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static + [Slot(445)] + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[445]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3600,18 +2337,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static + [Slot(445)] + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[445]); - #if DEBUG - } - #endif - } + ; + } @@ -3625,18 +2355,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")] - public static + [Slot(2)] + public static extern void ActiveTexture(OpenTK.Graphics.ES30.All texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureUnit)texture, EntryPoints[2]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Select active texture unit @@ -3647,18 +2370,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")] - public static + [Slot(2)] + public static extern void ActiveTexture(OpenTK.Graphics.ES30.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureUnit)texture, EntryPoints[2]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attaches a shader object to a program object @@ -3674,18 +2390,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static + [Slot(4)] + public static extern void AttachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[4]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attaches a shader object to a program object @@ -3702,18 +2411,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static + [Slot(4)] + public static extern void AttachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[4]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delimit the boundaries of a query object @@ -3729,18 +2431,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")] - public static + [Slot(6)] + public static extern void BeginQuery(OpenTK.Graphics.ES30.All target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id, EntryPoints[6]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delimit the boundaries of a query object @@ -3758,18 +2453,11 @@ 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 + [Slot(6)] + public static extern void BeginQuery(OpenTK.Graphics.ES30.All target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id, EntryPoints[6]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delimit the boundaries of a query object @@ -3785,18 +2473,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")] - public static + [Slot(6)] + public static extern void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id, EntryPoints[6]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delimit the boundaries of a query object @@ -3813,18 +2494,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")] - public static + [Slot(6)] + public static extern void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id, EntryPoints[6]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Start transform feedback operation @@ -3836,18 +2510,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] - public static + [Slot(8)] + public static extern void BeginTransformFeedback(OpenTK.Graphics.ES30.All primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType)primitiveMode, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Start transform feedback operation @@ -3858,18 +2525,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] - public static + [Slot(8)] + public static extern void BeginTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType)primitiveMode, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Associates a generic vertex attribute index with a named attribute variable @@ -3890,18 +2550,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static + [Slot(9)] + public static extern void BindAttribLocation(Int32 program, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (String)name, EntryPoints[9]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Associates a generic vertex attribute index with a named attribute variable @@ -3923,18 +2576,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static + [Slot(9)] + public static extern void BindAttribLocation(UInt32 program, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (String)name, EntryPoints[9]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3950,18 +2596,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static + [Slot(10)] + public static extern void BindBuffer(OpenTK.Graphics.ES30.All target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer, EntryPoints[10]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3979,18 +2618,11 @@ 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 + [Slot(10)] + public static extern void BindBuffer(OpenTK.Graphics.ES30.All target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer, EntryPoints[10]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -4006,18 +2638,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static + [Slot(10)] + public static extern void BindBuffer(OpenTK.Graphics.ES30.BufferTarget target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer, EntryPoints[10]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -4034,18 +2659,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static + [Slot(10)] + public static extern void BindBuffer(OpenTK.Graphics.ES30.BufferTarget target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer, EntryPoints[10]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a buffer object to an indexed buffer target @@ -4066,18 +2684,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static + [Slot(11)] + public static extern void BindBufferBase(OpenTK.Graphics.ES30.All target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, EntryPoints[11]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a buffer object to an indexed buffer target @@ -4100,18 +2711,11 @@ 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 + [Slot(11)] + public static extern void BindBufferBase(OpenTK.Graphics.ES30.All target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, EntryPoints[11]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a buffer object to an indexed buffer target @@ -4132,18 +2736,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static + [Slot(11)] + public static extern void BindBufferBase(OpenTK.Graphics.ES30.BufferRangeTarget target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, EntryPoints[11]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a buffer object to an indexed buffer target @@ -4165,18 +2762,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static + [Slot(11)] + public static extern void BindBufferBase(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, EntryPoints[11]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a range within a buffer object to an indexed buffer target @@ -4207,18 +2797,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static + [Slot(12)] + public static extern void BindBufferRange(OpenTK.Graphics.ES30.All target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[12]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a range within a buffer object to an indexed buffer target @@ -4251,18 +2834,11 @@ 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 + [Slot(12)] + public static extern void BindBufferRange(OpenTK.Graphics.ES30.All target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[12]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a range within a buffer object to an indexed buffer target @@ -4293,18 +2869,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static + [Slot(12)] + public static extern void BindBufferRange(OpenTK.Graphics.ES30.BufferRangeTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[12]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a range within a buffer object to an indexed buffer target @@ -4336,18 +2905,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static + [Slot(12)] + public static extern void BindBufferRange(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[12]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -4363,18 +2925,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static + [Slot(13)] + public static extern void BindFramebuffer(OpenTK.Graphics.ES30.All target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[13]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -4392,18 +2947,11 @@ 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 + [Slot(13)] + public static extern void BindFramebuffer(OpenTK.Graphics.ES30.All target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[13]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -4419,18 +2967,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static + [Slot(13)] + public static extern void BindFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[13]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -4447,18 +2988,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static + [Slot(13)] + public static extern void BindFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[13]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -4474,18 +3008,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static + [Slot(15)] + public static extern void BindRenderbuffer(OpenTK.Graphics.ES30.All target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[15]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -4503,18 +3030,11 @@ 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 + [Slot(15)] + public static extern void BindRenderbuffer(OpenTK.Graphics.ES30.All target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[15]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -4530,18 +3050,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static + [Slot(15)] + public static extern void BindRenderbuffer(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[15]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -4558,18 +3071,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static + [Slot(15)] + public static extern void BindRenderbuffer(OpenTK.Graphics.ES30.RenderbufferTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[15]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a named sampler to a texturing target @@ -4585,18 +3091,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindSampler")] - public static + [Slot(16)] + public static extern void BindSampler(Int32 unit, Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)unit, (UInt32)sampler, EntryPoints[16]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a named sampler to a texturing target @@ -4613,18 +3112,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindSampler")] - public static + [Slot(16)] + public static extern void BindSampler(UInt32 unit, UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)unit, (UInt32)sampler, EntryPoints[16]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -4640,18 +3132,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static + [Slot(17)] + public static extern void BindTexture(OpenTK.Graphics.ES30.All target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture, EntryPoints[17]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -4669,18 +3154,11 @@ 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 + [Slot(17)] + public static extern void BindTexture(OpenTK.Graphics.ES30.All target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture, EntryPoints[17]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -4696,18 +3174,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static + [Slot(17)] + public static extern void BindTexture(OpenTK.Graphics.ES30.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture, EntryPoints[17]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -4724,18 +3195,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static + [Slot(17)] + public static extern void BindTexture(OpenTK.Graphics.ES30.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture, EntryPoints[17]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a transform feedback object @@ -4751,18 +3215,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")] - public static + [Slot(18)] + public static extern void BindTransformFeedback(OpenTK.Graphics.ES30.All target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id, EntryPoints[18]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a transform feedback object @@ -4780,18 +3237,11 @@ 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 + [Slot(18)] + public static extern void BindTransformFeedback(OpenTK.Graphics.ES30.All target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id, EntryPoints[18]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a transform feedback object @@ -4807,18 +3257,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")] - public static + [Slot(18)] + public static extern void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id, EntryPoints[18]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a transform feedback object @@ -4835,18 +3278,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")] - public static + [Slot(18)] + public static extern void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id, EntryPoints[18]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a vertex array object @@ -4857,18 +3293,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static + [Slot(19)] + public static extern void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[19]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a vertex array object @@ -4880,18 +3309,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static + [Slot(19)] + public static extern void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[19]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set the blend color @@ -4902,18 +3324,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendColor")] - public static + [Slot(22)] + public static extern void BlendColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, (Single)alpha, EntryPoints[22]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -4930,18 +3345,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquation")] - public static + [Slot(23)] + public static extern void BlendEquation(OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BlendEquationMode)mode, EntryPoints[23]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -4957,18 +3365,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquation")] - public static + [Slot(23)] + public static extern void BlendEquation(OpenTK.Graphics.ES30.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BlendEquationMode)mode, EntryPoints[23]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set the RGB blend equation and the alpha blend equation separately @@ -4990,18 +3391,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] - public static + [Slot(25)] + public static extern void BlendEquationSeparate(OpenTK.Graphics.ES30.All modeRGB, OpenTK.Graphics.ES30.All modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES30.BlendEquationMode)modeAlpha, EntryPoints[25]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set the RGB blend equation and the alpha blend equation separately @@ -5022,18 +3416,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] - public static + [Slot(25)] + public static extern void BlendEquationSeparate(OpenTK.Graphics.ES30.BlendEquationMode modeRGB, OpenTK.Graphics.ES30.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES30.BlendEquationMode)modeAlpha, EntryPoints[25]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic @@ -5055,18 +3442,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFunc")] - public static + [Slot(26)] + public static extern void BlendFunc(OpenTK.Graphics.ES30.All sfactor, OpenTK.Graphics.ES30.All dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactor, EntryPoints[26]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic @@ -5087,18 +3467,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFunc")] - public static + [Slot(26)] + public static extern void BlendFunc(OpenTK.Graphics.ES30.BlendingFactorSrc sfactor, OpenTK.Graphics.ES30.BlendingFactorDest dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactor, EntryPoints[26]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -5130,18 +3503,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")] - public static + [Slot(27)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorAlpha, EntryPoints[27]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -5172,18 +3538,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")] - public static + [Slot(27)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorAlpha, EntryPoints[27]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -5210,18 +3569,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBlitFramebuffer")] - public static + [Slot(29)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[29]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -5247,18 +3599,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBlitFramebuffer")] - public static + [Slot(29)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[29]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5285,18 +3630,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(32)] + public static extern void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.All usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES30.BufferUsageHint)usage, EntryPoints[32]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5323,27 +3661,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(32)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage, EntryPoints[32]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5370,27 +3693,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(32)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage, EntryPoints[32]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5417,27 +3725,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(32)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage, EntryPoints[32]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5464,28 +3757,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(32)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage, EntryPoints[32]); - 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 @@ -5511,18 +3788,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(32)] + public static extern void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.BufferUsageHint usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES30.BufferUsageHint)usage, EntryPoints[32]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5548,27 +3818,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(32)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage, EntryPoints[32]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5594,27 +3849,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(32)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage, EntryPoints[32]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5640,27 +3880,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(32)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage, EntryPoints[32]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5686,28 +3911,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static + [Slot(32)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage, EntryPoints[32]); - 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 @@ -5734,18 +3943,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(33)] + public static extern void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[33]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5772,27 +3974,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(33)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[33]); - } - 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 @@ -5819,27 +4006,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(33)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[33]); - } - 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 @@ -5866,27 +4038,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(33)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[33]); - } - 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 @@ -5913,28 +4070,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(33)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[33]); - 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 @@ -5960,18 +4101,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(33)] + public static extern void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[33]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5997,27 +4131,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(33)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[33]); - } - 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 @@ -6043,27 +4162,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(33)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[33]); - } - 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 @@ -6089,27 +4193,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(33)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[33]); - } - 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 @@ -6135,28 +4224,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static + [Slot(33)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[33]); - 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 @@ -6168,18 +4241,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")] - public static + [Slot(34)] + public static extern OpenTK.Graphics.ES30.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.FramebufferTarget)target, EntryPoints[34]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Check the completeness status of a framebuffer @@ -6190,18 +4256,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")] - public static + [Slot(34)] + public static extern OpenTK.Graphics.ES30.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES30.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.FramebufferTarget)target, EntryPoints[34]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Clear buffers to preset values @@ -6213,18 +4272,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClear")] - public static + [Slot(35)] + public static extern void Clear(OpenTK.Graphics.ES30.All mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBufferMask)mask, EntryPoints[35]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Clear buffers to preset values @@ -6235,18 +4287,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClear")] - public static + [Slot(35)] + public static extern void Clear(OpenTK.Graphics.ES30.ClearBufferMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBufferMask)mask, EntryPoints[35]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6278,18 +4323,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfi")] - public static + [Slot(36)] + public static extern void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil, EntryPoints[36]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6320,18 +4358,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfi")] - public static + [Slot(36)] + public static extern void ClearBuffer(OpenTK.Graphics.ES30.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil, EntryPoints[36]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6363,24 +4394,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static + [Slot(37)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[37]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6412,24 +4430,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static + [Slot(37)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[37]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6462,18 +4467,11 @@ 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 + [Slot(37)] + public static extern unsafe void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value, EntryPoints[37]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6504,24 +4502,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static + [Slot(37)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[37]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6552,24 +4537,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static + [Slot(37)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[37]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6601,18 +4573,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static + [Slot(37)] + public static extern unsafe void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value, EntryPoints[37]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6644,24 +4609,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static + [Slot(38)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[38]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6693,24 +4645,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static + [Slot(38)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[38]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6743,18 +4682,11 @@ 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 + [Slot(38)] + public static extern unsafe void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value, EntryPoints[38]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6785,24 +4717,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static + [Slot(38)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[38]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6833,24 +4752,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static + [Slot(38)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[38]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6882,18 +4788,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static + [Slot(38)] + public static extern unsafe void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value, EntryPoints[38]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6926,24 +4825,11 @@ 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 + [Slot(39)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[39]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6976,24 +4862,11 @@ 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 + [Slot(39)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[39]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -7026,18 +4899,11 @@ 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 + [Slot(39)] + public static extern unsafe void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value, EntryPoints[39]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -7069,24 +4935,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static + [Slot(39)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[39]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -7118,24 +4971,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static + [Slot(39)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[39]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -7167,18 +5007,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static + [Slot(39)] + public static extern unsafe void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value, EntryPoints[39]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify clear values for the color buffers @@ -7189,18 +5022,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearColor")] - public static + [Slot(40)] + public static extern void ClearColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, (Single)alpha, EntryPoints[40]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the clear value for the depth buffer @@ -7211,18 +5037,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearDepthf")] - public static + [Slot(41)] + public static extern void ClearDepth(Single d) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)d, EntryPoints[41]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the clear value for the stencil buffer @@ -7233,18 +5052,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearStencil")] - public static + [Slot(42)] + public static extern void ClearStencil(Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)s, EntryPoints[42]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Block and wait for a sync object to become signaled @@ -7265,18 +5077,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClientWaitSync")] - public static + [Slot(43)] + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[43]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Block and wait for a sync object to become signaled @@ -7299,18 +5104,11 @@ 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 + [Slot(43)] + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[43]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Block and wait for a sync object to become signaled @@ -7331,18 +5129,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClientWaitSync")] - public static + [Slot(43)] + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[43]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Block and wait for a sync object to become signaled @@ -7364,18 +5155,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClientWaitSync")] - public static + [Slot(43)] + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[43]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Enable and disable writing of frame buffer color components @@ -7391,18 +5175,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glColorMask")] - public static + [Slot(45)] + public static extern void ColorMask(bool red, bool green, bool blue, bool alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)red, (bool)green, (bool)blue, (bool)alpha, EntryPoints[45]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Compiles a shader object @@ -7413,18 +5190,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static + [Slot(46)] + public static extern void CompileShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[46]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Compiles a shader object @@ -7436,18 +5206,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static + [Slot(46)] + public static extern void CompileShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[46]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -7494,18 +5257,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[47]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -7552,27 +5308,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - } - 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 @@ -7619,27 +5360,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - } - 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 @@ -7686,27 +5412,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - } - 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 @@ -7753,28 +5464,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - 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 @@ -7820,18 +5515,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[47]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -7877,27 +5565,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - } - 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 @@ -7943,27 +5616,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - } - 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 @@ -8009,27 +5667,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - } - 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 @@ -8075,28 +5718,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(47)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[47]); - 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 @@ -8148,18 +5775,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(48)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[48]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image in a compressed format @@ -8211,27 +5831,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - } - 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 @@ -8283,27 +5888,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - } - 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 @@ -8355,27 +5945,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - } - 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 @@ -8427,28 +6002,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - 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 @@ -8499,18 +6058,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(48)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[48]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image in a compressed format @@ -8561,27 +6113,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - } - 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 @@ -8632,27 +6169,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - } - 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 @@ -8703,27 +6225,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - } - 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 @@ -8774,28 +6281,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((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(), EntryPoints[48]); - 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 @@ -8847,18 +6338,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(50)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data, EntryPoints[50]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -8910,27 +6394,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(50)] + 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 - { - InteropHelper.Call((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(), EntryPoints[50]); - } - 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 @@ -8982,27 +6451,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(50)] + 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 - { - InteropHelper.Call((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(), EntryPoints[50]); - } - 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 @@ -9054,27 +6508,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(50)] + 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 - { - InteropHelper.Call((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(), EntryPoints[50]); - } - 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 @@ -9126,28 +6565,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(50)] + 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 - { - InteropHelper.Call((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(), EntryPoints[50]); - 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 @@ -9198,18 +6621,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(50)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data, EntryPoints[50]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -9260,27 +6676,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(50)] + 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 - { - InteropHelper.Call((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(), EntryPoints[50]); - } - 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 @@ -9331,27 +6732,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(50)] + 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 - { - InteropHelper.Call((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(), EntryPoints[50]); - } - 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 @@ -9402,27 +6788,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(50)] + 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 - { - InteropHelper.Call((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(), EntryPoints[50]); - } - 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 @@ -9473,28 +6844,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(50)] + 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 - { - InteropHelper.Call((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(), EntryPoints[50]); - 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 @@ -9551,18 +6906,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(51)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[51]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage in a compressed format @@ -9619,27 +6967,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(51)] + 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 - { - InteropHelper.Call((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(), EntryPoints[51]); - } - 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 @@ -9696,27 +7029,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(51)] + 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 - { - InteropHelper.Call((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(), EntryPoints[51]); - } - 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 @@ -9773,27 +7091,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(51)] + 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 - { - InteropHelper.Call((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(), EntryPoints[51]); - } - 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 @@ -9850,28 +7153,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(51)] + 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 - { - InteropHelper.Call((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(), EntryPoints[51]); - 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 @@ -9927,18 +7214,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(51)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[51]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage in a compressed format @@ -9994,27 +7274,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(51)] + 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 - { - InteropHelper.Call((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(), EntryPoints[51]); - } - 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 @@ -10070,27 +7335,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(51)] + 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 - { - InteropHelper.Call((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(), EntryPoints[51]); - } - 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 @@ -10146,27 +7396,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(51)] + 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 - { - InteropHelper.Call((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(), EntryPoints[51]); - } - 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 @@ -10222,28 +7457,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(51)] + 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 - { - InteropHelper.Call((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(), EntryPoints[51]); - 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 @@ -10275,18 +7494,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCopyBufferSubData")] - public static + [Slot(53)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size, EntryPoints[53]); - #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 @@ -10317,18 +7529,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCopyBufferSubData")] - public static + [Slot(53)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size, EntryPoints[53]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Copy pixels into a 2D texture image @@ -10370,18 +7575,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")] - public static + [Slot(55)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border, EntryPoints[55]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Copy pixels into a 2D texture image @@ -10422,18 +7620,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")] - public static + [Slot(55)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border, EntryPoints[55]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Copy a two-dimensional texture subimage @@ -10475,18 +7666,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")] - public static + [Slot(56)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[56]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Copy a two-dimensional texture subimage @@ -10527,18 +7711,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")] - public static + [Slot(56)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[56]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Copy a three-dimensional texture subimage @@ -10585,18 +7762,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCopyTexSubImage3D")] - public static + [Slot(57)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[57]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Copy a three-dimensional texture subimage @@ -10642,35 +7812,21 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCopyTexSubImage3D")] - public static + [Slot(57)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[57]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(62)] + public static extern Int32 CreateProgram() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn(EntryPoints[62]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates a shader object @@ -10682,18 +7838,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")] - public static + [Slot(63)] + public static extern Int32 CreateShader(OpenTK.Graphics.ES30.All type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.ShaderType)type, EntryPoints[63]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Creates a shader object @@ -10704,18 +7853,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")] - public static + [Slot(63)] + public static extern Int32 CreateShader(OpenTK.Graphics.ES30.ShaderType type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.ShaderType)type, EntryPoints[63]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify whether front- or back-facing facets can be culled @@ -10727,18 +7869,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCullFace")] - public static + [Slot(66)] + public static extern void CullFace(OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.CullFaceMode)mode, EntryPoints[66]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify whether front- or back-facing facets can be culled @@ -10749,18 +7884,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCullFace")] - public static + [Slot(66)] + public static extern void CullFace(OpenTK.Graphics.ES30.CullFaceMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.CullFaceMode)mode, EntryPoints[66]); - #if DEBUG - } - #endif - } + ; + /// /// Specify a callback to receive debugging messages from the GL @@ -10776,18 +7904,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(67)] + public static extern void DebugMessageCallback(DebugProc callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam, EntryPoints[67]); - #if DEBUG - } - #endif - } + ; + /// /// Specify a callback to receive debugging messages from the GL @@ -10803,27 +7924,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(67)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[67]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Specify a callback to receive debugging messages from the GL @@ -10839,27 +7945,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(67)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[67]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Specify a callback to receive debugging messages from the GL @@ -10875,27 +7966,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(67)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[67]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Specify a callback to receive debugging messages from the GL @@ -10911,28 +7987,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(67)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[67]); - userParam = (T1)userParam_ptr.Target; - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -10968,24 +8028,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(69)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[69]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -11021,24 +8068,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(69)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[69]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -11075,18 +8109,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(69)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[69]); - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -11124,24 +8151,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(69)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[69]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -11179,24 +8193,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(69)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[69]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -11234,18 +8235,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(69)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[69]); - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -11281,24 +8275,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(69)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[69]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -11334,24 +8315,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(69)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[69]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -11388,18 +8356,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(69)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[69]); - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -11436,24 +8397,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(69)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[69]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -11490,24 +8438,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(69)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[69]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Control the reporting of debug messages in a debug context @@ -11544,18 +8479,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static + [Slot(69)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[69]); - #if DEBUG - } - #endif - } + ; + /// /// Inject an application-supplied message into the debug message queue @@ -11591,18 +8519,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static + [Slot(71)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[71]); - #if DEBUG - } - #endif - } + ; + /// /// Inject an application-supplied message into the debug message queue @@ -11640,18 +8561,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static + [Slot(71)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[71]); - #if DEBUG - } - #endif - } + ; + /// /// Inject an application-supplied message into the debug message queue @@ -11687,18 +8601,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static + [Slot(71)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[71]); - #if DEBUG - } - #endif - } + ; + /// /// Inject an application-supplied message into the debug message queue @@ -11735,18 +8642,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static + [Slot(71)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[71]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11762,23 +8662,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(73)] + public static extern void DeleteBuffer(Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[73]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11795,23 +8683,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(73)] + public static extern void DeleteBuffer(UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[73]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11827,24 +8703,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(73)] + public static extern void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[73]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11860,24 +8723,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(73)] + public static extern void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[73]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11894,18 +8744,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(73)] + public static extern unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[73]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11922,24 +8765,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(73)] + public static extern void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[73]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11956,24 +8786,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(73)] + public static extern void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[73]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11990,18 +8807,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static + [Slot(73)] + public static extern unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[73]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -12017,23 +8827,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(75)] + public static extern void DeleteFramebuffer(Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[75]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -12050,23 +8848,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(75)] + public static extern void DeleteFramebuffer(UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[75]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -12082,24 +8868,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(75)] + public static extern void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[75]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -12115,24 +8888,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(75)] + public static extern void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[75]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -12149,18 +8909,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(75)] + public static extern unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[75]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -12177,24 +8930,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(75)] + public static extern void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[75]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -12211,24 +8951,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(75)] + public static extern void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[75]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -12245,18 +8972,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(75)] + public static extern unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[75]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a program object @@ -12267,18 +8987,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static + [Slot(77)] + public static extern void DeleteProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[77]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a program object @@ -12290,18 +9003,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static + [Slot(77)] + public static extern void DeleteProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[77]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -12317,23 +9023,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static + [Slot(79)] + public static extern void DeleteQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[79]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -12350,23 +9044,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static + [Slot(79)] + public static extern void DeleteQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[79]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -12382,24 +9064,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static + [Slot(79)] + public static extern void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[79]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -12415,24 +9084,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static + [Slot(79)] + public static extern void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[79]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -12449,18 +9105,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static + [Slot(79)] + public static extern unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[79]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -12477,24 +9126,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static + [Slot(79)] + public static extern void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[79]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -12511,24 +9147,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static + [Slot(79)] + public static extern void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[79]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -12545,18 +9168,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static + [Slot(79)] + public static extern unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[79]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12572,23 +9188,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(81)] + public static extern void DeleteRenderbuffer(Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[81]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12605,23 +9209,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(81)] + public static extern void DeleteRenderbuffer(UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[81]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12637,24 +9229,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(81)] + public static extern void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[81]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12670,24 +9249,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(81)] + public static extern void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[81]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12704,18 +9270,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(81)] + public static extern unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[81]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12732,24 +9291,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(81)] + public static extern void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[81]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12766,24 +9312,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(81)] + public static extern void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[81]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12800,18 +9333,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(81)] + public static extern unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[81]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12827,23 +9353,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static + [Slot(82)] + public static extern void DeleteSampler(Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - UInt32* samplers_ptr = (UInt32*)&samplers; - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[82]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12860,23 +9374,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static + [Slot(82)] + public static extern void DeleteSampler(UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - UInt32* samplers_ptr = (UInt32*)&samplers; - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[82]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12892,24 +9394,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static + [Slot(82)] + public static extern void DeleteSamplers(Int32 count, Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[82]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12925,24 +9414,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static + [Slot(82)] + public static extern void DeleteSamplers(Int32 count, ref Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[82]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12959,18 +9435,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static + [Slot(82)] + public static extern unsafe void DeleteSamplers(Int32 count, Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)samplers, EntryPoints[82]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12987,24 +9456,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static + [Slot(82)] + public static extern void DeleteSamplers(Int32 count, UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[82]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -13021,24 +9477,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static + [Slot(82)] + public static extern void DeleteSamplers(Int32 count, ref UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[82]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -13055,18 +9498,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static + [Slot(82)] + public static extern unsafe void DeleteSamplers(Int32 count, UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)samplers, EntryPoints[82]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a shader object @@ -13077,18 +9513,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static + [Slot(83)] + public static extern void DeleteShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[83]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a shader object @@ -13100,18 +9529,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static + [Slot(83)] + public static extern void DeleteShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[83]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete a sync object @@ -13122,18 +9544,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSync")] - public static + [Slot(84)] + public static extern void DeleteSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, EntryPoints[84]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -13149,23 +9564,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(86)] + public static extern void DeleteTexture(Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[86]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -13182,23 +9585,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(86)] + public static extern void DeleteTexture(UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[86]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -13214,24 +9605,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(86)] + public static extern void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[86]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -13247,24 +9625,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(86)] + public static extern void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[86]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -13281,18 +9646,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(86)] + public static extern unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[86]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -13309,24 +9667,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(86)] + public static extern void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[86]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -13343,24 +9688,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(86)] + public static extern void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[86]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -13377,18 +9709,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static + [Slot(86)] + public static extern unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[86]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13404,23 +9729,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(87)] + public static extern void DeleteTransformFeedback(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[87]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13437,23 +9750,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(87)] + public static extern void DeleteTransformFeedback(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[87]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13469,24 +9770,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(87)] + public static extern void DeleteTransformFeedbacks(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[87]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13502,24 +9790,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(87)] + public static extern void DeleteTransformFeedbacks(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[87]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13536,18 +9811,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(87)] + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[87]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13564,24 +9832,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(87)] + public static extern void DeleteTransformFeedbacks(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[87]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13598,24 +9853,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(87)] + public static extern void DeleteTransformFeedbacks(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[87]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13632,18 +9874,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(87)] + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[87]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13659,23 +9894,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(88)] + public static extern void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[88]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13692,23 +9915,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(88)] + public static extern void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[88]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13724,24 +9935,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(88)] + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[88]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13757,24 +9955,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(88)] + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[88]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13791,18 +9976,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(88)] + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[88]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13819,24 +9997,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(88)] + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[88]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13853,24 +10018,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(88)] + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[88]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13887,18 +10039,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(88)] + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[88]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value used for depth buffer comparisons @@ -13910,18 +10055,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthFunc")] - public static + [Slot(90)] + public static extern void DepthFunc(OpenTK.Graphics.ES30.All func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DepthFunction)func, EntryPoints[90]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value used for depth buffer comparisons @@ -13932,18 +10070,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthFunc")] - public static + [Slot(90)] + public static extern void DepthFunc(OpenTK.Graphics.ES30.DepthFunction func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DepthFunction)func, EntryPoints[90]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable writing into the depth buffer @@ -13954,18 +10085,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthMask")] - public static + [Slot(91)] + public static extern void DepthMask(bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)flag, EntryPoints[91]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -13981,18 +10105,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthRangef")] - public static + [Slot(92)] + public static extern void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)n, (Single)f, EntryPoints[92]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Detaches a shader object from a program object to which it is attached @@ -14008,18 +10125,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static + [Slot(93)] + public static extern void DetachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[93]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Detaches a shader object from a program object to which it is attached @@ -14036,80 +10146,45 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static + [Slot(93)] + public static extern void DetachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[93]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(94)] + public static extern void Disable(OpenTK.Graphics.ES30.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.EnableCap)cap, EntryPoints[94]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisable")] - public static + [Slot(94)] + public static extern void Disable(OpenTK.Graphics.ES30.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.EnableCap)cap, EntryPoints[94]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static + [Slot(96)] + public static extern void DisableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[96]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static + [Slot(96)] + public static extern void DisableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[96]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14131,18 +10206,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")] - public static + [Slot(98)] + public static extern void DrawArrays(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[98]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14163,18 +10231,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")] - public static + [Slot(98)] + public static extern void DrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[98]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a range of elements @@ -14201,18 +10262,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawArraysInstanced")] - public static + [Slot(99)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, EntryPoints[99]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a range of elements @@ -14238,18 +10292,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawArraysInstanced")] - public static + [Slot(99)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, EntryPoints[99]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specifies a list of color buffers to be drawn into @@ -14266,24 +10313,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")] - public static + [Slot(103)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[103]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specifies a list of color buffers to be drawn into @@ -14300,24 +10334,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")] - public static + [Slot(103)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[103]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specifies a list of color buffers to be drawn into @@ -14335,18 +10356,11 @@ 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 + [Slot(103)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[103]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specifies a list of color buffers to be drawn into @@ -14362,24 +10376,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")] - public static + [Slot(103)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[103]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specifies a list of color buffers to be drawn into @@ -14395,24 +10396,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")] - public static + [Slot(103)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[103]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specifies a list of color buffers to be drawn into @@ -14429,18 +10417,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")] - public static + [Slot(103)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[103]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14467,18 +10448,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(107)] + public static extern void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, EntryPoints[107]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14505,27 +10479,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(107)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[107]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14552,27 +10511,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(107)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[107]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14599,27 +10543,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(107)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[107]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14646,28 +10575,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(107)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[107]); - 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 @@ -14693,18 +10606,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(107)] + public static extern void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, EntryPoints[107]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14730,27 +10636,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(107)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[107]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14776,27 +10667,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(107)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[107]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14822,27 +10698,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(107)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[107]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14868,28 +10729,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static + [Slot(107)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[107]); - 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 @@ -14921,18 +10766,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(108)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, EntryPoints[108]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -14964,27 +10802,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(108)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[108]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -15016,27 +10839,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(108)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[108]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -15068,27 +10876,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(108)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[108]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -15120,28 +10913,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(108)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[108]); - 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 @@ -15172,18 +10949,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(108)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, EntryPoints[108]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -15214,27 +10984,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(108)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[108]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -15265,27 +11020,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(108)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[108]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -15316,27 +11056,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(108)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[108]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -15367,28 +11092,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(108)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[108]); - 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 @@ -15424,18 +11133,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15471,27 +11173,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15527,27 +11214,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15583,27 +11255,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15639,28 +11296,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - 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 @@ -15698,18 +11339,11 @@ 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 + [Slot(112)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15747,27 +11381,12 @@ 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 + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15805,27 +11424,12 @@ 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 + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15863,27 +11467,12 @@ 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 + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15921,28 +11510,12 @@ 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 + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - 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 @@ -15978,18 +11551,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -16025,27 +11591,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -16081,27 +11632,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -16137,27 +11673,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -16193,28 +11714,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - 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 @@ -16251,18 +11756,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -16299,27 +11797,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -16356,27 +11839,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -16413,27 +11881,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -16470,28 +11923,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static + [Slot(112)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[112]); - 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 @@ -16508,18 +11945,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnable")] - public static + [Slot(115)] + public static extern void Enable(OpenTK.Graphics.ES30.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.EnableCap)cap, EntryPoints[115]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable server-side GL capabilities @@ -16535,18 +11965,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnable")] - public static + [Slot(115)] + public static extern void Enable(OpenTK.Graphics.ES30.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.EnableCap)cap, EntryPoints[115]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable a generic vertex attribute array @@ -16557,18 +11980,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static + [Slot(117)] + public static extern void EnableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[117]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable a generic vertex attribute array @@ -16580,64 +11996,36 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static + [Slot(117)] + public static extern void EnableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[117]); - #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 = "glEndQuery")] - public static + [Slot(119)] + public static extern void EndQuery(OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, EntryPoints[119]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glEndQuery")] - public static + [Slot(119)] + public static extern void EndQuery(OpenTK.Graphics.ES30.QueryTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, EntryPoints[119]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glEndTransformFeedback")] - public static + [Slot(122)] + public static extern void EndTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[122]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Create a new sync object and insert it into the GL command stream @@ -16654,18 +12042,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFenceSync")] - public static + [Slot(135)] + public static extern IntPtr FenceSync(OpenTK.Graphics.ES30.All condition, OpenTK.Graphics.ES30.All flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, EntryPoints[135]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Create a new sync object and insert it into the GL command stream @@ -16681,52 +12062,31 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFenceSync")] - public static + [Slot(135)] + public static extern IntPtr FenceSync(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, EntryPoints[135]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(137)] + public static extern void Finish() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[137]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(139)] + public static extern void Flush() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[139]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Indicate modifications to a range of a mapped buffer @@ -16748,18 +12108,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")] - public static + [Slot(140)] + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, EntryPoints[140]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Indicate modifications to a range of a mapped buffer @@ -16780,18 +12133,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")] - public static + [Slot(140)] + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, EntryPoints[140]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -16817,18 +12163,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static + [Slot(142)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[142]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -16856,18 +12195,11 @@ 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 + [Slot(142)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[142]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -16893,18 +12225,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static + [Slot(142)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[142]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -16931,81 +12256,46 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static + [Slot(142)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[142]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static + [Slot(143)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level, EntryPoints[143]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(143)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level, EntryPoints[143]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static + [Slot(143)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level, EntryPoints[143]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static + [Slot(143)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level, EntryPoints[143]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -17036,18 +12326,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static + [Slot(147)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[147]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -17080,18 +12363,11 @@ 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 + [Slot(147)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[147]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -17122,18 +12398,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static + [Slot(147)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[147]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -17165,18 +12434,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static + [Slot(147)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[147]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define front- and back-facing polygons @@ -17188,18 +12450,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFrontFace")] - public static + [Slot(148)] + public static extern void FrontFace(OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.FrontFaceDirection)mode, EntryPoints[148]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define front- and back-facing polygons @@ -17210,18 +12465,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFrontFace")] - public static + [Slot(148)] + public static extern void FrontFace(OpenTK.Graphics.ES30.FrontFaceDirection mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.FrontFaceDirection)mode, EntryPoints[148]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -17237,25 +12485,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(149)] + public static extern Int32 GenBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* buffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[149]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -17271,24 +12505,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(149)] + public static extern void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[149]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -17304,25 +12525,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(149)] + public static extern void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[149]); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -17339,18 +12546,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(149)] + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[149]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -17367,24 +12567,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(149)] + public static extern void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[149]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -17401,25 +12588,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(149)] + public static extern void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[149]); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -17436,18 +12609,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static + [Slot(149)] + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[149]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate mipmaps for a specified texture target @@ -17459,18 +12625,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenerateMipmap")] - public static + [Slot(150)] + public static extern void GenerateMipmap(OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, EntryPoints[150]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate mipmaps for a specified texture target @@ -17481,18 +12640,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenerateMipmap")] - public static + [Slot(150)] + public static extern void GenerateMipmap(OpenTK.Graphics.ES30.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, EntryPoints[150]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17508,25 +12660,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(152)] + public static extern Int32 GenFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* framebuffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[152]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17542,24 +12680,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(152)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[152]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17575,25 +12700,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(152)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[152]); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17610,18 +12721,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(152)] + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[152]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17638,24 +12742,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(152)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[152]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17672,25 +12763,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(152)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[152]); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17707,18 +12784,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(152)] + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[152]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17734,25 +12804,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static + [Slot(155)] + public static extern Int32 GenQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[155]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17768,24 +12824,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static + [Slot(155)] + public static extern void GenQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[155]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17801,25 +12844,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static + [Slot(155)] + public static extern void GenQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[155]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17836,18 +12865,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static + [Slot(155)] + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[155]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17864,24 +12886,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static + [Slot(155)] + public static extern void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[155]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17898,25 +12907,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static + [Slot(155)] + public static extern void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[155]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17933,18 +12928,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static + [Slot(155)] + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[155]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -17960,25 +12948,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(157)] + public static extern Int32 GenRenderbuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* renderbuffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[157]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -17994,24 +12968,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(157)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[157]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -18027,25 +12988,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(157)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[157]); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -18062,18 +13009,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(157)] + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[157]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -18090,24 +13030,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(157)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[157]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -18124,25 +13051,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(157)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[157]); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -18159,18 +13072,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(157)] + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[157]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -18186,25 +13092,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static + [Slot(158)] + public static extern Int32 GenSampler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - Int32 retval; - Int32* samplers_ptr = &retval; - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[158]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -18220,24 +13112,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static + [Slot(158)] + public static extern void GenSamplers(Int32 count, [OutAttribute] Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[158]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -18253,25 +13132,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static + [Slot(158)] + public static extern void GenSamplers(Int32 count, [OutAttribute] out Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[158]); - samplers = *samplers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -18288,18 +13153,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static + [Slot(158)] + public static extern unsafe void GenSamplers(Int32 count, [OutAttribute] Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)samplers, EntryPoints[158]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -18316,24 +13174,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static + [Slot(158)] + public static extern void GenSamplers(Int32 count, [OutAttribute] UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[158]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -18350,25 +13195,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static + [Slot(158)] + public static extern void GenSamplers(Int32 count, [OutAttribute] out UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[158]); - samplers = *samplers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -18385,18 +13216,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static + [Slot(158)] + public static extern unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)samplers, EntryPoints[158]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -18412,25 +13236,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(159)] + public static extern Int32 GenTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* textures_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[159]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -18446,24 +13256,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(159)] + public static extern void GenTextures(Int32 n, [OutAttribute] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[159]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -18479,25 +13276,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(159)] + public static extern void GenTextures(Int32 n, [OutAttribute] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[159]); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -18514,18 +13297,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(159)] + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[159]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -18542,24 +13318,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(159)] + public static extern void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[159]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -18576,25 +13339,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(159)] + public static extern void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[159]); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -18611,18 +13360,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static + [Slot(159)] + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[159]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18638,25 +13380,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(160)] + public static extern Int32 GenTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[160]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18672,24 +13400,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(160)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[160]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18705,25 +13420,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(160)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[160]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18740,18 +13441,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(160)] + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[160]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18768,24 +13462,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(160)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[160]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18802,25 +13483,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(160)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[160]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18837,18 +13504,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(160)] + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[160]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -18864,25 +13524,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(161)] + public static extern Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[161]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -18898,24 +13544,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(161)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[161]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -18931,25 +13564,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(161)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[161]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -18966,18 +13585,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(161)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[161]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -18994,24 +13606,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(161)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[161]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -19028,25 +13627,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(161)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[161]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -19063,18 +13648,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(161)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[161]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -19115,29 +13693,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(163)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[163]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -19178,29 +13738,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(163)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[163]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -19242,18 +13784,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(163)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[163]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -19295,18 +13830,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(163)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[163]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -19348,29 +13876,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(163)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[163]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -19413,29 +13923,11 @@ 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 + [Slot(163)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[163]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -19477,18 +13969,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(163)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[163]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -19531,18 +14016,11 @@ 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 + [Slot(163)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[163]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19583,29 +14061,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(164)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[164]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19646,29 +14106,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(164)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[164]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19710,18 +14152,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(164)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19763,18 +14198,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(164)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19816,29 +14244,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(164)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[164]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19881,29 +14291,11 @@ 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 + [Slot(164)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[164]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19945,18 +14337,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(164)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19999,18 +14384,11 @@ 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 + [Slot(164)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20036,24 +14414,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(165)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[165]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20079,25 +14444,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(165)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[165]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20124,18 +14475,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(165)] + public static extern unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (IntPtr)@params, EntryPoints[165]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20161,24 +14505,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(165)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[165]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20204,25 +14535,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(165)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[165]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20249,18 +14566,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(165)] + public static extern unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (IntPtr)@params, EntryPoints[165]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20287,24 +14597,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(165)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[165]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20331,25 +14628,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(165)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[165]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20376,18 +14659,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(165)] + public static extern unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (IntPtr)@params, EntryPoints[165]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20415,24 +14691,11 @@ 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 + [Slot(165)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[165]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20460,25 +14723,11 @@ 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 + [Slot(165)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[165]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20506,18 +14755,11 @@ 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 + [Slot(165)] + public static extern unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (IntPtr)@params, EntryPoints[165]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the name of an active uniform block @@ -20548,25 +14790,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockName")] - public static + [Slot(166)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)uniformBlockName, EntryPoints[166]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the name of an active uniform block @@ -20598,18 +14826,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockName")] - public static + [Slot(166)] + public static extern unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (IntPtr)length, (StringBuilder)uniformBlockName, EntryPoints[166]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the name of an active uniform block @@ -20641,25 +14862,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockName")] - public static + [Slot(166)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)uniformBlockName, EntryPoints[166]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the name of an active uniform block @@ -20691,18 +14898,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockName")] - public static + [Slot(166)] + public static extern unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (IntPtr)length, (StringBuilder)uniformBlockName, EntryPoints[166]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20733,25 +14933,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(167)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[167]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20782,25 +14968,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(167)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[167]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20831,26 +15003,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(167)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[167]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20881,26 +15038,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(167)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[167]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20932,18 +15074,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(167)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (IntPtr)@params, EntryPoints[167]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20975,18 +15110,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(167)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (IntPtr)@params, EntryPoints[167]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -21018,25 +15146,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(167)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[167]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -21069,25 +15183,11 @@ 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 + [Slot(167)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[167]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -21119,26 +15219,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(167)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[167]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -21171,26 +15256,11 @@ 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 + [Slot(167)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[167]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -21222,18 +15292,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(167)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (IntPtr)@params, EntryPoints[167]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -21266,18 +15329,11 @@ 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 + [Slot(167)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (IntPtr)@params, EntryPoints[167]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -21303,26 +15359,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[168]); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -21348,27 +15389,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[168]); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -21395,18 +15420,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(168)] + public static extern unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count, (IntPtr)shaders, EntryPoints[168]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -21433,26 +15451,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[168]); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -21479,27 +15482,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(168)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[168]); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -21526,18 +15513,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(168)] + public static extern unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count, (IntPtr)shaders, EntryPoints[168]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of an attribute variable @@ -21553,18 +15533,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static + [Slot(169)] + public static extern Int32 GetAttribLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[169]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of an attribute variable @@ -21581,182 +15554,81 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static + [Slot(169)] + public static extern Int32 GetAttribLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[169]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(170)] + public static extern bool GetBoolean(OpenTK.Graphics.ES30.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[170]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(170)] + public static extern bool GetBoolean(OpenTK.Graphics.ES30.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[170]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(170)] + public static extern void GetBoolean(OpenTK.Graphics.ES30.All pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[170]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(170)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[170]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(170)] + public static extern unsafe void GetBoolean(OpenTK.Graphics.ES30.All pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data, EntryPoints[170]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(170)] + public static extern void GetBoolean(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[170]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(170)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[170]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(170)] + public static extern unsafe void GetBoolean(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data, EntryPoints[170]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a buffer object @@ -21778,24 +15650,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")] - public static + [Slot(171)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[171]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a buffer object @@ -21817,25 +15676,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")] - public static + [Slot(171)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[171]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a buffer object @@ -21858,18 +15703,11 @@ 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 + [Slot(171)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (IntPtr)@params, EntryPoints[171]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a buffer object @@ -21890,24 +15728,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")] - public static + [Slot(171)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[171]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a buffer object @@ -21928,25 +15753,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")] - public static + [Slot(171)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[171]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a buffer object @@ -21968,18 +15779,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")] - public static + [Slot(171)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (IntPtr)@params, EntryPoints[171]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -22001,24 +15805,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(172)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[172]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -22040,25 +15831,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(172)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[172]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -22081,18 +15858,11 @@ 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 + [Slot(172)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (IntPtr)@params, EntryPoints[172]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -22113,24 +15883,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(172)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[172]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -22151,25 +15908,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(172)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[172]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -22191,18 +15934,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(172)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (IntPtr)@params, EntryPoints[172]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return the pointer to a mapped buffer object's data store @@ -22224,18 +15960,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(173)] + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params, EntryPoints[173]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return the pointer to a mapped buffer object's data store @@ -22257,27 +15986,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(173)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[173]); - } - 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 @@ -22299,27 +16013,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(173)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[173]); - } - 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 @@ -22341,27 +16040,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(173)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[173]); - } - 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 @@ -22383,28 +16067,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(173)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[173]); - @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 @@ -22425,18 +16093,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(173)] + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params, EntryPoints[173]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return the pointer to a mapped buffer object's data store @@ -22457,27 +16118,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(173)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[173]); - } - 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 @@ -22498,27 +16144,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(173)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[173]); - } - 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 @@ -22539,27 +16170,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(173)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[173]); - } - 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 @@ -22580,28 +16196,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(173)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[173]); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -22647,28 +16247,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(175)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[175]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -22714,34 +16297,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(175)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[175]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -22788,18 +16348,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(175)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[175]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -22845,28 +16398,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(175)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[175]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -22912,34 +16448,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(175)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[175]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -22986,18 +16499,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(175)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[175]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -23045,28 +16551,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(175)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[175]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -23114,34 +16603,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(175)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[175]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -23189,18 +16655,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(175)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[175]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -23247,28 +16706,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(175)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[175]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -23315,34 +16757,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(175)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[175]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve messages from the debug message log @@ -23389,192 +16808,91 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(175)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[175]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return error information /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetError")] - public static + [Slot(179)] + public static extern OpenTK.Graphics.ES30.ErrorCode GetError() - { - return InteropHelper.CallReturn(EntryPoints[179]); - } + ; + /// [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 + [Slot(181)] + public static extern Single GetFloat(OpenTK.Graphics.ES30.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[181]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static + [Slot(181)] + public static extern Single GetFloat(OpenTK.Graphics.ES30.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[181]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(181)] + public static extern void GetFloat(OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[181]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(181)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[181]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(181)] + public static extern unsafe void GetFloat(OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data, EntryPoints[181]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static + [Slot(181)] + public static extern void GetFloat(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[181]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static + [Slot(181)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[181]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static + [Slot(181)] + public static extern unsafe void GetFloat(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data, EntryPoints[181]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query the bindings of color numbers to user-defined varying out variables @@ -23590,18 +16908,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static + [Slot(182)] + public static extern Int32 GetFragDataLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[182]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query the bindings of color numbers to user-defined varying out variables @@ -23618,18 +16929,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static + [Slot(182)] + public static extern Int32 GetFragDataLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[182]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -23656,24 +16960,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(183)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -23700,25 +16991,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(183)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[183]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -23746,18 +17023,11 @@ 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 + [Slot(183)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (IntPtr)@params, EntryPoints[183]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -23783,24 +17053,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(183)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -23826,25 +17083,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(183)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[183]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -23871,832 +17114,365 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(183)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (IntPtr)@params, EntryPoints[183]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[185]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(185)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[185]); - #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 = "glGetInteger64i_v")] - public static + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[185]); - } - } - #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 = "glGetInteger64i_v")] - public static + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[185]); - data = *data_ptr; - } - } - #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 = "glGetInteger64i_v")] - public static + [Slot(185)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[185]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[185]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(185)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[185]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(185)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[185]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(185)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[185]); - #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 = "glGetInteger64v")] - public static + [Slot(186)] + public static extern Int64 GetInteger64(OpenTK.Graphics.ES30.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[186]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")] - public static + [Slot(186)] + public static extern Int64 GetInteger64(OpenTK.Graphics.ES30.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[186]); - return retval; - } - #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 = "glGetInteger64v")] - public static + [Slot(186)] + public static extern void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[186]); - } - } - #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 = "glGetInteger64v")] - public static + [Slot(186)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[186]); - data = *data_ptr; - } - } - #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 = "glGetInteger64v")] - public static + [Slot(186)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data, EntryPoints[186]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")] - public static + [Slot(186)] + public static extern void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[186]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")] - public static + [Slot(186)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[186]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")] - public static + [Slot(186)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data, EntryPoints[186]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(188)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[188]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(188)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[188]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(188)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[188]); - #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 = "glGetIntegeri_v")] - public static + [Slot(188)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[188]); - } - } - #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 = "glGetIntegeri_v")] - public static + [Slot(188)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[188]); - data = *data_ptr; - } - } - #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 = "glGetIntegeri_v")] - public static + [Slot(188)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[188]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(188)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[188]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(188)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[188]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(188)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[188]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(188)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[188]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(188)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[188]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(188)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[188]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(190)] + public static extern Int32 GetInteger(OpenTK.Graphics.ES30.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[190]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(190)] + public static extern Int32 GetInteger(OpenTK.Graphics.ES30.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[190]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(190)] + public static extern void GetInteger(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[190]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(190)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[190]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(190)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data, EntryPoints[190]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(190)] + public static extern void GetInteger(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[190]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(190)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data_ptr, EntryPoints[190]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(190)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetPName)pname, (IntPtr)data, EntryPoints[190]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about implementation-dependent support for internal formats @@ -24728,24 +17504,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")] - public static + [Slot(191)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[191]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about implementation-dependent support for internal formats @@ -24777,25 +17540,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")] - public static + [Slot(191)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[191]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about implementation-dependent support for internal formats @@ -24828,18 +17577,11 @@ 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 + [Slot(191)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params, EntryPoints[191]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about implementation-dependent support for internal formats @@ -24870,24 +17612,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")] - public static + [Slot(191)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[191]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about implementation-dependent support for internal formats @@ -24918,25 +17647,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")] - public static + [Slot(191)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[191]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about implementation-dependent support for internal formats @@ -24968,18 +17683,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")] - public static + [Slot(191)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params, EntryPoints[191]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -25010,24 +17718,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(194)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[194]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -25058,25 +17753,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(194)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[194]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -25108,18 +17789,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(194)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[194]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -25152,24 +17826,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(194)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[194]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -25202,25 +17863,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(194)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[194]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -25253,18 +17900,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(194)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[194]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -25295,24 +17935,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(194)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[194]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -25343,25 +17970,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(194)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[194]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -25393,18 +18006,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(194)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[194]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -25436,24 +18042,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(194)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[194]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -25485,25 +18078,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(194)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[194]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a named object identified within a namespace @@ -25535,18 +18114,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static + [Slot(194)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[194]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -25572,24 +18144,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[197]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -25615,25 +18174,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[197]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -25660,18 +18205,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[197]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -25697,33 +18235,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[197]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -25749,34 +18266,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[197]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -25803,27 +18298,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[197]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -25849,33 +18329,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[197]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -25901,34 +18360,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[197]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -25955,27 +18392,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[197]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -26001,33 +18423,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[197]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -26053,34 +18454,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[197]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -26107,27 +18486,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[197]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -26153,34 +18517,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[197]); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve the label of a sync object identified by a pointer @@ -26206,35 +18548,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[197]); - 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 @@ -26261,28 +18580,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(197)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[197]); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -26299,18 +18602,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(205)] + public static extern void GetPointer(OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params, EntryPoints[205]); - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -26327,27 +18623,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(205)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[205]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -26364,27 +18645,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(205)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[205]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -26401,27 +18667,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(205)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[205]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -26438,28 +18689,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(205)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[205]); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -26475,18 +18710,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(205)] + public static extern void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params, EntryPoints[205]); - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -26502,27 +18730,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(205)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[205]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -26538,27 +18751,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(205)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[205]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -26574,27 +18772,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(205)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[205]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Return the address of the specified pointer @@ -26610,28 +18793,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static + [Slot(205)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[205]); - @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 @@ -26662,27 +18829,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[207]); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #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 @@ -26713,36 +18864,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - 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 @@ -26773,36 +18900,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - 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 @@ -26833,36 +18936,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - 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 @@ -26893,37 +18972,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - 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 @@ -26955,18 +19009,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary, EntryPoints[207]); - #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 @@ -26998,27 +19045,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - } - 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 @@ -27050,27 +19082,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - } - 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 @@ -27102,27 +19119,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - } - 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 @@ -27154,28 +19156,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - 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 @@ -27207,27 +19193,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[207]); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #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 @@ -27259,36 +19229,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - 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 @@ -27320,36 +19266,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - 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 @@ -27381,36 +19303,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - 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 @@ -27442,37 +19340,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - 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 @@ -27504,18 +19377,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary, EntryPoints[207]); - #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 @@ -27547,27 +19413,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - } - 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 @@ -27599,27 +19450,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - } - 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 @@ -27651,27 +19487,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - } - 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 @@ -27703,28 +19524,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static + [Slot(207)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[207]); - 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 @@ -27750,25 +19555,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(209)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[209]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -27795,18 +19586,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(209)] + public static extern unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[209]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -27833,25 +19617,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(209)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[209]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -27878,18 +19648,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(209)] + public static extern unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[209]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27910,24 +19673,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(210)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[210]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27948,25 +19698,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(210)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[210]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27988,18 +19724,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(210)] + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[210]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -28020,24 +19749,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(210)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[210]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -28058,25 +19774,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(210)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[210]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -28098,18 +19800,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(210)] + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[210]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -28132,24 +19827,11 @@ 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 + [Slot(210)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[210]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -28172,25 +19854,11 @@ 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 + [Slot(210)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[210]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -28213,18 +19881,11 @@ 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 + [Slot(210)] + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[210]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -28246,24 +19907,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(210)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[210]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -28285,25 +19933,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(210)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[210]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -28325,18 +19959,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(210)] + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[210]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object target @@ -28358,24 +19985,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")] - public static + [Slot(213)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[213]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object target @@ -28397,25 +20011,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")] - public static + [Slot(213)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[213]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object target @@ -28438,18 +20038,11 @@ 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 + [Slot(213)] + public static extern unsafe void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (IntPtr)@params, EntryPoints[213]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object target @@ -28470,24 +20063,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")] - public static + [Slot(213)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[213]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object target @@ -28508,25 +20088,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")] - public static + [Slot(213)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[213]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object target @@ -28548,18 +20114,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")] - public static + [Slot(213)] + public static extern unsafe void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (IntPtr)@params, EntryPoints[213]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28580,24 +20139,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(218)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[218]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28618,25 +20164,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(218)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[218]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28658,18 +20190,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(218)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[218]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28690,24 +20215,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(218)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[218]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28728,25 +20240,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(218)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[218]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28768,18 +20266,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(218)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[218]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28802,24 +20293,11 @@ 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 + [Slot(218)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[218]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28842,25 +20320,11 @@ 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 + [Slot(218)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[218]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28883,18 +20347,11 @@ 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 + [Slot(218)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[218]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28916,24 +20373,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(218)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[218]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28955,25 +20399,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(218)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[218]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28995,18 +20425,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(218)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[218]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -29028,24 +20451,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(220)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[220]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -29067,25 +20477,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(220)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[220]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -29108,18 +20504,11 @@ 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 + [Slot(220)] + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (IntPtr)@params, EntryPoints[220]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -29140,24 +20529,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(220)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[220]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -29178,25 +20554,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(220)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[220]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -29218,18 +20580,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(220)] + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (IntPtr)@params, EntryPoints[220]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29250,24 +20605,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(221)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29288,25 +20630,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(221)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[221]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29328,18 +20656,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(221)] + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[221]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29360,24 +20681,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(221)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29398,25 +20706,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(221)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[221]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29438,18 +20732,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(221)] + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[221]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29472,24 +20759,11 @@ 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 + [Slot(221)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29512,25 +20786,11 @@ 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 + [Slot(221)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[221]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29553,18 +20813,11 @@ 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 + [Slot(221)] + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[221]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29586,24 +20839,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(221)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29625,25 +20865,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(221)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[221]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29665,18 +20891,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(221)] + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[221]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29697,24 +20916,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(222)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[222]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29735,25 +20941,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(222)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[222]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29775,18 +20967,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(222)] + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[222]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29807,24 +20992,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(222)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[222]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29845,25 +21017,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(222)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[222]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29885,18 +21043,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(222)] + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[222]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29919,24 +21070,11 @@ 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 + [Slot(222)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[222]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29959,25 +21097,11 @@ 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 + [Slot(222)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[222]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -30000,18 +21124,11 @@ 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 + [Slot(222)] + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[222]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -30033,24 +21150,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(222)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[222]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -30072,25 +21176,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(222)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[222]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -30112,18 +21202,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(222)] + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[222]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -30149,25 +21232,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(223)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[223]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -30194,18 +21263,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(223)] + public static extern unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[223]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -30232,25 +21294,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(223)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[223]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -30277,18 +21325,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(223)] + public static extern unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[223]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30309,24 +21350,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(224)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[224]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30347,25 +21375,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(224)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[224]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30387,18 +21401,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(224)] + public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (IntPtr)@params, EntryPoints[224]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30419,24 +21426,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(224)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[224]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30457,25 +21451,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(224)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[224]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30497,18 +21477,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(224)] + public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (IntPtr)@params, EntryPoints[224]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30531,24 +21504,11 @@ 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 + [Slot(224)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[224]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30571,25 +21531,11 @@ 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 + [Slot(224)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[224]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30612,18 +21558,11 @@ 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 + [Slot(224)] + public static extern unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (IntPtr)@params, EntryPoints[224]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30645,24 +21584,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(224)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[224]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30684,25 +21610,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(224)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[224]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30724,18 +21636,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(224)] + public static extern unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (IntPtr)@params, EntryPoints[224]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -30762,25 +21667,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(225)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (IntPtr)range_ptr, (IntPtr)precision_ptr, EntryPoints[225]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -30807,27 +21698,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(225)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (IntPtr)range_ptr, (IntPtr)precision_ptr, EntryPoints[225]); - range = *range_ptr; - precision = *precision_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -30855,18 +21730,11 @@ 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 + [Slot(225)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (IntPtr)range, (IntPtr)precision, EntryPoints[225]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -30892,25 +21760,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(225)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (IntPtr)range_ptr, (IntPtr)precision_ptr, EntryPoints[225]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -30936,27 +21790,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(225)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (IntPtr)range_ptr, (IntPtr)precision_ptr, EntryPoints[225]); - range = *range_ptr; - precision = *precision_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -30983,18 +21821,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(225)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (IntPtr)range, (IntPtr)precision, EntryPoints[225]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -31020,25 +21851,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(226)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[226]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -31065,18 +21882,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(226)] + public static extern unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)source, EntryPoints[226]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -31103,25 +21913,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(226)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[226]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -31148,18 +21944,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(226)] + public static extern unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)source, EntryPoints[226]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a string describing the current GL connection @@ -31176,18 +21965,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetString")] - public static + [Slot(227)] + public static extern String GetString(OpenTK.Graphics.ES30.All name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.ES30.StringName)name, EntryPoints[227])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a string describing the current GL connection @@ -31203,18 +21985,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetString")] - public static + [Slot(227)] + public static extern String GetString(OpenTK.Graphics.ES30.StringName name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.ES30.StringName)name, EntryPoints[227])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return a string describing the current GL connection @@ -31230,18 +22005,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static + [Slot(228)] + public static extern String GetString(OpenTK.Graphics.ES30.All name, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index, EntryPoints[228])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return a string describing the current GL connection @@ -31259,18 +22027,11 @@ 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 + [Slot(228)] + public static extern String GetString(OpenTK.Graphics.ES30.All name, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index, EntryPoints[228])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return a string describing the current GL connection @@ -31286,18 +22047,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static + [Slot(228)] + public static extern String GetString(OpenTK.Graphics.ES30.StringNameIndexed name, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index, EntryPoints[228])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Return a string describing the current GL connection @@ -31314,18 +22068,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static + [Slot(228)] + public static extern String GetString(OpenTK.Graphics.ES30.StringNameIndexed name, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index, EntryPoints[228])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query the properties of a sync object @@ -31357,26 +22104,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")] - public static + [Slot(229)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[229]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query the properties of a sync object @@ -31408,27 +22140,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")] - public static + [Slot(229)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[229]); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query the properties of a sync object @@ -31461,18 +22177,11 @@ 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 + [Slot(229)] + public static extern 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 - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length, (IntPtr)values, EntryPoints[229]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query the properties of a sync object @@ -31503,26 +22212,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")] - public static + [Slot(229)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[229]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query the properties of a sync object @@ -31553,27 +22247,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")] - public static + [Slot(229)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[229]); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Query the properties of a sync object @@ -31605,18 +22283,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")] - public static + [Slot(229)] + public static extern 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 - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length, (IntPtr)values, EntryPoints[229]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31638,24 +22309,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(231)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[231]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31677,25 +22335,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(231)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[231]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31718,18 +22362,11 @@ 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 + [Slot(231)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (IntPtr)@params, EntryPoints[231]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31750,24 +22387,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(231)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[231]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31788,25 +22412,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(231)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[231]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31828,18 +22438,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(231)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (IntPtr)@params, EntryPoints[231]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31861,24 +22464,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(232)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[232]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31900,25 +22490,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(232)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[232]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31941,18 +22517,11 @@ 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 + [Slot(232)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (IntPtr)@params, EntryPoints[232]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31973,24 +22542,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(232)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[232]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -32011,25 +22567,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(232)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[232]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -32051,18 +22593,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(232)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (IntPtr)@params, EntryPoints[232]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -32103,29 +22638,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(233)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[233]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -32166,29 +22683,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(233)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[233]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -32230,18 +22729,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(233)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[233]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -32283,18 +22775,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(233)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[233]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -32337,29 +22822,11 @@ 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 + [Slot(233)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[233]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -32401,29 +22868,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(233)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[233]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -32466,18 +22915,11 @@ 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 + [Slot(233)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[233]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -32519,18 +22961,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(233)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[233]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32546,18 +22981,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformBlockIndex")] - public static + [Slot(235)] + public static extern Int32 GetUniformBlockIndex(Int32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)uniformBlockName, EntryPoints[235]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32574,18 +23002,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformBlockIndex")] - public static + [Slot(235)] + public static extern Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)uniformBlockName, EntryPoints[235]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32606,24 +23027,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(236)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[236]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32644,25 +23052,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(236)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[236]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32684,18 +23078,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(236)] + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[236]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32717,24 +23104,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(236)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[236]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32756,25 +23130,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(236)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[236]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32796,18 +23156,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(236)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[236]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32833,24 +23186,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")] - public static + [Slot(237)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices_ptr, EntryPoints[237]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32876,25 +23216,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")] - public static + [Slot(237)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices_ptr, EntryPoints[237]); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32921,18 +23247,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")] - public static + [Slot(237)] + public static extern unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices, EntryPoints[237]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32959,24 +23278,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")] - public static + [Slot(237)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices_ptr, EntryPoints[237]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -33003,25 +23309,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")] - public static + [Slot(237)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices_ptr, EntryPoints[237]); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -33048,18 +23340,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")] - public static + [Slot(237)] + public static extern unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices, EntryPoints[237]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -33080,24 +23365,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(238)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[238]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -33118,25 +23390,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(238)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[238]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -33158,18 +23416,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(238)] + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[238]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -33191,24 +23442,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(238)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[238]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -33230,25 +23468,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(238)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[238]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -33270,18 +23494,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(238)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[238]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of a uniform variable @@ -33297,18 +23514,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static + [Slot(239)] + public static extern Int32 GetUniformLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[239]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of a uniform variable @@ -33325,18 +23535,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static + [Slot(239)] + public static extern Int32 GetUniformLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[239]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns the value of a uniform variable @@ -33358,24 +23561,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static + [Slot(240)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[240]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns the value of a uniform variable @@ -33397,25 +23587,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static + [Slot(240)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[240]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Returns the value of a uniform variable @@ -33437,18 +23613,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static + [Slot(240)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[240]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33469,24 +23638,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(241)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[241]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33507,25 +23663,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(241)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[241]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33547,18 +23689,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(241)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[241]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33579,24 +23714,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(241)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[241]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33617,25 +23739,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(241)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[241]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33657,18 +23765,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(241)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[241]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33691,24 +23792,11 @@ 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 + [Slot(241)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[241]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33731,25 +23819,11 @@ 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 + [Slot(241)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[241]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33772,18 +23846,11 @@ 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 + [Slot(241)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[241]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33805,24 +23872,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(241)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[241]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33844,25 +23898,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(241)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[241]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33884,134 +23924,64 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(241)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[241]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static + [Slot(242)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[242]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static + [Slot(242)] + public static extern unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params, EntryPoints[242]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static + [Slot(242)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[242]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static + [Slot(242)] + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params, EntryPoints[242]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static + [Slot(243)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[243]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static + [Slot(243)] + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params, EntryPoints[243]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34032,24 +24002,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[244]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34070,25 +24027,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[244]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34110,18 +24053,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(244)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[244]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34142,24 +24078,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[244]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34180,25 +24103,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[244]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34220,18 +24129,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(244)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[244]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34254,24 +24156,11 @@ 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 + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[244]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34294,25 +24183,11 @@ 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 + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[244]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34335,18 +24210,11 @@ 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 + [Slot(244)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[244]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34368,24 +24236,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[244]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34407,25 +24262,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[244]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34447,18 +24288,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(244)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[244]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34479,18 +24313,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer, EntryPoints[245]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34511,27 +24338,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - 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 @@ -34552,27 +24364,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - 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 @@ -34593,27 +24390,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - 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 @@ -34634,28 +24416,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - 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 @@ -34676,18 +24442,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer, EntryPoints[245]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34708,27 +24467,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - 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 @@ -34749,27 +24493,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - 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 @@ -34790,27 +24519,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - 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 @@ -34831,28 +24545,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - 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 @@ -34875,18 +24573,11 @@ 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 + [Slot(245)] + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer, EntryPoints[245]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34909,27 +24600,12 @@ 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 + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - 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 @@ -34952,27 +24628,12 @@ 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 + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - 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 @@ -34995,27 +24656,12 @@ 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 + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - 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 @@ -35038,28 +24684,12 @@ 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 + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - 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 @@ -35081,18 +24711,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer, EntryPoints[245]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -35114,27 +24737,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - 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 @@ -35156,27 +24764,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - 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 @@ -35198,27 +24791,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - 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 @@ -35240,28 +24818,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[245]); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify implementation-specific hints @@ -35278,18 +24840,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glHint")] - public static + [Slot(246)] + public static extern void Hint(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.HintTarget)target, (OpenTK.Graphics.ES30.HintMode)mode, EntryPoints[246]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify implementation-specific hints @@ -35305,18 +24860,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glHint")] - public static + [Slot(246)] + public static extern void Hint(OpenTK.Graphics.ES30.HintTarget target, OpenTK.Graphics.ES30.HintMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.HintTarget)target, (OpenTK.Graphics.ES30.HintMode)mode, EntryPoints[246]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content some or all of a framebuffer object's attachments @@ -35338,24 +24886,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")] - public static + [Slot(248)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content some or all of a framebuffer object's attachments @@ -35377,24 +24912,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")] - public static + [Slot(248)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content some or all of a framebuffer object's attachments @@ -35417,18 +24939,11 @@ 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 + [Slot(248)] + public static extern unsafe void InvalidateFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments, EntryPoints[248]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content some or all of a framebuffer object's attachments @@ -35449,24 +24964,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")] - public static + [Slot(248)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content some or all of a framebuffer object's attachments @@ -35487,24 +24989,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")] - public static + [Slot(248)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content some or all of a framebuffer object's attachments @@ -35526,18 +25015,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")] - public static + [Slot(248)] + public static extern unsafe void InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments, EntryPoints[248]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -35579,24 +25061,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")] - public static + [Slot(249)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* attachments_ptr = attachments) - { - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[249]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -35638,24 +25107,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")] - public static + [Slot(249)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* attachments_ptr = &attachments) - { - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[249]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -35698,18 +25154,11 @@ 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 + [Slot(249)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[249]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -35750,24 +25199,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")] - public static + [Slot(249)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.FramebufferAttachment* attachments_ptr = attachments) - { - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[249]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -35808,24 +25244,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")] - public static + [Slot(249)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.FramebufferAttachment* attachments_ptr = &attachments) - { - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[249]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -35867,18 +25290,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")] - public static + [Slot(249)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[249]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a buffer object @@ -35889,18 +25305,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsBuffer")] - public static + [Slot(250)] + public static extern bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[250]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a buffer object @@ -35912,18 +25321,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsBuffer")] - public static + [Slot(250)] + public static extern bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[250]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Test whether a capability is enabled @@ -35940,18 +25342,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsEnabled")] - public static + [Slot(251)] + public static extern bool IsEnabled(OpenTK.Graphics.ES30.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.EnableCap)cap, EntryPoints[251]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Test whether a capability is enabled @@ -35967,18 +25362,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsEnabled")] - public static + [Slot(251)] + public static extern bool IsEnabled(OpenTK.Graphics.ES30.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.EnableCap)cap, EntryPoints[251]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a framebuffer object @@ -35989,18 +25377,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsFramebuffer")] - public static + [Slot(253)] + public static extern bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, EntryPoints[253]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a framebuffer object @@ -36012,18 +25393,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsFramebuffer")] - public static + [Slot(253)] + public static extern bool IsFramebuffer(UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, EntryPoints[253]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a program object @@ -36034,18 +25408,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static + [Slot(254)] + public static extern bool IsProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[254]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a program object @@ -36057,18 +25424,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static + [Slot(254)] + public static extern bool IsProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[254]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a query object @@ -36079,18 +25439,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsQuery")] - public static + [Slot(256)] + public static extern bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[256]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a query object @@ -36102,18 +25455,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsQuery")] - public static + [Slot(256)] + public static extern bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[256]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a renderbuffer object @@ -36124,18 +25470,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsRenderbuffer")] - public static + [Slot(258)] + public static extern bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)renderbuffer, EntryPoints[258]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a renderbuffer object @@ -36147,18 +25486,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsRenderbuffer")] - public static + [Slot(258)] + public static extern bool IsRenderbuffer(UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)renderbuffer, EntryPoints[258]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a sampler object @@ -36169,18 +25501,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsSampler")] - public static + [Slot(259)] + public static extern bool IsSampler(Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)sampler, EntryPoints[259]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a sampler object @@ -36192,18 +25517,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsSampler")] - public static + [Slot(259)] + public static extern bool IsSampler(UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)sampler, EntryPoints[259]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a shader object @@ -36214,18 +25532,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static + [Slot(260)] + public static extern bool IsShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)shader, EntryPoints[260]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a shader object @@ -36237,18 +25548,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static + [Slot(260)] + public static extern bool IsShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)shader, EntryPoints[260]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a sync object @@ -36259,18 +25563,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsSync")] - public static + [Slot(261)] + public static extern bool IsSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, EntryPoints[261]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a texture @@ -36281,18 +25578,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsTexture")] - public static + [Slot(263)] + public static extern bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[263]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a texture @@ -36304,18 +25594,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsTexture")] - public static + [Slot(263)] + public static extern bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[263]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a transform feedback object @@ -36326,18 +25609,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsTransformFeedback")] - public static + [Slot(264)] + public static extern bool IsTransformFeedback(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[264]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a transform feedback object @@ -36349,18 +25625,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsTransformFeedback")] - public static + [Slot(264)] + public static extern bool IsTransformFeedback(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[264]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a vertex array object @@ -36371,18 +25640,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static + [Slot(265)] + public static extern bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[265]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a vertex array object @@ -36394,18 +25656,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static + [Slot(265)] + public static extern bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[265]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the width of rasterized lines @@ -36416,18 +25671,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLineWidth")] - public static + [Slot(268)] + public static extern void LineWidth(Single width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)width, EntryPoints[268]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Links a program object @@ -36438,18 +25686,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static + [Slot(269)] + public static extern void LinkProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[269]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Links a program object @@ -36461,18 +25702,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static + [Slot(269)] + public static extern void LinkProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[269]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Map a section of a buffer object's data store @@ -36499,18 +25733,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glMapBufferRange")] - public static + [Slot(271)] + public static extern 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 InteropHelper.CallReturn((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.ES30.BufferAccessMask)access, EntryPoints[271]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Map a section of a buffer object's data store @@ -36536,18 +25763,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glMapBufferRange")] - public static + [Slot(271)] + public static extern 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 InteropHelper.CallReturn((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.ES30.BufferAccessMask)access, EntryPoints[271]); - #if DEBUG - } - #endif - } + ; + /// /// Label a named object identified within a namespace @@ -36573,18 +25793,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static + [Slot(275)] + public static extern void ObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[275]); - #if DEBUG - } - #endif - } + ; + /// /// Label a named object identified within a namespace @@ -36612,18 +25825,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static + [Slot(275)] + public static extern void ObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[275]); - #if DEBUG - } - #endif - } + ; + /// /// Label a named object identified within a namespace @@ -36649,18 +25855,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static + [Slot(275)] + public static extern void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[275]); - #if DEBUG - } - #endif - } + ; + /// /// Label a named object identified within a namespace @@ -36687,18 +25886,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static + [Slot(275)] + public static extern void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[275]); - #if DEBUG - } - #endif - } + ; + /// /// Label a a sync object identified by a pointer @@ -36719,18 +25911,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(277)] + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)length, (String)label, EntryPoints[277]); - #if DEBUG - } - #endif - } + ; + /// /// Label a a sync object identified by a pointer @@ -36751,27 +25936,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(277)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[277]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Label a a sync object identified by a pointer @@ -36792,27 +25962,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(277)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[277]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Label a a sync object identified by a pointer @@ -36833,27 +25988,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(277)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[277]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Label a a sync object identified by a pointer @@ -36874,45 +26014,22 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(277)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[277]); - 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 + [Slot(279)] + public static extern void PauseTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[279]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set pixel storage modes @@ -36929,18 +26046,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPixelStorei")] - public static + [Slot(280)] + public static extern void PixelStore(OpenTK.Graphics.ES30.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PixelStoreParameter)pname, (Int32)param, EntryPoints[280]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set pixel storage modes @@ -36956,18 +26066,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPixelStorei")] - public static + [Slot(280)] + public static extern void PixelStore(OpenTK.Graphics.ES30.PixelStoreParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PixelStoreParameter)pname, (Int32)param, EntryPoints[280]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set the scale and units used to calculate depth values @@ -36983,35 +26086,21 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPolygonOffset")] - public static + [Slot(281)] + public static extern void PolygonOffset(Single factor, Single units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)factor, (Single)units, EntryPoints[281]); - #if DEBUG - } - #endif - } + ; + /// /// Pop the active debug group /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPopDebugGroup")] - public static + [Slot(282)] + public static extern void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[282]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -37037,18 +26126,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static + [Slot(285)] + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length, EntryPoints[285]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -37074,27 +26156,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static + [Slot(285)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[285]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -37120,27 +26187,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static + [Slot(285)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[285]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -37166,27 +26218,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static + [Slot(285)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[285]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -37212,28 +26249,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static + [Slot(285)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[285]); - 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 @@ -37260,18 +26281,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static + [Slot(285)] + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length, EntryPoints[285]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -37298,27 +26312,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static + [Slot(285)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[285]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -37345,27 +26344,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static + [Slot(285)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[285]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -37392,27 +26376,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static + [Slot(285)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[285]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -37439,28 +26408,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static + [Slot(285)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[285]); - 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 @@ -37481,18 +26434,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramParameteri")] - public static + [Slot(287)] + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value, EntryPoints[287]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a parameter for a program object @@ -37513,18 +26459,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramParameteri")] - public static + [Slot(287)] + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value, EntryPoints[287]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a parameter for a program object @@ -37547,18 +26486,11 @@ 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 + [Slot(287)] + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value, EntryPoints[287]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a parameter for a program object @@ -37580,18 +26512,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramParameteri")] - public static + [Slot(287)] + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value, EntryPoints[287]); - #if DEBUG - } - #endif - } + ; + /// /// Push a named debug group into the command stream @@ -37617,18 +26542,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")] - public static + [Slot(322)] + public static extern void PushDebugGroup(OpenTK.Graphics.ES30.All source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[322]); - #if DEBUG - } - #endif - } + ; + /// /// Push a named debug group into the command stream @@ -37655,18 +26573,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")] - public static + [Slot(322)] + public static extern void PushDebugGroup(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[322]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Select a color buffer source for pixels @@ -37678,18 +26589,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glReadBuffer")] - public static + [Slot(326)] + public static extern void ReadBuffer(OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ReadBufferMode)mode, EntryPoints[326]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Select a color buffer source for pixels @@ -37700,18 +26604,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glReadBuffer")] - public static + [Slot(326)] + public static extern void ReadBuffer(OpenTK.Graphics.ES30.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ReadBufferMode)mode, EntryPoints[326]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37743,18 +26640,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(330)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels, EntryPoints[330]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37786,27 +26676,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[330]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37838,27 +26713,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[330]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37890,27 +26750,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[330]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37942,28 +26787,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[330]); - 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 @@ -37994,18 +26823,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(330)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels, EntryPoints[330]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -38036,27 +26858,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[330]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -38087,27 +26894,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[330]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -38138,27 +26930,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[330]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -38189,45 +26966,22 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[330]); - 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 + [Slot(331)] + public static extern void ReleaseShaderCompiler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[331]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -38254,18 +27008,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glRenderbufferStorage")] - public static + [Slot(332)] + public static extern void RenderbufferStorage(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[332]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -38291,18 +27038,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glRenderbufferStorage")] - public static + [Slot(332)] + public static extern void RenderbufferStorage(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[332]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -38334,18 +27074,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")] - public static + [Slot(333)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[333]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -38376,35 +27109,21 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")] - public static + [Slot(333)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[333]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(340)] + public static extern void ResumeTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[340]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify multisample coverage parameters @@ -38420,18 +27139,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glSampleCoverage")] - public static + [Slot(341)] + public static extern void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)value, (bool)invert, EntryPoints[341]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38457,18 +27169,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterf")] - public static + [Slot(342)] + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param, EntryPoints[342]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38494,18 +27199,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterf")] - public static + [Slot(342)] + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param, EntryPoints[342]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38533,18 +27231,11 @@ 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 + [Slot(342)] + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param, EntryPoints[342]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38571,18 +27262,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterf")] - public static + [Slot(342)] + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param, EntryPoints[342]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38608,24 +27292,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(343)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[343]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38652,18 +27323,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(343)] + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param, EntryPoints[343]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38689,24 +27353,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(343)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[343]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38733,18 +27384,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(343)] + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param, EntryPoints[343]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38772,24 +27416,11 @@ 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 + [Slot(343)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[343]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38817,18 +27448,11 @@ 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 + [Slot(343)] + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param, EntryPoints[343]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38855,24 +27479,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(343)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[343]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38899,18 +27510,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(343)] + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param, EntryPoints[343]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38936,18 +27540,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteri")] - public static + [Slot(344)] + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param, EntryPoints[344]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38973,18 +27570,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteri")] - public static + [Slot(344)] + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param, EntryPoints[344]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -39012,18 +27602,11 @@ 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 + [Slot(344)] + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param, EntryPoints[344]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -39050,18 +27633,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteri")] - public static + [Slot(344)] + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param, EntryPoints[344]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -39087,24 +27663,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(345)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[345]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -39131,18 +27694,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(345)] + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param, EntryPoints[345]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -39168,24 +27724,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(345)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[345]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -39212,18 +27755,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(345)] + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param, EntryPoints[345]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -39251,24 +27787,11 @@ 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 + [Slot(345)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[345]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -39296,18 +27819,11 @@ 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 + [Slot(345)] + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param, EntryPoints[345]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -39334,24 +27850,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(345)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[345]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -39378,18 +27881,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(345)] + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (IntPtr)param, EntryPoints[345]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define the scissor box @@ -39405,18 +27901,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glScissor")] - public static + [Slot(346)] + public static extern void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[346]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39447,24 +27936,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[349]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39495,33 +27971,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39552,33 +28007,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39609,33 +28043,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39666,34 +28079,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - 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 @@ -39724,24 +28115,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[349]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39772,33 +28150,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39829,33 +28186,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39886,33 +28222,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39943,34 +28258,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - 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 @@ -40001,24 +28294,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[349]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40049,33 +28329,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40106,33 +28365,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40163,33 +28401,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40220,34 +28437,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - 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 @@ -40278,24 +28473,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[349]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40326,33 +28508,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40383,33 +28544,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40440,33 +28580,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40497,34 +28616,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - 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 @@ -40556,18 +28653,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[349]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40599,27 +28689,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40651,27 +28726,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40703,27 +28763,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40755,28 +28800,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - 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 @@ -40808,18 +28837,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[349]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40851,27 +28873,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40903,27 +28910,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40955,27 +28947,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41007,28 +28984,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - 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 @@ -41061,24 +29022,11 @@ 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 + [Slot(349)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[349]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41111,33 +29059,12 @@ 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 + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41170,33 +29097,12 @@ 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 + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41229,33 +29135,12 @@ 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 + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41288,34 +29173,12 @@ 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 + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - 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 @@ -41347,24 +29210,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[349]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41396,33 +29246,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41454,33 +29283,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41512,33 +29320,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41570,34 +29357,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - 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 @@ -41630,24 +29395,11 @@ 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 + [Slot(349)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[349]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41680,33 +29432,12 @@ 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 + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41739,33 +29470,12 @@ 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 + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41798,33 +29508,12 @@ 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 + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41857,34 +29546,12 @@ 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 + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - 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 @@ -41916,24 +29583,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[349]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41965,33 +29619,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42023,33 +29656,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42081,33 +29693,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42139,34 +29730,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - 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 @@ -42199,18 +29768,11 @@ 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 + [Slot(349)] + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[349]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42243,27 +29805,12 @@ 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 + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42296,27 +29843,12 @@ 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 + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42349,27 +29881,12 @@ 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 + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42402,28 +29919,12 @@ 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 + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - 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 @@ -42455,18 +29956,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[349]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42498,27 +29992,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42550,27 +30029,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42602,27 +30066,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42654,28 +30103,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static + [Slot(349)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[349]); - 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 @@ -42701,24 +30134,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(350)] + public static extern void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -42744,24 +30164,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(350)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -42788,18 +30195,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(350)] + public static extern unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length, EntryPoints[350]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -42826,24 +30226,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(350)] + public static extern void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -42870,24 +30257,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(350)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -42914,18 +30288,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(350)] + public static extern unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length, EntryPoints[350]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -42946,18 +30313,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static + [Slot(352)] + public static extern void StencilFunc(OpenTK.Graphics.ES30.All func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[352]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -42980,18 +30340,11 @@ 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 + [Slot(352)] + public static extern void StencilFunc(OpenTK.Graphics.ES30.All func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[352]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -43012,18 +30365,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static + [Slot(352)] + public static extern void StencilFunc(OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[352]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -43045,18 +30391,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static + [Slot(352)] + public static extern void StencilFunc(OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[352]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -43082,18 +30421,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static + [Slot(353)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES30.All face, OpenTK.Graphics.ES30.All func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[353]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -43121,18 +30453,11 @@ 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 + [Slot(353)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES30.All face, OpenTK.Graphics.ES30.All func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[353]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -43158,18 +30483,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static + [Slot(353)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[353]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -43196,18 +30514,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static + [Slot(353)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[353]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and back writing of individual bits in the stencil planes @@ -43218,18 +30529,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMask")] - public static + [Slot(354)] + public static extern void StencilMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[354]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and back writing of individual bits in the stencil planes @@ -43241,18 +30545,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMask")] - public static + [Slot(354)] + public static extern void StencilMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[354]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -43268,18 +30565,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static + [Slot(355)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES30.All face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask, EntryPoints[355]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -43297,18 +30587,11 @@ 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 + [Slot(355)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES30.All face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask, EntryPoints[355]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -43324,18 +30607,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static + [Slot(355)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES30.StencilFace face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask, EntryPoints[355]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -43352,18 +30628,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static + [Slot(355)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES30.StencilFace face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask, EntryPoints[355]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back stencil test actions @@ -43385,18 +30654,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOp")] - public static + [Slot(356)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.StencilOp)fail, (OpenTK.Graphics.ES30.StencilOp)zfail, (OpenTK.Graphics.ES30.StencilOp)zpass, EntryPoints[356]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back stencil test actions @@ -43417,18 +30679,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOp")] - public static + [Slot(356)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.StencilOp)fail, (OpenTK.Graphics.ES30.StencilOp)zfail, (OpenTK.Graphics.ES30.StencilOp)zpass, EntryPoints[356]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back stencil test actions @@ -43455,18 +30710,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static + [Slot(357)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilOp)sfail, (OpenTK.Graphics.ES30.StencilOp)dpfail, (OpenTK.Graphics.ES30.StencilOp)dppass, EntryPoints[357]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back stencil test actions @@ -43492,18 +30740,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static + [Slot(357)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilOp)sfail, (OpenTK.Graphics.ES30.StencilOp)dpfail, (OpenTK.Graphics.ES30.StencilOp)dppass, EntryPoints[357]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43555,18 +30796,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(359)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[359]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43618,27 +30852,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(359)] + 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 - { - InteropHelper.Call((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(), EntryPoints[359]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43690,27 +30909,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(359)] + 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 - { - InteropHelper.Call((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(), EntryPoints[359]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43762,27 +30966,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(359)] + 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 - { - InteropHelper.Call((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(), EntryPoints[359]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43834,28 +31023,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(359)] + 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 - { - InteropHelper.Call((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(), EntryPoints[359]); - 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 @@ -43906,18 +31079,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(359)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[359]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43968,27 +31134,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(359)] + 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 - { - InteropHelper.Call((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(), EntryPoints[359]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -44039,27 +31190,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(359)] + 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 - { - InteropHelper.Call((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(), EntryPoints[359]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -44110,27 +31246,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(359)] + 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 - { - InteropHelper.Call((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(), EntryPoints[359]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -44181,28 +31302,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static + [Slot(359)] + 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 - { - InteropHelper.Call((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(), EntryPoints[359]); - 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 @@ -44259,18 +31364,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static + [Slot(360)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[360]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44327,27 +31425,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44404,27 +31487,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44481,27 +31549,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44558,28 +31611,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - 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 @@ -44635,18 +31672,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static + [Slot(360)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[360]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44702,27 +31732,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44778,27 +31793,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44854,27 +31854,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44930,28 +31915,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((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(), EntryPoints[360]); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -44981,18 +31950,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterf")] - public static + [Slot(362)] + public static extern void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single)param, EntryPoints[362]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45021,18 +31983,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterf")] - public static + [Slot(362)] + public static extern void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single)param, EntryPoints[362]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45062,24 +32017,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static + [Slot(363)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[363]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45110,18 +32052,11 @@ 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 + [Slot(363)] + public static extern unsafe void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (IntPtr)@params, EntryPoints[363]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45150,24 +32085,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static + [Slot(363)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[363]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45197,18 +32119,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static + [Slot(363)] + public static extern unsafe void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (IntPtr)@params, EntryPoints[363]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45238,18 +32153,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteri")] - public static + [Slot(364)] + public static extern void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32)param, EntryPoints[364]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45278,18 +32186,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteri")] - public static + [Slot(364)] + public static extern void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32)param, EntryPoints[364]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45319,24 +32220,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static + [Slot(365)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[365]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45367,18 +32255,11 @@ 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 + [Slot(365)] + public static extern unsafe void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (IntPtr)@params, EntryPoints[365]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45407,24 +32288,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static + [Slot(365)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[365]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45454,18 +32322,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static + [Slot(365)] + public static extern unsafe void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (IntPtr)@params, EntryPoints[365]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -45497,18 +32358,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexStorage2D")] - public static + [Slot(367)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[367]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -45539,18 +32393,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexStorage2D")] - public static + [Slot(367)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[367]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -45587,18 +32434,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexStorage3D")] - public static + [Slot(369)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[369]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -45634,18 +32474,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexStorage3D")] - public static + [Slot(369)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[369]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45697,18 +32530,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(371)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[371]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45760,27 +32586,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(371)] + 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 - { - InteropHelper.Call((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(), EntryPoints[371]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45832,27 +32643,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(371)] + 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 - { - InteropHelper.Call((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(), EntryPoints[371]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45904,27 +32700,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(371)] + 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 - { - InteropHelper.Call((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(), EntryPoints[371]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45976,28 +32757,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(371)] + 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 - { - InteropHelper.Call((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(), EntryPoints[371]); - 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 @@ -46048,18 +32813,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(371)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[371]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -46110,27 +32868,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(371)] + 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 - { - InteropHelper.Call((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(), EntryPoints[371]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -46181,27 +32924,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(371)] + 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 - { - InteropHelper.Call((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(), EntryPoints[371]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -46252,27 +32980,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(371)] + 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 - { - InteropHelper.Call((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(), EntryPoints[371]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -46323,28 +33036,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static + [Slot(371)] + 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 - { - InteropHelper.Call((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(), EntryPoints[371]); - 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 @@ -46406,18 +33103,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static + [Slot(372)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[372]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46479,27 +33169,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static + [Slot(372)] + 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 - { - InteropHelper.Call((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(), EntryPoints[372]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46561,27 +33236,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static + [Slot(372)] + 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 - { - InteropHelper.Call((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(), EntryPoints[372]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46643,27 +33303,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static + [Slot(372)] + 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 - { - InteropHelper.Call((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(), EntryPoints[372]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46725,28 +33370,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static + [Slot(372)] + 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 - { - InteropHelper.Call((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(), EntryPoints[372]); - 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 @@ -46807,18 +33436,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static + [Slot(372)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[372]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46879,27 +33501,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static + [Slot(372)] + 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 - { - InteropHelper.Call((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(), EntryPoints[372]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46960,27 +33567,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static + [Slot(372)] + 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 - { - InteropHelper.Call((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(), EntryPoints[372]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -47041,27 +33633,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static + [Slot(372)] + 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 - { - InteropHelper.Call((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(), EntryPoints[372]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -47122,28 +33699,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static + [Slot(372)] + 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 - { - InteropHelper.Call((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(), EntryPoints[372]); - 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 @@ -47169,18 +33730,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static + [Slot(377)] + public static extern void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.All bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.ES30.TransformFeedbackMode)bufferMode, EntryPoints[377]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify values to record in transform feedback buffers @@ -47206,18 +33760,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static + [Slot(377)] + public static extern void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.ES30.TransformFeedbackMode)bufferMode, EntryPoints[377]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify values to record in transform feedback buffers @@ -47245,18 +33792,11 @@ 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 + [Slot(377)] + public static extern void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.All bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.ES30.TransformFeedbackMode)bufferMode, EntryPoints[377]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify values to record in transform feedback buffers @@ -47283,18 +33823,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static + [Slot(377)] + public static extern void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.ES30.TransformFeedbackMode)bufferMode, EntryPoints[377]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47328,18 +33861,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1f")] - public static + [Slot(378)] + public static extern void Uniform1(Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, EntryPoints[378]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47373,24 +33899,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static + [Slot(379)] + public static extern void Uniform1(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[379]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47424,24 +33937,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static + [Slot(379)] + public static extern void Uniform1(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[379]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47476,18 +33976,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static + [Slot(379)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[379]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47521,18 +34014,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1i")] - public static + [Slot(380)] + public static extern void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, EntryPoints[380]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47566,24 +34052,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static + [Slot(381)] + public static extern void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[381]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47617,24 +34090,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static + [Slot(381)] + public static extern void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[381]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47669,18 +34129,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static + [Slot(381)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[381]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -47715,18 +34168,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1ui")] - public static + [Slot(382)] + public static extern void Uniform1(Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, EntryPoints[382]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -47761,24 +34207,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static + [Slot(383)] + public static extern void Uniform1(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -47813,24 +34246,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static + [Slot(383)] + public static extern void Uniform1(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -47865,18 +34285,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static + [Slot(383)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[383]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47910,18 +34323,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2f")] - public static + [Slot(384)] + public static extern void Uniform2(Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, EntryPoints[384]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47955,24 +34361,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static + [Slot(385)] + public static extern void Uniform2(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[385]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48006,24 +34399,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static + [Slot(385)] + public static extern void Uniform2(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[385]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48058,18 +34438,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static + [Slot(385)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[385]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48103,18 +34476,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2i")] - public static + [Slot(386)] + public static extern void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, EntryPoints[386]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48148,24 +34514,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static + [Slot(387)] + public static extern void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[387]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48200,18 +34553,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static + [Slot(387)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[387]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -48246,18 +34592,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2ui")] - public static + [Slot(388)] + public static extern void Uniform2(Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, EntryPoints[388]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -48292,24 +34631,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static + [Slot(389)] + public static extern void Uniform2(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[389]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -48344,24 +34670,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static + [Slot(389)] + public static extern void Uniform2(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[389]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -48396,18 +34709,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static + [Slot(389)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[389]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48441,18 +34747,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3f")] - public static + [Slot(390)] + public static extern void Uniform3(Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[390]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48486,24 +34785,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static + [Slot(391)] + public static extern void Uniform3(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[391]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48537,24 +34823,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static + [Slot(391)] + public static extern void Uniform3(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[391]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48589,18 +34862,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static + [Slot(391)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[391]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48634,18 +34900,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3i")] - public static + [Slot(392)] + public static extern void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[392]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48679,24 +34938,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static + [Slot(393)] + public static extern void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[393]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48730,24 +34976,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static + [Slot(393)] + public static extern void Uniform3(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[393]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48782,18 +35015,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static + [Slot(393)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[393]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -48828,18 +35054,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3ui")] - public static + [Slot(394)] + public static extern void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, EntryPoints[394]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -48874,24 +35093,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static + [Slot(395)] + public static extern void Uniform3(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[395]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -48926,24 +35132,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static + [Slot(395)] + public static extern void Uniform3(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[395]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -48978,18 +35171,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static + [Slot(395)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[395]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -49023,18 +35209,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4f")] - public static + [Slot(396)] + public static extern void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[396]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -49068,24 +35247,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static + [Slot(397)] + public static extern void Uniform4(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[397]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -49119,24 +35285,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static + [Slot(397)] + public static extern void Uniform4(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[397]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -49171,18 +35324,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static + [Slot(397)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[397]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -49216,18 +35362,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4i")] - public static + [Slot(398)] + public static extern void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[398]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -49261,24 +35400,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static + [Slot(399)] + public static extern void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[399]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -49312,24 +35438,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static + [Slot(399)] + public static extern void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[399]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -49364,18 +35477,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static + [Slot(399)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[399]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -49410,18 +35516,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4ui")] - public static + [Slot(400)] + public static extern void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3, EntryPoints[400]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -49456,24 +35555,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static + [Slot(401)] + public static extern void Uniform4(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[401]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -49508,24 +35594,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static + [Slot(401)] + public static extern void Uniform4(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[401]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -49560,18 +35633,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static + [Slot(401)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[401]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Assign a binding point to an active uniform block @@ -49592,18 +35658,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformBlockBinding")] - public static + [Slot(402)] + public static extern void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding, EntryPoints[402]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Assign a binding point to an active uniform block @@ -49625,571 +35684,253 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformBlockBinding")] - public static + [Slot(402)] + public static extern void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding, EntryPoints[402]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static + [Slot(403)] + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[403]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static + [Slot(403)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[403]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static + [Slot(403)] + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[403]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix2x3fv")] - public static + [Slot(404)] + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[404]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix2x3fv")] - public static + [Slot(404)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[404]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix2x3fv")] - public static + [Slot(404)] + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[404]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix2x4fv")] - public static + [Slot(406)] + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[406]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix2x4fv")] - public static + [Slot(406)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[406]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix2x4fv")] - public static + [Slot(406)] + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[406]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static + [Slot(408)] + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[408]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static + [Slot(408)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[408]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static + [Slot(408)] + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[408]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix3x2fv")] - public static + [Slot(409)] + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[409]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix3x2fv")] - public static + [Slot(409)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[409]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix3x2fv")] - public static + [Slot(409)] + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[409]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix3x4fv")] - public static + [Slot(411)] + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[411]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix3x4fv")] - public static + [Slot(411)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[411]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix3x4fv")] - public static + [Slot(411)] + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[411]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static + [Slot(413)] + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[413]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static + [Slot(413)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[413]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static + [Slot(413)] + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[413]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix4x2fv")] - public static + [Slot(414)] + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[414]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix4x2fv")] - public static + [Slot(414)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[414]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix4x2fv")] - public static + [Slot(414)] + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[414]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix4x3fv")] - public static + [Slot(416)] + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[416]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix4x3fv")] - public static + [Slot(416)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[416]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix4x3fv")] - public static + [Slot(416)] + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[416]); - #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 = "glUnmapBuffer")] - public static + [Slot(418)] + public static extern bool UnmapBuffer(OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.BufferTarget)target, EntryPoints[418]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUnmapBuffer")] - public static + [Slot(418)] + public static extern bool UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.BufferTarget)target, EntryPoints[418]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Installs a program object as part of current rendering state @@ -50200,18 +35941,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static + [Slot(420)] + public static extern void UseProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[420]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Installs a program object as part of current rendering state @@ -50223,18 +35957,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static + [Slot(420)] + public static extern void UseProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[420]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Validates a program object @@ -50245,18 +35972,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static + [Slot(423)] + public static extern void ValidateProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[423]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Validates a program object @@ -50268,18 +35988,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static + [Slot(423)] + public static extern void ValidateProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[423]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50315,18 +36028,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static + [Slot(425)] + public static extern void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, EntryPoints[425]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50363,18 +36069,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static + [Slot(425)] + public static extern void VertexAttrib1(UInt32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, EntryPoints[425]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50411,18 +36110,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static + [Slot(426)] + public static extern unsafe void VertexAttrib1(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[426]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50459,18 +36151,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static + [Slot(426)] + public static extern unsafe void VertexAttrib1(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[426]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50506,18 +36191,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static + [Slot(427)] + public static extern void VertexAttrib2(Int32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, EntryPoints[427]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50554,18 +36232,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static + [Slot(427)] + public static extern void VertexAttrib2(UInt32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, EntryPoints[427]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50601,24 +36272,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(428)] + public static extern void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[428]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50654,24 +36312,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(428)] + public static extern void VertexAttrib2(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[428]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50708,18 +36353,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(428)] + public static extern unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[428]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50756,24 +36394,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(428)] + public static extern void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[428]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50810,24 +36435,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(428)] + public static extern void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[428]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50864,18 +36476,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(428)] + public static extern unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[428]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50911,18 +36516,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static + [Slot(429)] + public static extern void VertexAttrib3(Int32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, EntryPoints[429]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50959,18 +36557,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static + [Slot(429)] + public static extern void VertexAttrib3(UInt32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, EntryPoints[429]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51006,24 +36597,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(430)] + public static extern void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[430]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51059,24 +36637,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(430)] + public static extern void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[430]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51113,18 +36678,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(430)] + public static extern unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[430]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51161,24 +36719,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(430)] + public static extern void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[430]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51215,24 +36760,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(430)] + public static extern void VertexAttrib3(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[430]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51269,18 +36801,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(430)] + public static extern unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[430]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51316,18 +36841,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static + [Slot(431)] + public static extern void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[431]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51364,18 +36882,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static + [Slot(431)] + public static extern void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[431]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51411,24 +36922,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(432)] + public static extern void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[432]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51464,24 +36962,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(432)] + public static extern void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[432]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51518,18 +37003,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(432)] + public static extern unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[432]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51566,24 +37044,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(432)] + public static extern void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[432]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51620,24 +37085,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(432)] + public static extern void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[432]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51674,18 +37126,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(432)] + public static extern unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[432]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -51701,18 +37146,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribDivisor")] - public static + [Slot(433)] + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[433]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -51729,706 +37167,307 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribDivisor")] - public static + [Slot(433)] + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[433]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static + [Slot(437)] + public static extern void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[437]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static + [Slot(437)] + public static extern void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[437]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(438)] + public static extern void VertexAttribI4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[438]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(438)] + public static extern void VertexAttribI4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[438]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(438)] + public static extern unsafe void VertexAttribI4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[438]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(438)] + public static extern void VertexAttribI4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[438]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(438)] + public static extern void VertexAttribI4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[438]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(438)] + public static extern unsafe void VertexAttribI4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[438]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ui")] - public static + [Slot(439)] + public static extern void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w, EntryPoints[439]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static + [Slot(440)] + public static extern void VertexAttribI4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[440]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static + [Slot(440)] + public static extern void VertexAttribI4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[440]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static + [Slot(440)] + public static extern unsafe void VertexAttribI4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[440]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(441)] + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[441]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - } - 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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - } - 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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - } - 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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - 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 + [Slot(441)] + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[441]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - } - 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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - } - 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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - } - 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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - 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 + [Slot(441)] + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[441]); - #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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - } - 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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - } - 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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - } - 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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - 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 + [Slot(441)] + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[441]); - #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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - } - 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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - } - 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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - } - 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 + [Slot(441)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[441]); - 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 @@ -52464,18 +37503,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[442]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52511,27 +37543,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52567,27 +37584,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52623,27 +37625,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52679,28 +37666,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - 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 @@ -52736,18 +37707,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[442]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52783,27 +37747,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52839,27 +37788,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52895,27 +37829,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52951,28 +37870,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - 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 @@ -53010,18 +37913,11 @@ 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 + [Slot(442)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[442]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -53059,27 +37955,12 @@ 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 + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -53117,27 +37998,12 @@ 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 + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -53175,27 +38041,12 @@ 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 + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -53233,28 +38084,12 @@ 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 + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - 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 @@ -53291,18 +38126,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[442]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -53339,27 +38167,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -53396,27 +38209,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -53453,27 +38251,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -53510,28 +38293,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[442]); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0 and ES_VERSION_2_0] /// Set the viewport @@ -53547,18 +38314,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glViewport")] - public static + [Slot(443)] + public static extern void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[443]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -53579,18 +38339,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glWaitSync")] - public static + [Slot(444)] + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[444]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -53613,18 +38366,11 @@ 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 + [Slot(444)] + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[444]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -53645,18 +38391,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glWaitSync")] - public static + [Slot(444)] + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[444]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ES_VERSION_3_0] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -53678,51 +38417,30 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glWaitSync")] - public static + [Slot(444)] + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[444]); - #if DEBUG - } - #endif - } + ; + public static partial class Ext { /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveProgramEXT")] - public static + [Slot(0)] + public static extern void ActiveProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[0]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveProgramEXT")] - public static + [Slot(0)] + public static extern void ActiveProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[0]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Set the active program object for a program pipeline object @@ -53738,18 +38456,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveShaderProgramEXT")] - public static + [Slot(1)] + public static extern void ActiveShaderProgram(Int32 pipeline, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)program, EntryPoints[1]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Set the active program object for a program pipeline object @@ -53766,18 +38477,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveShaderProgramEXT")] - public static + [Slot(1)] + public static extern void ActiveShaderProgram(UInt32 pipeline, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)program, EntryPoints[1]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -53793,18 +38497,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static + [Slot(7)] + public static extern void BeginQuery(OpenTK.Graphics.ES30.All target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id, EntryPoints[7]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -53822,18 +38519,11 @@ 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 + [Slot(7)] + public static extern void BeginQuery(OpenTK.Graphics.ES30.All target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id, EntryPoints[7]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -53849,18 +38539,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static + [Slot(7)] + public static extern void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id, EntryPoints[7]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -53877,18 +38560,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static + [Slot(7)] + public static extern void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id, EntryPoints[7]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Bind a program pipeline to the current context @@ -53899,18 +38575,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glBindProgramPipelineEXT")] - public static + [Slot(14)] + public static extern void BindProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[14]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Bind a program pipeline to the current context @@ -53922,18 +38591,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glBindProgramPipelineEXT")] - public static + [Slot(14)] + public static extern void BindProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[14]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_blend_minmax] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -53950,18 +38612,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static + [Slot(24)] + public static extern void BlendEquation(OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BlendEquationMode)mode, EntryPoints[24]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_blend_minmax] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -53977,18 +38632,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static + [Slot(24)] + public static extern void BlendEquation(OpenTK.Graphics.ES30.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BlendEquationMode)mode, EntryPoints[24]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Create a stand-alone program from an array of null-terminated source code strings @@ -54009,18 +38657,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glCreateShaderProgramEXT")] - public static + [Slot(64)] + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.ES30.All type, String @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.All)type, (String)@string, EntryPoints[64]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Create a stand-alone program from an array of null-terminated source code strings @@ -54041,59 +38682,28 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glCreateShaderProgramvEXT")] - public static + [Slot(65)] + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.ES30.All type, Int32 count, String[] strings) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.All)type, (Int32)count, (String[])strings, EntryPoints[65]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(78)] + public static extern void DeleteProgramPipeline(Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[78]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(78)] + public static extern void DeleteProgramPipeline(UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[78]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -54109,24 +38719,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(78)] + public static extern void DeleteProgramPipelines(Int32 n, Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[78]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -54142,24 +38739,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(78)] + public static extern void DeleteProgramPipelines(Int32 n, ref Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[78]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -54176,18 +38760,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(78)] + public static extern unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[78]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -54204,24 +38781,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(78)] + public static extern void DeleteProgramPipelines(Int32 n, UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[78]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -54238,24 +38802,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(78)] + public static extern void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[78]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -54272,59 +38823,28 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(78)] + public static extern unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[78]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(80)] + public static extern void DeleteQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[80]); - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(80)] + public static extern void DeleteQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[80]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -54340,24 +38860,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(80)] + public static extern void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[80]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -54373,24 +38880,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(80)] + public static extern void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[80]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -54407,18 +38901,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(80)] + public static extern unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[80]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -54435,24 +38922,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(80)] + public static extern void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[80]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -54469,24 +38943,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(80)] + public static extern void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[80]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -54503,76 +38964,36 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static + [Slot(80)] + public static extern unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[80]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_discard_framebuffer] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static + [Slot(97)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[97]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_discard_framebuffer] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static + [Slot(97)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[97]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_discard_framebuffer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static + [Slot(97)] + public static extern unsafe void DiscardFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (Int32)numAttachments, (IntPtr)attachments, EntryPoints[97]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a range of elements @@ -54599,18 +39020,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedEXT")] - public static + [Slot(101)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount, EntryPoints[101]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a range of elements @@ -54636,18 +39050,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedEXT")] - public static + [Slot(101)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount, EntryPoints[101]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -54664,24 +39071,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static + [Slot(104)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[104]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -54698,24 +39092,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static + [Slot(104)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[104]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -54733,18 +39114,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static + [Slot(104)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[104]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -54760,24 +39134,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static + [Slot(104)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[104]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -54793,24 +39154,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static + [Slot(104)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[104]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -54827,78 +39175,36 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static + [Slot(104)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[104]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glDrawBuffersIndexedEXT")] - public static + [Slot(105)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)location_ptr, (IntPtr)indices_ptr, EntryPoints[105]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glDrawBuffersIndexedEXT")] - public static + [Slot(105)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)location_ptr, (IntPtr)indices_ptr, EntryPoints[105]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glDrawBuffersIndexedEXT")] - public static + [Slot(105)] + public static extern unsafe void DrawBuffersIndexed(Int32 n, OpenTK.Graphics.ES30.All* location, Int32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)location, (IntPtr)indices, EntryPoints[105]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -54930,18 +39236,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(110)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[110]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -54973,27 +39272,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(110)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[110]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -55025,27 +39309,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(110)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[110]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -55077,27 +39346,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(110)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[110]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -55129,28 +39383,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(110)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[110]); - 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 @@ -55181,18 +39419,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(110)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[110]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -55223,27 +39454,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(110)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[110]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -55274,27 +39490,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(110)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[110]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -55325,27 +39526,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(110)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[110]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -55376,59 +39562,29 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(110)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[110]); - 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 + [Slot(120)] + public static extern void EndQuery(OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, EntryPoints[120]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glEndQueryEXT")] - public static + [Slot(120)] + public static extern void EndQuery(OpenTK.Graphics.ES30.QueryTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, EntryPoints[120]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Indicate modifications to a range of a mapped buffer @@ -55450,18 +39606,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeEXT")] - public static + [Slot(141)] + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, EntryPoints[141]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Indicate modifications to a range of a mapped buffer @@ -55482,71 +39631,36 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeEXT")] - public static + [Slot(141)] + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, EntryPoints[141]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multisampled_render_to_texture] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")] - public static + [Slot(144)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples, EntryPoints[144]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multisampled_render_to_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")] - public static + [Slot(144)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples, EntryPoints[144]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(154)] + public static extern Int32 GenProgramPipeline() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* pipelines_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[154]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -55562,24 +39676,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(154)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[154]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -55595,25 +39696,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(154)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[154]); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -55630,18 +39717,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(154)] + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[154]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -55658,24 +39738,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(154)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[154]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -55692,25 +39759,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(154)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[154]); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -55727,40 +39780,19 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(154)] + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[154]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(156)] + public static extern Int32 GenQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[156]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -55776,24 +39808,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(156)] + public static extern void GenQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[156]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -55809,25 +39828,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(156)] + public static extern void GenQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[156]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -55844,18 +39849,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(156)] + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[156]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -55872,24 +39870,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(156)] + public static extern void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[156]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -55906,25 +39891,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(156)] + public static extern void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[156]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -55941,516 +39912,230 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static + [Slot(156)] + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[156]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetGraphicsResetStatusEXT")] - public static + [Slot(184)] + public static extern OpenTK.Graphics.ES30.All GetGraphicsResetStatus() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn(EntryPoints[184]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(189)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[189]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(189)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[189]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(189)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[189]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(189)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[189]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(189)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[189]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(189)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[189]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(189)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[189]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(189)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[189]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(189)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[189]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(189)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[189]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(189)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[189]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static + [Slot(189)] + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[189]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(192)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[192]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(192)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[192]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(192)] + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[192]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(192)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[192]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(192)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[192]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static + [Slot(192)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[192]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(193)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[193]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(193)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[193]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(193)] + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[193]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(193)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[193]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(193)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[193]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static + [Slot(193)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[193]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -56481,24 +40166,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(195)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[195]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -56529,25 +40201,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(195)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[195]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -56579,18 +40237,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(195)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[195]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -56622,24 +40273,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(195)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[195]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -56671,25 +40309,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(195)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[195]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -56721,18 +40345,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(195)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[195]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -56758,24 +40375,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(211)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[211]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -56801,25 +40405,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(211)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[211]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -56846,18 +40436,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(211)] + public static extern unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[211]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -56884,24 +40467,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(211)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[211]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -56928,25 +40498,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(211)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[211]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -56973,18 +40529,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(211)] + public static extern unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[211]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -57005,24 +40554,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(212)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[212]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -57043,25 +40579,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(212)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[212]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -57083,18 +40605,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(212)] + public static extern unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params, EntryPoints[212]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -57116,24 +40631,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(212)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[212]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -57155,25 +40657,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(212)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[212]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -57195,139 +40683,64 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(212)] + public static extern unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params, EntryPoints[212]); - #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 = "glGetQueryivEXT")] - public static + [Slot(214)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[214]); - } - } - #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 = "glGetQueryivEXT")] - public static + [Slot(214)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[214]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(214)] + public static extern unsafe void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (IntPtr)@params, EntryPoints[214]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static + [Slot(214)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[214]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static + [Slot(214)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[214]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(214)] + public static extern unsafe void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (IntPtr)@params, EntryPoints[214]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57348,24 +40761,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[215]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57386,25 +40786,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[215]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57426,18 +40812,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(215)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[215]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57458,24 +40837,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[215]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57496,25 +40862,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[215]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57536,18 +40888,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(215)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[215]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57570,24 +40915,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[215]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57610,25 +40942,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[215]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57651,18 +40969,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(215)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[215]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57684,24 +40995,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[215]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57723,25 +41021,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[215]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57763,18 +41047,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(215)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[215]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57795,24 +41072,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(216)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[216]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57833,25 +41097,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(216)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[216]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57873,18 +41123,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(216)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[216]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57905,24 +41148,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(216)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[216]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57943,25 +41173,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(216)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[216]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57983,18 +41199,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(216)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[216]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58017,24 +41226,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(216)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[216]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58057,25 +41253,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(216)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[216]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58098,18 +41280,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(216)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[216]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58131,24 +41306,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(216)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[216]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58170,25 +41332,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(216)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[216]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58210,18 +41358,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static + [Slot(216)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[216]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58244,24 +41385,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(217)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[217]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58284,25 +41412,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(217)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[217]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58325,18 +41439,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(217)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[217]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58358,24 +41465,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(217)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[217]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58397,25 +41491,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(217)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[217]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58437,18 +41517,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(217)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[217]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -58471,24 +41544,11 @@ 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 + [Slot(219)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[219]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -58511,25 +41571,11 @@ 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 + [Slot(219)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[219]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -58552,18 +41598,11 @@ 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 + [Slot(219)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[219]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -58585,24 +41624,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static + [Slot(219)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[219]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -58624,25 +41650,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static + [Slot(219)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[219]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -58664,33 +41676,19 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static + [Slot(219)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[219]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glInsertEventMarkerEXT")] - public static + [Slot(247)] + public static extern void InsertEventMarker(Int32 length, String marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)length, (String)marker, EntryPoints[247]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Determine if a name corresponds to a program pipeline object @@ -58701,18 +41699,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glIsProgramPipelineEXT")] - public static + [Slot(255)] + public static extern bool IsProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)pipeline, EntryPoints[255]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Determine if a name corresponds to a program pipeline object @@ -58724,18 +41715,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glIsProgramPipelineEXT")] - public static + [Slot(255)] + public static extern bool IsProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)pipeline, EntryPoints[255]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Determine if a name corresponds to a query object @@ -58746,18 +41730,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glIsQueryEXT")] - public static + [Slot(257)] + public static extern bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[257]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Determine if a name corresponds to a query object @@ -58769,49 +41746,28 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glIsQueryEXT")] - public static + [Slot(257)] + public static extern bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[257]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glLabelObjectEXT")] - public static + [Slot(267)] + public static extern void LabelObject(OpenTK.Graphics.ES30.All type, Int32 @object, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)length, (String)label, EntryPoints[267]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glLabelObjectEXT")] - public static + [Slot(267)] + public static extern void LabelObject(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)length, (String)label, EntryPoints[267]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -58837,18 +41793,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static + [Slot(272)] + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, Int32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access, EntryPoints[272]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -58876,18 +41825,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static + [Slot(272)] + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, UInt32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access, EntryPoints[272]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -58913,18 +41855,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static + [Slot(272)] + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, Int32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access, EntryPoints[272]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -58951,18 +41886,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static + [Slot(272)] + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access, EntryPoints[272]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -58989,25 +41917,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -59034,25 +41948,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -59080,18 +41980,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(273)] + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.ES30.All mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[273]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -59117,25 +42010,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -59161,25 +42040,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -59206,18 +42071,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(273)] + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[273]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59249,24 +42107,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[274]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59298,33 +42143,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59356,33 +42180,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59414,33 +42217,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59472,34 +42254,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - 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 @@ -59531,24 +42291,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[274]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59580,33 +42327,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59638,33 +42364,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59696,33 +42401,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59754,34 +42438,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - 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 @@ -59814,18 +42476,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[274]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59858,27 +42513,12 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59911,27 +42551,12 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59964,27 +42589,12 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60017,28 +42627,12 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - 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 @@ -60069,24 +42663,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[274]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60117,33 +42698,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60174,33 +42734,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60231,33 +42770,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60288,34 +42806,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - 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 @@ -60346,24 +42842,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[274]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60394,33 +42877,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60451,33 +42913,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60508,33 +42949,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60565,34 +42985,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - 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 @@ -60624,18 +43022,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[274]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60667,27 +43058,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60719,27 +43095,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60771,27 +43132,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60823,43 +43169,20 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[274]); - 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 + [Slot(284)] + public static extern void PopGroupMarker() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[284]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -60880,18 +43203,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static + [Slot(288)] + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value, EntryPoints[288]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -60912,18 +43228,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static + [Slot(288)] + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value, EntryPoints[288]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -60946,18 +43255,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static + [Slot(288)] + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value, EntryPoints[288]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -60979,18 +43281,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static + [Slot(288)] + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value, EntryPoints[288]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61029,18 +43324,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static + [Slot(289)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, EntryPoints[289]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61080,18 +43368,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static + [Slot(289)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, EntryPoints[289]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61130,24 +43411,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(290)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[290]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61186,24 +43454,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(290)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[290]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61243,18 +43498,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(290)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[290]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61294,24 +43542,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(290)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[290]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61351,24 +43586,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(290)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[290]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61408,18 +43630,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(290)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[290]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61458,18 +43673,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static + [Slot(291)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, EntryPoints[291]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61509,18 +43717,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static + [Slot(291)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, EntryPoints[291]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61559,24 +43760,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(292)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[292]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61615,24 +43803,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(292)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[292]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61672,18 +43847,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(292)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[292]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61723,24 +43891,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(292)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[292]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61780,24 +43935,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(292)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[292]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61837,18 +43979,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(292)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[292]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61888,18 +44023,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uiEXT")] - public static + [Slot(293)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, EntryPoints[293]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61939,24 +44067,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static + [Slot(294)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[294]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61996,24 +44111,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static + [Slot(294)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[294]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62053,18 +44155,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static + [Slot(294)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[294]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62103,18 +44198,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static + [Slot(295)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, EntryPoints[295]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62154,18 +44242,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static + [Slot(295)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, EntryPoints[295]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62204,24 +44285,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(296)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[296]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62260,24 +44328,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(296)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[296]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62317,18 +44372,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(296)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[296]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62368,24 +44416,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(296)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[296]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62425,24 +44460,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(296)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[296]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62482,18 +44504,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(296)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[296]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62532,18 +44547,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static + [Slot(297)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, EntryPoints[297]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62583,18 +44591,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static + [Slot(297)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, EntryPoints[297]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62633,24 +44634,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static + [Slot(298)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[298]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62690,18 +44678,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static + [Slot(298)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[298]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62741,24 +44722,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static + [Slot(298)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[298]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62798,18 +44766,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static + [Slot(298)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[298]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62849,18 +44810,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uiEXT")] - public static + [Slot(299)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, EntryPoints[299]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62900,24 +44854,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static + [Slot(300)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[300]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62957,24 +44898,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static + [Slot(300)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[300]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63014,18 +44942,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static + [Slot(300)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[300]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63064,18 +44985,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static + [Slot(301)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[301]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63115,18 +45029,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static + [Slot(301)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[301]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63165,24 +45072,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(302)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[302]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63221,24 +45115,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(302)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[302]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63278,18 +45159,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(302)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[302]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63329,24 +45203,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(302)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[302]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63386,24 +45247,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(302)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[302]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63443,18 +45291,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(302)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[302]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63493,18 +45334,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static + [Slot(303)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[303]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63544,18 +45378,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static + [Slot(303)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[303]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63594,24 +45421,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(304)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[304]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63650,24 +45464,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(304)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[304]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63707,18 +45508,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(304)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[304]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63758,24 +45552,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(304)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[304]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63815,24 +45596,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(304)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[304]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63872,18 +45640,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(304)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[304]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63923,18 +45684,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uiEXT")] - public static + [Slot(305)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, EntryPoints[305]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63974,24 +45728,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static + [Slot(306)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[306]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64031,24 +45772,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static + [Slot(306)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[306]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64088,18 +45816,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static + [Slot(306)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[306]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64138,18 +45859,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static + [Slot(307)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[307]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64189,18 +45903,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static + [Slot(307)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[307]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64239,24 +45946,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(308)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[308]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64295,24 +45989,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(308)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[308]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64352,18 +46033,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(308)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[308]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64403,24 +46077,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(308)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[308]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64460,24 +46121,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(308)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[308]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64517,18 +46165,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(308)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[308]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64567,18 +46208,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static + [Slot(309)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[309]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64618,18 +46252,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static + [Slot(309)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[309]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64668,24 +46295,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(310)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[310]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64724,24 +46338,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(310)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[310]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64781,18 +46382,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(310)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[310]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64832,24 +46426,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(310)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[310]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64889,24 +46470,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(310)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[310]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64946,18 +46514,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(310)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[310]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64997,18 +46558,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uiEXT")] - public static + [Slot(311)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3, EntryPoints[311]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -65048,24 +46602,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static + [Slot(312)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[312]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -65105,24 +46646,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static + [Slot(312)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[312]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -65162,1095 +46690,487 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static + [Slot(312)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[312]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(313)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[313]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(313)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[313]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(313)] + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[313]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(313)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[313]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(313)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[313]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(313)] + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[313]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(314)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[314]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(314)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[314]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(314)] + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[314]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(314)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[314]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(314)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[314]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(314)] + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[314]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(315)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[315]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(315)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[315]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(315)] + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[315]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(315)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[315]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(315)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[315]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(315)] + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[315]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(316)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[316]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(316)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[316]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(316)] + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[316]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(316)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[316]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(316)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[316]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(316)] + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[316]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(317)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[317]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(317)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[317]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(317)] + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[317]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(317)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[317]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(317)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[317]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(317)] + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[317]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(318)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[318]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(318)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[318]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(318)] + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[318]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(318)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[318]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(318)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[318]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(318)] + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[318]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static + [Slot(319)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[319]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static + [Slot(319)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[319]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(319)] + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[319]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(319)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[319]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(319)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[319]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(319)] + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[319]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(320)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[320]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(320)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[320]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(320)] + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[320]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(320)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[320]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(320)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[320]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(320)] + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[320]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(321)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[321]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(321)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[321]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(321)] + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[321]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(321)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[321]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(321)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[321]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(321)] + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[321]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glPushGroupMarkerEXT")] - public static + [Slot(324)] + public static extern void PushGroupMarker(Int32 length, String marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)length, (String)marker, EntryPoints[324]); - #if DEBUG - } - #endif - } + ; + /// [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. @@ -66266,18 +47186,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glQueryCounterEXT")] - public static + [Slot(325)] + public static extern void QueryCounter(Int32 id, OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.All)target, EntryPoints[325]); - #if DEBUG - } - #endif - } + ; + /// [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. @@ -66294,145 +47207,63 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glQueryCounterEXT")] - public static + [Slot(325)] + public static extern void QueryCounter(UInt32 id, OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.ES30.All)target, EntryPoints[325]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glReadBufferIndexedEXT")] - public static + [Slot(327)] + public static extern void ReadBufferIndexed(OpenTK.Graphics.ES30.All src, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)src, (Int32)index, EntryPoints[327]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(329)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (Int32)bufSize, (IntPtr)data, EntryPoints[329]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(329)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[329]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(329)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[329]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(329)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[329]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static + [Slot(329)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[329]); - 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 @@ -66464,18 +47295,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static + [Slot(336)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[336]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -66506,18 +47330,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static + [Slot(336)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[336]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a one-dimensional texture @@ -66543,18 +47360,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage1DEXT")] - public static + [Slot(366)] + public static extern void TexStorage1D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, EntryPoints[366]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -66586,18 +47396,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage2DEXT")] - public static + [Slot(368)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[368]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -66628,18 +47431,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage2DEXT")] - public static + [Slot(368)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[368]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -66676,18 +47472,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage3DEXT")] - public static + [Slot(370)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[370]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -66723,111 +47512,62 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage3DEXT")] - public static + [Slot(370)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[370]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static + [Slot(374)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, EntryPoints[374]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static + [Slot(374)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, EntryPoints[374]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static + [Slot(375)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, (Int32)height, EntryPoints[375]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static + [Slot(375)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, (Int32)height, EntryPoints[375]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static + [Slot(376)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[376]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static + [Slot(376)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[376]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Bind stages of a program object to a program pipeline @@ -66848,18 +47588,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseProgramStagesEXT")] - public static + [Slot(421)] + public static extern void UseProgramStages(Int32 pipeline, Int32 stages, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)stages, (UInt32)program, EntryPoints[421]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Bind stages of a program object to a program pipeline @@ -66881,49 +47614,28 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseProgramStagesEXT")] - public static + [Slot(421)] + public static extern void UseProgramStages(UInt32 pipeline, UInt32 stages, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)stages, (UInt32)program, EntryPoints[421]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseShaderProgramEXT")] - public static + [Slot(422)] + public static extern void UseShaderProgram(OpenTK.Graphics.ES30.All type, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)type, (UInt32)program, EntryPoints[422]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseShaderProgramEXT")] - public static + [Slot(422)] + public static extern void UseShaderProgram(OpenTK.Graphics.ES30.All type, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)type, (UInt32)program, EntryPoints[422]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Validate a program pipeline object against current GL state @@ -66934,18 +47646,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glValidateProgramPipelineEXT")] - public static + [Slot(424)] + public static extern void ValidateProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[424]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Validate a program pipeline object against current GL state @@ -66957,18 +47662,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glValidateProgramPipelineEXT")] - public static + [Slot(424)] + public static extern void ValidateProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[424]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -66984,18 +47682,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorEXT")] - public static + [Slot(435)] + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[435]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -67012,18 +47703,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorEXT")] - public static + [Slot(435)] + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[435]); - #if DEBUG - } - #endif - } + ; + } @@ -67031,34 +47715,20 @@ namespace OpenTK.Graphics.ES30 { /// [requires: IMG_multisampled_render_to_texture] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")] - public static + [Slot(145)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples, EntryPoints[145]); - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_multisampled_render_to_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")] - public static + [Slot(145)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples, EntryPoints[145]); - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -67090,18 +47760,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleIMG")] - public static + [Slot(337)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[337]); - #if DEBUG - } - #endif - } + ; + /// [requires: IMG_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -67132,18 +47795,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleIMG")] - public static + [Slot(337)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[337]); - #if DEBUG - } - #endif - } + ; + } @@ -67163,18 +47819,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(68)] + public static extern void DebugMessageCallback(DebugProcKhr callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam, EntryPoints[68]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -67190,27 +47839,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(68)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[68]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -67226,27 +47860,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(68)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[68]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -67262,27 +47881,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(68)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[68]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -67298,28 +47902,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(68)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[68]); - 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 @@ -67355,24 +47943,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(70)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[70]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67408,24 +47983,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(70)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[70]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67462,18 +48024,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(70)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[70]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67511,24 +48066,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(70)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[70]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67566,24 +48108,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(70)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[70]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67621,18 +48150,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(70)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[70]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67668,24 +48190,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(70)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[70]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67721,24 +48230,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(70)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[70]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67775,18 +48271,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(70)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[70]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67823,24 +48312,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(70)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[70]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67877,24 +48353,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(70)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[70]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67931,18 +48394,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(70)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[70]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -67978,18 +48434,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static + [Slot(72)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[72]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -68027,18 +48476,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static + [Slot(72)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[72]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -68074,18 +48516,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static + [Slot(72)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[72]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -68122,18 +48557,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static + [Slot(72)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[72]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68179,28 +48607,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(176)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[176]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68246,34 +48657,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(176)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[176]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68320,18 +48708,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(176)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[176]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68377,28 +48758,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(176)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[176]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68444,34 +48808,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(176)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[176]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68518,18 +48859,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(176)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[176]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68577,28 +48911,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(176)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[176]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68646,34 +48963,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(176)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[176]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68721,18 +49015,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(176)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[176]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68779,28 +49066,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(176)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[176]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68847,34 +49117,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(176)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[176]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68921,18 +49168,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(176)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[176]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -68963,24 +49203,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(196)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69011,25 +49238,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(196)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[196]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69061,18 +49274,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(196)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[196]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69105,24 +49311,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(196)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69155,25 +49348,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(196)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[196]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69206,18 +49385,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(196)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[196]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69248,24 +49420,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(196)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69296,25 +49455,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(196)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[196]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69346,18 +49491,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(196)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[196]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69389,24 +49527,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(196)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69438,25 +49563,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(196)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[196]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69488,18 +49599,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(196)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[196]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69525,24 +49629,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[198]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69568,25 +49659,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[198]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69613,18 +49690,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[198]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69650,33 +49720,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[198]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69702,34 +49751,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[198]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69756,27 +49783,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[198]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69802,33 +49814,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[198]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69854,34 +49845,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[198]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69908,27 +49877,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[198]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69954,33 +49908,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[198]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -70006,34 +49939,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[198]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -70060,27 +49971,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[198]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -70106,34 +50002,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[198]); - 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 @@ -70159,35 +50033,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[198]); - 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 @@ -70214,140 +50065,56 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(198)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[198]); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(206)] + public static extern void GetPointer(OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)pname, (IntPtr)@params, EntryPoints[206]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(206)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[206]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(206)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[206]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(206)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[206]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(206)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[206]); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -70373,18 +50140,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static + [Slot(276)] + public static extern void ObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[276]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -70412,18 +50172,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static + [Slot(276)] + public static extern void ObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[276]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -70449,18 +50202,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static + [Slot(276)] + public static extern void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[276]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -70487,18 +50233,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static + [Slot(276)] + public static extern void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[276]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -70519,18 +50258,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(278)] + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)length, (String)label, EntryPoints[278]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -70551,27 +50283,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(278)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[278]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -70592,27 +50309,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(278)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[278]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -70633,27 +50335,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(278)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[278]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -70674,45 +50361,22 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(278)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[278]); - 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 + [Slot(283)] + public static extern void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[283]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -70738,18 +50402,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static + [Slot(323)] + public static extern void PushDebugGroup(OpenTK.Graphics.ES30.All source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[323]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -70776,18 +50433,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static + [Slot(323)] + public static extern void PushDebugGroup(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[323]); - #if DEBUG - } - #endif - } + ; + } @@ -70795,33 +50445,19 @@ namespace OpenTK.Graphics.ES30 { /// [requires: NV_blend_equation_advanced] [AutoGenerated(Category = "NV_blend_equation_advanced", Version = "", EntryPoint = "glBlendBarrierNV")] - public static + [Slot(21)] + public static extern void BlendBarrier() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[21]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_blend_equation_advanced] [AutoGenerated(Category = "NV_blend_equation_advanced", Version = "", EntryPoint = "glBlendParameteriNV")] - public static + [Slot(28)] + public static extern void BlendParameter(OpenTK.Graphics.ES30.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)pname, (Int32)value, EntryPoints[28]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -70848,18 +50484,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferNV")] - public static + [Slot(31)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[31]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -70885,18 +50514,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferNV")] - public static + [Slot(31)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[31]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_copy_buffer] /// Copy part of the data store of a buffer object to the data store of another buffer object @@ -70928,18 +50550,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_copy_buffer", Version = "", EntryPoint = "glCopyBufferSubDataNV")] - public static + [Slot(54)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size, EntryPoints[54]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_copy_buffer] /// Copy part of the data store of a buffer object to the data store of another buffer object @@ -70970,207 +50585,96 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_copy_buffer", Version = "", EntryPoint = "glCopyBufferSubDataNV")] - public static + [Slot(54)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size, EntryPoints[54]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_coverage_sample] [AutoGenerated(Category = "NV_coverage_sample", Version = "", EntryPoint = "glCoverageMaskNV")] - public static + [Slot(60)] + public static extern void CoverageMask(bool mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)mask, EntryPoints[60]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_coverage_sample] [AutoGenerated(Category = "NV_coverage_sample", Version = "", EntryPoint = "glCoverageOperationNV")] - public static + [Slot(61)] + public static extern void CoverageOperation(OpenTK.Graphics.ES30.All operation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)operation, EntryPoints[61]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(74)] + public static extern void DeleteFence(Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[74]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(74)] + public static extern void DeleteFence(UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[74]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(74)] + public static extern void DeleteFences(Int32 n, Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[74]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(74)] + public static extern void DeleteFences(Int32 n, ref Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[74]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(74)] + public static extern unsafe void DeleteFences(Int32 n, Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[74]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(74)] + public static extern void DeleteFences(Int32 n, UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[74]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(74)] + public static extern void DeleteFences(Int32 n, ref UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[74]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(74)] + public static extern unsafe void DeleteFences(Int32 n, UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[74]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a range of elements @@ -71197,18 +50701,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedNV")] - public static + [Slot(102)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount, EntryPoints[102]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a range of elements @@ -71234,18 +50731,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedNV")] - public static + [Slot(102)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount, EntryPoints[102]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -71262,24 +50752,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static + [Slot(106)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[106]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -71296,24 +50773,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static + [Slot(106)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[106]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -71331,18 +50795,11 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static + [Slot(106)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[106]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -71358,24 +50815,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static + [Slot(106)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[106]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -71391,24 +50835,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static + [Slot(106)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[106]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -71425,18 +50856,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static + [Slot(106)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[106]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71468,18 +50892,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(111)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[111]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71511,27 +50928,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(111)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[111]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71563,27 +50965,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(111)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[111]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71615,27 +51002,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(111)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[111]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71667,28 +51039,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(111)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[111]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71719,18 +51075,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(111)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[111]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71761,27 +51110,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(111)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[111]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71812,27 +51146,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(111)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[111]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71863,27 +51182,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(111)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[111]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71914,352 +51218,158 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static + [Slot(111)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[111]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static + [Slot(138)] + public static extern void FinishFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, EntryPoints[138]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static + [Slot(138)] + public static extern void FinishFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, EntryPoints[138]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(151)] + public static extern Int32 GenFence() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* fences_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[151]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(151)] + public static extern void GenFences(Int32 n, [OutAttribute] Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[151]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(151)] + public static extern void GenFences(Int32 n, [OutAttribute] out Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[151]); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(151)] + public static extern unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[151]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(151)] + public static extern void GenFences(Int32 n, [OutAttribute] UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[151]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(151)] + public static extern void GenFences(Int32 n, [OutAttribute] out UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[151]); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(151)] + public static extern unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[151]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(180)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[180]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(180)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[180]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(180)] + public static extern unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params, EntryPoints[180]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(180)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[180]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(180)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[180]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(180)] + public static extern unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params, EntryPoints[180]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static + [Slot(252)] + public static extern bool IsFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[252]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static + [Slot(252)] + public static extern bool IsFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[252]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_read_buffer] /// Select a color buffer source for pixels @@ -72270,18 +51380,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_read_buffer", Version = "", EntryPoint = "glReadBufferNV")] - public static + [Slot(328)] + public static extern void ReadBuffer(OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)mode, EntryPoints[328]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -72313,18 +51416,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleNV")] - public static + [Slot(338)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[338]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -72355,428 +51451,195 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleNV")] - public static + [Slot(338)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[338]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static + [Slot(348)] + public static extern void SetFence(Int32 fence, OpenTK.Graphics.ES30.All condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES30.All)condition, EntryPoints[348]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static + [Slot(348)] + public static extern void SetFence(UInt32 fence, OpenTK.Graphics.ES30.All condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.ES30.All)condition, EntryPoints[348]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static + [Slot(358)] + public static extern bool TestFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[358]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static + [Slot(358)] + public static extern bool TestFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[358]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x3fvNV")] - public static + [Slot(405)] + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[405]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x3fvNV")] - public static + [Slot(405)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[405]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x3fvNV")] - public static + [Slot(405)] + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[405]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x4fvNV")] - public static + [Slot(407)] + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[407]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x4fvNV")] - public static + [Slot(407)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[407]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x4fvNV")] - public static + [Slot(407)] + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[407]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x2fvNV")] - public static + [Slot(410)] + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[410]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x2fvNV")] - public static + [Slot(410)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[410]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x2fvNV")] - public static + [Slot(410)] + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[410]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x4fvNV")] - public static + [Slot(412)] + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[412]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x4fvNV")] - public static + [Slot(412)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[412]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x4fvNV")] - public static + [Slot(412)] + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[412]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x2fvNV")] - public static + [Slot(415)] + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[415]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x2fvNV")] - public static + [Slot(415)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[415]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x2fvNV")] - public static + [Slot(415)] + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[415]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x3fvNV")] - public static + [Slot(417)] + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[417]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x3fvNV")] - public static + [Slot(417)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[417]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x3fvNV")] - public static + [Slot(417)] + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[417]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -72792,18 +51655,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorNV")] - public static + [Slot(436)] + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[436]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -72820,18 +51676,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorNV")] - public static + [Slot(436)] + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[436]); - #if DEBUG - } - #endif - } + ; + } @@ -72846,18 +51695,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")] - public static + [Slot(20)] + public static extern void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[20]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Bind a vertex array object @@ -72869,18 +51711,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")] - public static + [Slot(20)] + public static extern void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[20]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -72932,18 +51767,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(49)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[49]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -72995,27 +51823,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(49)] + 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 - { - InteropHelper.Call((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(), EntryPoints[49]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -73067,27 +51880,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(49)] + 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 - { - InteropHelper.Call((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(), EntryPoints[49]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -73139,27 +51937,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(49)] + 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 - { - InteropHelper.Call((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(), EntryPoints[49]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -73211,28 +51994,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(49)] + 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 - { - InteropHelper.Call((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(), EntryPoints[49]); - 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 @@ -73283,18 +52050,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(49)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[49]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -73345,27 +52105,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(49)] + 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 - { - InteropHelper.Call((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(), EntryPoints[49]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -73416,27 +52161,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(49)] + 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 - { - InteropHelper.Call((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(), EntryPoints[49]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -73487,27 +52217,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(49)] + 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 - { - InteropHelper.Call((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(), EntryPoints[49]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -73558,28 +52273,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static + [Slot(49)] + 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 - { - InteropHelper.Call((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(), EntryPoints[49]); - 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 @@ -73636,18 +52335,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[52]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73704,27 +52396,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(52)] + 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 - { - InteropHelper.Call((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(), EntryPoints[52]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73781,27 +52458,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(52)] + 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 - { - InteropHelper.Call((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(), EntryPoints[52]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73858,27 +52520,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(52)] + 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 - { - InteropHelper.Call((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(), EntryPoints[52]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73935,28 +52582,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(52)] + 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 - { - InteropHelper.Call((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(), EntryPoints[52]); - 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 @@ -74012,18 +52643,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[52]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -74079,27 +52703,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(52)] + 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 - { - InteropHelper.Call((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(), EntryPoints[52]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -74155,27 +52764,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(52)] + 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 - { - InteropHelper.Call((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(), EntryPoints[52]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -74231,27 +52825,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(52)] + 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 - { - InteropHelper.Call((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(), EntryPoints[52]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -74307,28 +52886,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static + [Slot(52)] + 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 - { - InteropHelper.Call((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(), EntryPoints[52]); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Copy a three-dimensional texture subimage @@ -74375,18 +52938,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCopyTexSubImage3DOES")] - public static + [Slot(58)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[58]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Copy a three-dimensional texture subimage @@ -74432,59 +52988,28 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCopyTexSubImage3DOES")] - public static + [Slot(58)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[58]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(89)] + public static extern void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[89]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(89)] + public static extern void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[89]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -74500,24 +53025,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(89)] + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[89]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -74533,24 +53045,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(89)] + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[89]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -74567,18 +53066,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(89)] + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[89]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -74595,24 +53087,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(89)] + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[89]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -74629,24 +53108,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(89)] + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[89]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -74663,101 +53129,52 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static + [Slot(89)] + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[89]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_EGL_image] [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetRenderbufferStorageOES")] - public static + [Slot(113)] + public static extern void EGLImageTargetRenderbufferStorage(OpenTK.Graphics.ES30.All target, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (IntPtr)image, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_EGL_image] [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetTexture2DOES")] - public static + [Slot(114)] + public static extern void EGLImageTargetTexture2D(OpenTK.Graphics.ES30.All target, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (IntPtr)image, EntryPoints[114]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glFramebufferTexture3DOES")] - public static + [Slot(146)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset, EntryPoints[146]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glFramebufferTexture3DOES")] - public static + [Slot(146)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset, EntryPoints[146]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(162)] + public static extern Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[162]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -74773,24 +53190,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(162)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[162]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -74806,25 +53210,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(162)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[162]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -74841,18 +53231,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(162)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[162]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -74869,24 +53252,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(162)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[162]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -74903,25 +53273,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(162)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[162]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -74938,247 +53294,104 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static + [Slot(162)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[162]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(174)] + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params, EntryPoints[174]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(174)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[174]); - } - 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 + [Slot(174)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[174]); - } - 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 + [Slot(174)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[174]); - } - 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 + [Slot(174)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[174]); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(174)] + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params, EntryPoints[174]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(174)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[174]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(174)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[174]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(174)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[174]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static + [Slot(174)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[174]); - @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 @@ -75209,25 +53422,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[208]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75258,34 +53457,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - } - 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 @@ -75316,34 +53493,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - } - 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 @@ -75374,34 +53529,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - } - 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 @@ -75432,35 +53565,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - 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 @@ -75491,27 +53601,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[208]); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75542,36 +53636,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - 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 @@ -75602,36 +53672,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - 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 @@ -75662,36 +53708,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - 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 @@ -75722,37 +53744,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - 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 @@ -75784,18 +53781,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary, EntryPoints[208]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75827,27 +53817,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - } - 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 @@ -75879,27 +53854,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - } - 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 @@ -75931,27 +53891,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - } - 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 @@ -75983,28 +53928,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - 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 @@ -76036,25 +53965,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[208]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -76086,34 +54001,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - } - 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 @@ -76145,34 +54038,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - } - 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 @@ -76204,34 +54075,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - } - 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 @@ -76263,35 +54112,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - 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 @@ -76323,27 +54149,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[208]); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -76375,36 +54185,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - 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 @@ -76436,36 +54222,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - 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 @@ -76497,36 +54259,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - 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 @@ -76558,37 +54296,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - 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 @@ -76620,18 +54333,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary, EntryPoints[208]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -76663,27 +54369,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - } - 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 @@ -76715,27 +54406,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - } - 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 @@ -76767,27 +54443,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - } - 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 @@ -76819,28 +54480,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static + [Slot(208)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[208]); - 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 @@ -76851,18 +54496,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")] - public static + [Slot(266)] + public static extern bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[266]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -76874,18 +54512,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")] - public static + [Slot(266)] + public static extern bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[266]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] /// Map a buffer object's data store @@ -76901,18 +54532,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glMapBufferOES")] - public static + [Slot(270)] + public static extern IntPtr MapBuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)access, EntryPoints[270]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -76938,18 +54562,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(286)] + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length, EntryPoints[286]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -76975,27 +54592,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(286)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[286]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -77021,27 +54623,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(286)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[286]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -77067,27 +54654,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(286)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[286]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -77113,28 +54685,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(286)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[286]); - 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 @@ -77161,18 +54717,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(286)] + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length, EntryPoints[286]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -77199,27 +54748,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(286)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[286]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -77246,27 +54780,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(286)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[286]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -77293,27 +54812,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(286)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[286]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -77340,28 +54844,12 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static + [Slot(286)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[286]); - binary = (T2)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77418,18 +54906,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(361)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[361]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77486,27 +54967,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(361)] + 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 - { - InteropHelper.Call((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(), EntryPoints[361]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77563,27 +55029,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(361)] + 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 - { - InteropHelper.Call((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(), EntryPoints[361]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77640,27 +55091,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(361)] + 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 - { - InteropHelper.Call((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(), EntryPoints[361]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77717,28 +55153,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(361)] + 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 - { - InteropHelper.Call((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(), EntryPoints[361]); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77794,18 +55214,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(361)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[361]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77861,27 +55274,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(361)] + 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 - { - InteropHelper.Call((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(), EntryPoints[361]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77937,27 +55335,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(361)] + 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 - { - InteropHelper.Call((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(), EntryPoints[361]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -78013,27 +55396,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(361)] + 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 - { - InteropHelper.Call((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(), EntryPoints[361]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -78089,28 +55457,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static + [Slot(361)] + 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 - { - InteropHelper.Call((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(), EntryPoints[361]); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78172,18 +55524,11 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(373)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[373]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78245,27 +55590,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(373)] + 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 - { - InteropHelper.Call((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(), EntryPoints[373]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78327,27 +55657,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(373)] + 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 - { - InteropHelper.Call((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(), EntryPoints[373]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78409,27 +55724,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(373)] + 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 - { - InteropHelper.Call((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(), EntryPoints[373]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78491,28 +55791,12 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(373)] + 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 - { - InteropHelper.Call((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(), EntryPoints[373]); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78573,18 +55857,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(373)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[373]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78645,27 +55922,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(373)] + 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 - { - InteropHelper.Call((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(), EntryPoints[373]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78726,27 +55988,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(373)] + 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 - { - InteropHelper.Call((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(), EntryPoints[373]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78807,27 +56054,12 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(373)] + 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 - { - InteropHelper.Call((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(), EntryPoints[373]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78888,59 +56120,29 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static + [Slot(373)] + 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 - { - InteropHelper.Call((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(), EntryPoints[373]); - 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 + [Slot(419)] + public static extern bool UnmapBuffer(OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.BufferTarget)target, EntryPoints[419]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glUnmapBufferOES")] - public static + [Slot(419)] + public static extern bool UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.ES30.BufferTarget)target, EntryPoints[419]); - #if DEBUG - } - #endif - } + ; + } @@ -78960,1654 +56162,712 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "QCOM_alpha_test", Version = "", EntryPoint = "glAlphaFuncQCOM")] - public static + [Slot(3)] + public static extern void AlphaFunc(OpenTK.Graphics.ES30.All func, Single @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)func, (Single)@ref, EntryPoints[3]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")] - public static + [Slot(95)] + public static extern void DisableDriverControl(Int32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, EntryPoints[95]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")] - public static + [Slot(95)] + public static extern void DisableDriverControl(UInt32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, EntryPoints[95]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")] - public static + [Slot(116)] + public static extern void EnableDriverControl(Int32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, EntryPoints[116]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")] - public static + [Slot(116)] + public static extern void EnableDriverControl(UInt32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, EntryPoints[116]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_tiled_rendering] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")] - public static + [Slot(121)] + public static extern void EndTiling(Int32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)preserveMask, EntryPoints[121]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_tiled_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")] - public static + [Slot(121)] + public static extern void EndTiling(UInt32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)preserveMask, EntryPoints[121]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(123)] + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES30.All target, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (IntPtr)@params, EntryPoints[123]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(123)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[123]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(123)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[123]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(123)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[123]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static + [Slot(123)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[123]); - @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 + [Slot(124)] + public static extern 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) - { - InteropHelper.Call((IntPtr)buffers_ptr, (Int32)maxBuffers, (IntPtr)numBuffers_ptr, EntryPoints[124]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(124)] + public static extern 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) - { - InteropHelper.Call((IntPtr)buffers_ptr, (Int32)maxBuffers, (IntPtr)numBuffers_ptr, EntryPoints[124]); - buffers = *buffers_ptr; - numBuffers = *numBuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(124)] + public static extern unsafe void ExtGetBuffers([OutAttribute] Int32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)buffers, (Int32)maxBuffers, (IntPtr)numBuffers, EntryPoints[124]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(124)] + public static extern 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) - { - InteropHelper.Call((IntPtr)buffers_ptr, (Int32)maxBuffers, (IntPtr)numBuffers_ptr, EntryPoints[124]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(124)] + public static extern 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) - { - InteropHelper.Call((IntPtr)buffers_ptr, (Int32)maxBuffers, (IntPtr)numBuffers_ptr, EntryPoints[124]); - buffers = *buffers_ptr; - numBuffers = *numBuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static + [Slot(124)] + public static extern unsafe void ExtGetBuffers([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)buffers, (Int32)maxBuffers, (IntPtr)numBuffers, EntryPoints[124]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(125)] + public static extern 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) - { - InteropHelper.Call((IntPtr)framebuffers_ptr, (Int32)maxFramebuffers, (IntPtr)numFramebuffers_ptr, EntryPoints[125]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(125)] + public static extern 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) - { - InteropHelper.Call((IntPtr)framebuffers_ptr, (Int32)maxFramebuffers, (IntPtr)numFramebuffers_ptr, EntryPoints[125]); - framebuffers = *framebuffers_ptr; - numFramebuffers = *numFramebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(125)] + public static extern unsafe void ExtGetFramebuffers([OutAttribute] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)framebuffers, (Int32)maxFramebuffers, (IntPtr)numFramebuffers, EntryPoints[125]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(125)] + public static extern 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) - { - InteropHelper.Call((IntPtr)framebuffers_ptr, (Int32)maxFramebuffers, (IntPtr)numFramebuffers_ptr, EntryPoints[125]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(125)] + public static extern 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) - { - InteropHelper.Call((IntPtr)framebuffers_ptr, (Int32)maxFramebuffers, (IntPtr)numFramebuffers_ptr, EntryPoints[125]); - framebuffers = *framebuffers_ptr; - numFramebuffers = *numFramebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static + [Slot(125)] + public static extern unsafe void ExtGetFramebuffers([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)framebuffers, (Int32)maxFramebuffers, (IntPtr)numFramebuffers, EntryPoints[125]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(126)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (IntPtr)length_ptr, EntryPoints[126]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(126)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (IntPtr)length_ptr, EntryPoints[126]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(126)] + public static extern unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (IntPtr)length, EntryPoints[126]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(126)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (IntPtr)length_ptr, EntryPoints[126]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(126)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (IntPtr)length_ptr, EntryPoints[126]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static + [Slot(126)] + public static extern unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (IntPtr)length, EntryPoints[126]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(127)] + public static extern 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) - { - InteropHelper.Call((IntPtr)programs_ptr, (Int32)maxPrograms, (IntPtr)numPrograms_ptr, EntryPoints[127]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(127)] + public static extern 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) - { - InteropHelper.Call((IntPtr)programs_ptr, (Int32)maxPrograms, (IntPtr)numPrograms_ptr, EntryPoints[127]); - programs = *programs_ptr; - numPrograms = *numPrograms_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(127)] + public static extern unsafe void ExtGetProgram([OutAttribute] Int32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)programs, (Int32)maxPrograms, (IntPtr)numPrograms, EntryPoints[127]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(127)] + public static extern 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) - { - InteropHelper.Call((IntPtr)programs_ptr, (Int32)maxPrograms, (IntPtr)numPrograms_ptr, EntryPoints[127]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(127)] + public static extern 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) - { - InteropHelper.Call((IntPtr)programs_ptr, (Int32)maxPrograms, (IntPtr)numPrograms_ptr, EntryPoints[127]); - programs = *programs_ptr; - numPrograms = *numPrograms_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static + [Slot(127)] + public static extern unsafe void ExtGetProgram([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)programs, (Int32)maxPrograms, (IntPtr)numPrograms, EntryPoints[127]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(128)] + public static extern 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) - { - InteropHelper.Call((IntPtr)renderbuffers_ptr, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers_ptr, EntryPoints[128]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(128)] + public static extern 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) - { - InteropHelper.Call((IntPtr)renderbuffers_ptr, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers_ptr, EntryPoints[128]); - renderbuffers = *renderbuffers_ptr; - numRenderbuffers = *numRenderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(128)] + public static extern unsafe void ExtGetRenderbuffers([OutAttribute] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)renderbuffers, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers, EntryPoints[128]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(128)] + public static extern 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) - { - InteropHelper.Call((IntPtr)renderbuffers_ptr, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers_ptr, EntryPoints[128]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(128)] + public static extern 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) - { - InteropHelper.Call((IntPtr)renderbuffers_ptr, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers_ptr, EntryPoints[128]); - renderbuffers = *renderbuffers_ptr; - numRenderbuffers = *numRenderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static + [Slot(128)] + public static extern unsafe void ExtGetRenderbuffers([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)renderbuffers, (Int32)maxRenderbuffers, (IntPtr)numRenderbuffers, EntryPoints[128]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(129)] + public static extern 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) - { - InteropHelper.Call((IntPtr)shaders_ptr, (Int32)maxShaders, (IntPtr)numShaders_ptr, EntryPoints[129]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(129)] + public static extern 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) - { - InteropHelper.Call((IntPtr)shaders_ptr, (Int32)maxShaders, (IntPtr)numShaders_ptr, EntryPoints[129]); - shaders = *shaders_ptr; - numShaders = *numShaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(129)] + public static extern unsafe void ExtGetShaders([OutAttribute] Int32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)shaders, (Int32)maxShaders, (IntPtr)numShaders, EntryPoints[129]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(129)] + public static extern 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) - { - InteropHelper.Call((IntPtr)shaders_ptr, (Int32)maxShaders, (IntPtr)numShaders_ptr, EntryPoints[129]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(129)] + public static extern 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) - { - InteropHelper.Call((IntPtr)shaders_ptr, (Int32)maxShaders, (IntPtr)numShaders_ptr, EntryPoints[129]); - shaders = *shaders_ptr; - numShaders = *numShaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static + [Slot(129)] + public static extern unsafe void ExtGetShaders([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)shaders, (Int32)maxShaders, (IntPtr)numShaders, EntryPoints[129]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(130)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[130]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(130)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[130]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(130)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params, EntryPoints[130]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(130)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[130]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(130)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr, EntryPoints[130]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static + [Slot(130)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (IntPtr)@params, EntryPoints[130]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(131)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[131]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(131)] + 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 - { - InteropHelper.Call((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(), EntryPoints[131]); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(131)] + 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 - { - InteropHelper.Call((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(), EntryPoints[131]); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(131)] + 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 - { - InteropHelper.Call((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(), EntryPoints[131]); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static + [Slot(131)] + 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 - { - InteropHelper.Call((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(), EntryPoints[131]); - 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 + [Slot(132)] + public static extern 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) - { - InteropHelper.Call((IntPtr)textures_ptr, (Int32)maxTextures, (IntPtr)numTextures_ptr, EntryPoints[132]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(132)] + public static extern 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) - { - InteropHelper.Call((IntPtr)textures_ptr, (Int32)maxTextures, (IntPtr)numTextures_ptr, EntryPoints[132]); - textures = *textures_ptr; - numTextures = *numTextures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(132)] + public static extern unsafe void ExtGetTextures([OutAttribute] Int32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)textures, (Int32)maxTextures, (IntPtr)numTextures, EntryPoints[132]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(132)] + public static extern 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) - { - InteropHelper.Call((IntPtr)textures_ptr, (Int32)maxTextures, (IntPtr)numTextures_ptr, EntryPoints[132]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(132)] + public static extern 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) - { - InteropHelper.Call((IntPtr)textures_ptr, (Int32)maxTextures, (IntPtr)numTextures_ptr, EntryPoints[132]); - textures = *textures_ptr; - numTextures = *numTextures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static + [Slot(132)] + public static extern unsafe void ExtGetTextures([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)textures, (Int32)maxTextures, (IntPtr)numTextures, EntryPoints[132]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")] - public static + [Slot(133)] + public static extern bool ExtIsProgramBinary(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[133]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")] - public static + [Slot(133)] + public static extern bool ExtIsProgramBinary(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[133]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtTexObjectStateOverrideiQCOM")] - public static + [Slot(134)] + public static extern void ExtTexObjectStateOverride(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (Int32)param, EntryPoints[134]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(177)] + public static extern 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) - { - InteropHelper.Call((IntPtr)num_ptr, (Int32)size, (IntPtr)driverControls_ptr, EntryPoints[177]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(177)] + public static extern 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) - { - InteropHelper.Call((IntPtr)num_ptr, (Int32)size, (IntPtr)driverControls_ptr, EntryPoints[177]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(177)] + public static extern 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) - { - InteropHelper.Call((IntPtr)num_ptr, (Int32)size, (IntPtr)driverControls_ptr, EntryPoints[177]); - num = *num_ptr; - driverControls = *driverControls_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(177)] + public static extern 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) - { - InteropHelper.Call((IntPtr)num_ptr, (Int32)size, (IntPtr)driverControls_ptr, EntryPoints[177]); - num = *num_ptr; - driverControls = *driverControls_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(177)] + public static extern unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] Int32* driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)num, (Int32)size, (IntPtr)driverControls, EntryPoints[177]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static + [Slot(177)] + public static extern unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)num, (Int32)size, (IntPtr)driverControls, EntryPoints[177]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(178)] + public static extern 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) - { - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)driverControlString, EntryPoints[178]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(178)] + public static extern 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) - { - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)driverControlString, EntryPoints[178]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(178)] + public static extern unsafe void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length, (StringBuilder)driverControlString, EntryPoints[178]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(178)] + public static extern 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) - { - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)driverControlString, EntryPoints[178]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(178)] + public static extern 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) - { - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)driverControlString, EntryPoints[178]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static + [Slot(178)] + public static extern unsafe void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)driverControl, (Int32)bufSize, (IntPtr)length, (StringBuilder)driverControlString, EntryPoints[178]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_tiled_rendering] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")] - public static + [Slot(351)] + public static extern void StartTiling(Int32 x, Int32 y, Int32 width, Int32 height, Int32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask, EntryPoints[351]); - #if DEBUG - } - #endif - } + ; + /// [requires: QCOM_tiled_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")] - public static + [Slot(351)] + public static extern void StartTiling(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask, EntryPoints[351]); - #if DEBUG - } - #endif - } + ; + } diff --git a/Source/OpenTK/Graphics/OpenGL/GL.cs b/Source/OpenTK/Graphics/OpenGL/GL.cs index 62bc1073..da8640c0 100644 --- a/Source/OpenTK/Graphics/OpenGL/GL.cs +++ b/Source/OpenTK/Graphics/OpenGL/GL.cs @@ -34,6 +34,7 @@ namespace OpenTK.Graphics.OpenGL #pragma warning disable 1591 #pragma warning disable 1572 #pragma warning disable 1573 + #pragma warning disable 626 partial class GL { @@ -2697,34 +2698,20 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: 3DFX_tbuffer] [AutoGenerated(Category = "3DFX_tbuffer", Version = "", EntryPoint = "glTbufferMask3DFX")] - public static + [Slot(1908)] + public static extern void TbufferMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[1908]); - #if DEBUG - } - #endif - } + ; + /// [requires: 3DFX_tbuffer] [System.CLSCompliant(false)] [AutoGenerated(Category = "3DFX_tbuffer", Version = "", EntryPoint = "glTbufferMask3DFX")] - public static + [Slot(1908)] + public static extern void TbufferMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[1908]); - #if DEBUG - } - #endif - } + ; + } @@ -2732,158 +2719,88 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")] - public static + [Slot(30)] + public static extern void BeginPerfMonitor(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, EntryPoints[30]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")] - public static + [Slot(30)] + public static extern void BeginPerfMonitor(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, EntryPoints[30]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_draw_buffers_blend] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationIndexedAMD")] - public static + [Slot(109)] + public static extern void BlendEquationIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)mode, EntryPoints[109]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_draw_buffers_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationIndexedAMD")] - public static + [Slot(109)] + public static extern void BlendEquationIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)mode, EntryPoints[109]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_draw_buffers_blend] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationSeparateIndexedAMD")] - public static + [Slot(114)] + public static extern void BlendEquationSeparateIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeAlpha, EntryPoints[114]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_draw_buffers_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationSeparateIndexedAMD")] - public static + [Slot(114)] + public static extern void BlendEquationSeparateIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeAlpha, EntryPoints[114]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_draw_buffers_blend] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncIndexedAMD")] - public static + [Slot(118)] + public static extern void BlendFuncIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dst, EntryPoints[118]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_draw_buffers_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncIndexedAMD")] - public static + [Slot(118)] + public static extern void BlendFuncIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dst, EntryPoints[118]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_draw_buffers_blend] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncSeparateIndexedAMD")] - public static + [Slot(123)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstAlpha, EntryPoints[123]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_draw_buffers_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncSeparateIndexedAMD")] - public static + [Slot(123)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstAlpha, EntryPoints[123]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -2899,18 +2816,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackAMD")] - public static + [Slot(345)] + public static extern void DebugMessageCallback(DebugProcAmd callback, [OutAttribute] IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((DebugProcAmd)callback, (IntPtr)userParam, EntryPoints[345]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -2926,27 +2836,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackAMD")] - public static + [Slot(345)] + 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 - { - InteropHelper.Call((DebugProcAmd)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[345]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -2962,27 +2857,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackAMD")] - public static + [Slot(345)] + 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 - { - InteropHelper.Call((DebugProcAmd)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[345]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -2998,27 +2878,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackAMD")] - public static + [Slot(345)] + 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 - { - InteropHelper.Call((DebugProcAmd)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[345]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -3034,146 +2899,64 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackAMD")] - public static + [Slot(345)] + 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 - { - InteropHelper.Call((DebugProcAmd)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[345]); - 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 + [Slot(351)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[351]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageEnableAMD")] - public static + [Slot(351)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[351]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageEnableAMD")] - public static + [Slot(351)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[351]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageEnableAMD")] - public static + [Slot(351)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[351]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageEnableAMD")] - public static + [Slot(351)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[351]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageEnableAMD")] - public static + [Slot(351)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[351]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] /// Inject an application-supplied message into the debug message queue @@ -3209,18 +2992,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageInsertAMD")] - public static + [Slot(353)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (UInt32)id, (Int32)length, (String)buf, EntryPoints[353]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] /// Inject an application-supplied message into the debug message queue @@ -3257,588 +3033,261 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageInsertAMD")] - public static + [Slot(353)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (UInt32)id, (Int32)length, (String)buf, EntryPoints[353]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glDeleteNamesAMD")] - public static + [Slot(369)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (IntPtr)names_ptr, EntryPoints[369]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glDeleteNamesAMD")] - public static + [Slot(369)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (IntPtr)names_ptr, EntryPoints[369]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glDeleteNamesAMD")] - public static + [Slot(369)] + public static extern unsafe void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, Int32* names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (IntPtr)names, EntryPoints[369]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glDeleteNamesAMD")] - public static + [Slot(369)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (IntPtr)names_ptr, EntryPoints[369]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glDeleteNamesAMD")] - public static + [Slot(369)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (IntPtr)names_ptr, EntryPoints[369]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glDeleteNamesAMD")] - public static + [Slot(369)] + public static extern unsafe void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, UInt32* names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (IntPtr)names, EntryPoints[369]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(373)] + public static extern void DeletePerfMonitor(Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* monitors_ptr = (UInt32*)&monitors; - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[373]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(373)] + public static extern void DeletePerfMonitor(UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* monitors_ptr = (UInt32*)&monitors; - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[373]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(373)] + public static extern void DeletePerfMonitors(Int32 n, Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[373]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(373)] + public static extern void DeletePerfMonitors(Int32 n, ref Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[373]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(373)] + public static extern unsafe void DeletePerfMonitors(Int32 n, Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)monitors, EntryPoints[373]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(373)] + public static extern void DeletePerfMonitors(Int32 n, UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[373]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(373)] + public static extern void DeletePerfMonitors(Int32 n, ref UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[373]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static + [Slot(373)] + public static extern unsafe void DeletePerfMonitors(Int32 n, UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)monitors, EntryPoints[373]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")] - public static + [Slot(484)] + public static extern void EndPerfMonitor(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, EntryPoints[484]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")] - public static + [Slot(484)] + public static extern void EndPerfMonitor(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, EntryPoints[484]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glGenNamesAMD")] - public static + [Slot(605)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (IntPtr)names_ptr, EntryPoints[605]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glGenNamesAMD")] - public static + [Slot(605)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (IntPtr)names_ptr, EntryPoints[605]); - names = *names_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glGenNamesAMD")] - public static + [Slot(605)] + public static extern unsafe void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, [OutAttribute] Int32* names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (IntPtr)names, EntryPoints[605]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glGenNamesAMD")] - public static + [Slot(605)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (IntPtr)names_ptr, EntryPoints[605]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glGenNamesAMD")] - public static + [Slot(605)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (IntPtr)names_ptr, EntryPoints[605]); - names = *names_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glGenNamesAMD")] - public static + [Slot(605)] + public static extern unsafe void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] UInt32* names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (IntPtr)names, EntryPoints[605]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(608)] + public static extern Int32 GenPerfMonitor() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* monitors_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[608]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(608)] + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[608]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(608)] + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[608]); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(608)] + public static extern unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)monitors, EntryPoints[608]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(608)] + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[608]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(608)] + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - InteropHelper.Call((Int32)n, (IntPtr)monitors_ptr, EntryPoints[608]); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static + [Slot(608)] + public static extern unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)monitors, EntryPoints[608]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] /// Retrieve messages from the debug message log @@ -3884,27 +3333,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogAMD")] - public static + [Slot(685)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufsize, (IntPtr)categories_ptr, (IntPtr)severities_ptr, (IntPtr)ids_ptr, (IntPtr)lengths_ptr, (StringBuilder)message, EntryPoints[685]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] /// Retrieve messages from the debug message log @@ -3950,32 +3383,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogAMD")] - public static + [Slot(685)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufsize, (IntPtr)categories_ptr, (IntPtr)severities_ptr, (IntPtr)ids_ptr, (IntPtr)lengths_ptr, (StringBuilder)message, EntryPoints[685]); - categories = *categories_ptr; - severities = *severities_ptr; - ids = *ids_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] /// Retrieve messages from the debug message log @@ -4022,18 +3434,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogAMD")] - public static + [Slot(685)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufsize, (IntPtr)categories, (IntPtr)severities, (IntPtr)ids, (IntPtr)lengths, (StringBuilder)message, EntryPoints[685]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] /// Retrieve messages from the debug message log @@ -4080,27 +3485,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogAMD")] - public static + [Slot(685)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufsize, (IntPtr)categories_ptr, (IntPtr)severities_ptr, (IntPtr)ids_ptr, (IntPtr)lengths_ptr, (StringBuilder)message, EntryPoints[685]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] /// Retrieve messages from the debug message log @@ -4147,32 +3536,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogAMD")] - public static + [Slot(685)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufsize, (IntPtr)categories_ptr, (IntPtr)severities_ptr, (IntPtr)ids_ptr, (IntPtr)lengths_ptr, (StringBuilder)message, EntryPoints[685]); - categories = *categories_ptr; - severities = *severities_ptr; - ids = *ids_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_debug_output] /// Retrieve messages from the debug message log @@ -4219,824 +3587,347 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogAMD")] - public static + [Slot(685)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufsize, (IntPtr)categories, (IntPtr)severities, (IntPtr)ids, (IntPtr)lengths, (StringBuilder)message, EntryPoints[685]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(841)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (IntPtr)data_ptr, (IntPtr)bytesWritten_ptr, EntryPoints[841]); - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(841)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (IntPtr)data_ptr, (IntPtr)bytesWritten_ptr, EntryPoints[841]); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(841)] + public static extern 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 - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (IntPtr)data, (IntPtr)bytesWritten, EntryPoints[841]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(841)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (IntPtr)data_ptr, (IntPtr)bytesWritten_ptr, EntryPoints[841]); - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(841)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (IntPtr)data_ptr, (IntPtr)bytesWritten_ptr, EntryPoints[841]); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static + [Slot(841)] + public static extern 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 - InteropHelper.Call((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (IntPtr)data, (IntPtr)bytesWritten, EntryPoints[841]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(842)] + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data, EntryPoints[842]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(842)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[842]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(842)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[842]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(842)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[842]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(842)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[842]); - 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 + [Slot(842)] + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data, EntryPoints[842]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(842)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[842]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(842)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[842]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(842)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[842]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static + [Slot(842)] + 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 - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[842]); - 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 + [Slot(843)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (IntPtr)numCounters_ptr, (IntPtr)maxActiveCounters_ptr, (Int32)counterSize, (IntPtr)counters_ptr, EntryPoints[843]); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(843)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (IntPtr)numCounters_ptr, (IntPtr)maxActiveCounters_ptr, (Int32)counterSize, (IntPtr)counters_ptr, EntryPoints[843]); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(843)] + public static extern unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (IntPtr)numCounters, (IntPtr)maxActiveCounters, (Int32)counterSize, (IntPtr)counters, EntryPoints[843]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(843)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (IntPtr)numCounters_ptr, (IntPtr)maxActiveCounters_ptr, (Int32)counterSize, (IntPtr)counters_ptr, EntryPoints[843]); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(843)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (IntPtr)numCounters_ptr, (IntPtr)maxActiveCounters_ptr, (Int32)counterSize, (IntPtr)counters_ptr, EntryPoints[843]); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static + [Slot(843)] + public static extern unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (IntPtr)numCounters, (IntPtr)maxActiveCounters, (Int32)counterSize, (IntPtr)counters, EntryPoints[843]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static + [Slot(844)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)counterString, EntryPoints[844]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static + [Slot(844)] + public static extern unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (UInt32)counter, (Int32)bufSize, (IntPtr)length, (StringBuilder)counterString, EntryPoints[844]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static + [Slot(844)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (UInt32)counter, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)counterString, EntryPoints[844]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static + [Slot(844)] + public static extern unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (UInt32)counter, (Int32)bufSize, (IntPtr)length, (StringBuilder)counterString, EntryPoints[844]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(845)] + public static extern 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) - { - InteropHelper.Call((IntPtr)numGroups_ptr, (Int32)groupsSize, (IntPtr)groups_ptr, EntryPoints[845]); - numGroups = *numGroups_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(845)] + public static extern 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) - { - InteropHelper.Call((IntPtr)numGroups_ptr, (Int32)groupsSize, (IntPtr)groups_ptr, EntryPoints[845]); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(845)] + public static extern 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) - { - InteropHelper.Call((IntPtr)numGroups_ptr, (Int32)groupsSize, (IntPtr)groups_ptr, EntryPoints[845]); - numGroups = *numGroups_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(845)] + public static extern 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) - { - InteropHelper.Call((IntPtr)numGroups_ptr, (Int32)groupsSize, (IntPtr)groups_ptr, EntryPoints[845]); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(845)] + public static extern unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)numGroups, (Int32)groupsSize, (IntPtr)groups, EntryPoints[845]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static + [Slot(845)] + public static extern unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)numGroups, (Int32)groupsSize, (IntPtr)groups, EntryPoints[845]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static + [Slot(846)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)groupString, EntryPoints[846]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static + [Slot(846)] + public static extern unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (Int32)bufSize, (IntPtr)length, (StringBuilder)groupString, EntryPoints[846]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static + [Slot(846)] + public static extern 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) - { - InteropHelper.Call((UInt32)group, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)groupString, EntryPoints[846]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static + [Slot(846)] + public static extern unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)group, (Int32)bufSize, (IntPtr)length, (StringBuilder)groupString, EntryPoints[846]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glIsNameAMD")] - public static + [Slot(1080)] + public static extern bool IsName(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)name, EntryPoints[1080]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glIsNameAMD")] - public static + [Slot(1080)] + public static extern bool IsName(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)name, EntryPoints[1080]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_multi_draw_indirect] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -5062,18 +3953,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectAMD")] - public static + [Slot(1225)] + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect, (Int32)primcount, (Int32)stride, EntryPoints[1225]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_multi_draw_indirect] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -5099,27 +3983,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectAMD")] - public static + [Slot(1225)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride, EntryPoints[1225]); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_multi_draw_indirect] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -5145,27 +4014,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectAMD")] - public static + [Slot(1225)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride, EntryPoints[1225]); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_multi_draw_indirect] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -5191,27 +4045,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectAMD")] - public static + [Slot(1225)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride, EntryPoints[1225]); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_multi_draw_indirect] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -5237,28 +4076,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectAMD")] - public static + [Slot(1225)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride, EntryPoints[1225]); - 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 @@ -5289,18 +4112,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectAMD")] - public static + [Slot(1233)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect, (Int32)primcount, (Int32)stride, EntryPoints[1233]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_multi_draw_indirect] /// Render indexed primitives from array data, taking parameters from memory @@ -5331,27 +4147,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectAMD")] - public static + [Slot(1233)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride, EntryPoints[1233]); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_multi_draw_indirect] /// Render indexed primitives from array data, taking parameters from memory @@ -5382,27 +4183,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectAMD")] - public static + [Slot(1233)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride, EntryPoints[1233]); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_multi_draw_indirect] /// Render indexed primitives from array data, taking parameters from memory @@ -5433,27 +4219,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectAMD")] - public static + [Slot(1233)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride, EntryPoints[1233]); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_multi_draw_indirect] /// Render indexed primitives from array data, taking parameters from memory @@ -5484,436 +4255,209 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectAMD")] - public static + [Slot(1233)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride, EntryPoints[1233]); - indirect = (T2)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(1855)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList_ptr, EntryPoints[1855]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(1855)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList_ptr, EntryPoints[1855]); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(1855)] + public static extern unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList, EntryPoints[1855]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(1855)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList_ptr, EntryPoints[1855]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(1855)] + public static extern 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) - { - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList_ptr, EntryPoints[1855]); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static + [Slot(1855)] + public static extern unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (IntPtr)counterList, EntryPoints[1855]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_sample_positions] [AutoGenerated(Category = "AMD_sample_positions", Version = "", EntryPoint = "glSetMultisamplefvAMD")] - public static + [Slot(1863)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[1863]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_sample_positions] [AutoGenerated(Category = "AMD_sample_positions", Version = "", EntryPoint = "glSetMultisamplefvAMD")] - public static + [Slot(1863)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[1863]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_sample_positions] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_sample_positions", Version = "", EntryPoint = "glSetMultisamplefvAMD")] - public static + [Slot(1863)] + public static extern unsafe void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, Int32 index, Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (IntPtr)val, EntryPoints[1863]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_sample_positions] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_sample_positions", Version = "", EntryPoint = "glSetMultisamplefvAMD")] - public static + [Slot(1863)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[1863]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_sample_positions] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_sample_positions", Version = "", EntryPoint = "glSetMultisamplefvAMD")] - public static + [Slot(1863)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[1863]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_sample_positions] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_sample_positions", Version = "", EntryPoint = "glSetMultisamplefvAMD")] - public static + [Slot(1863)] + public static extern unsafe void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (IntPtr)val, EntryPoints[1863]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_stencil_operation_extended] [AutoGenerated(Category = "AMD_stencil_operation_extended", Version = "", EntryPoint = "glStencilOpValueAMD")] - public static + [Slot(1889)] + public static extern void StencilOpValue(OpenTK.Graphics.OpenGL.AmdStencilOperationExtended face, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdStencilOperationExtended)face, (UInt32)value, EntryPoints[1889]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_stencil_operation_extended] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_stencil_operation_extended", Version = "", EntryPoint = "glStencilOpValueAMD")] - public static + [Slot(1889)] + public static extern void StencilOpValue(OpenTK.Graphics.OpenGL.AmdStencilOperationExtended face, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdStencilOperationExtended)face, (UInt32)value, EntryPoints[1889]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_vertex_shader_tessellator] [AutoGenerated(Category = "AMD_vertex_shader_tessellator", Version = "", EntryPoint = "glTessellationFactorAMD")] - public static + [Slot(1909)] + public static extern void TessellationFactor(Single factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)factor, EntryPoints[1909]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_vertex_shader_tessellator] [Obsolete("Use AmdVertexShaderTessellator overload instead")] [AutoGenerated(Category = "AMD_vertex_shader_tessellator", Version = "", EntryPoint = "glTessellationModeAMD")] - public static + [Slot(1910)] + public static extern void TessellationMode(OpenTK.Graphics.OpenGL.AmdVertexShaderTesselator mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdVertexShaderTessellator)mode, EntryPoints[1910]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_vertex_shader_tessellator] [AutoGenerated(Category = "AMD_vertex_shader_tessellator", Version = "", EntryPoint = "glTessellationModeAMD")] - public static + [Slot(1910)] + public static extern void TessellationMode(OpenTK.Graphics.OpenGL.AmdVertexShaderTessellator mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdVertexShaderTessellator)mode, EntryPoints[1910]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_sparse_texture] [AutoGenerated(Category = "AMD_sparse_texture", Version = "", EntryPoint = "glTexStorageSparseAMD")] - public static + [Slot(2044)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdSparseTexture)target, (OpenTK.Graphics.OpenGL.AmdSparseTexture)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (Int32)layers, (UInt32)flags, EntryPoints[2044]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_sparse_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_sparse_texture", Version = "", EntryPoint = "glTexStorageSparseAMD")] - public static + [Slot(2044)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AmdSparseTexture)target, (OpenTK.Graphics.OpenGL.AmdSparseTexture)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (Int32)layers, (UInt32)flags, EntryPoints[2044]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_sparse_texture] [AutoGenerated(Category = "AMD_sparse_texture", Version = "", EntryPoint = "glTextureStorageSparseAMD")] - public static + [Slot(2080)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.AmdSparseTexture)target, (OpenTK.Graphics.OpenGL.AmdSparseTexture)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (Int32)layers, (UInt32)flags, EntryPoints[2080]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_sparse_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_sparse_texture", Version = "", EntryPoint = "glTextureStorageSparseAMD")] - public static + [Slot(2080)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.AmdSparseTexture)target, (OpenTK.Graphics.OpenGL.AmdSparseTexture)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (Int32)layers, (UInt32)flags, EntryPoints[2080]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_interleaved_elements] [AutoGenerated(Category = "AMD_interleaved_elements", Version = "", EntryPoint = "glVertexAttribParameteriAMD")] - public static + [Slot(2499)] + public static extern void VertexAttribParameter(Int32 index, OpenTK.Graphics.OpenGL.AmdInterleavedElements pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AmdInterleavedElements)pname, (Int32)param, EntryPoints[2499]); - #if DEBUG - } - #endif - } + ; + /// [requires: AMD_interleaved_elements] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_interleaved_elements", Version = "", EntryPoint = "glVertexAttribParameteriAMD")] - public static + [Slot(2499)] + public static extern void VertexAttribParameter(UInt32 index, OpenTK.Graphics.OpenGL.AmdInterleavedElements pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AmdInterleavedElements)pname, (Int32)param, EntryPoints[2499]); - #if DEBUG - } - #endif - } + ; + } @@ -5928,18 +4472,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayAPPLE")] - public static + [Slot(82)] + public static extern void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[82]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Bind a vertex array object @@ -5951,233 +4488,105 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayAPPLE")] - public static + [Slot(82)] + public static extern void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[82]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_flush_buffer_range] [AutoGenerated(Category = "APPLE_flush_buffer_range", Version = "", EntryPoint = "glBufferParameteriAPPLE")] - public static + [Slot(131)] + public static extern void BufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterApple pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterApple)pname, (Int32)param, EntryPoints[131]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static + [Slot(362)] + public static extern void DeleteFence(Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[362]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static + [Slot(362)] + public static extern void DeleteFence(UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[362]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static + [Slot(362)] + public static extern void DeleteFences(Int32 n, Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[362]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static + [Slot(362)] + public static extern void DeleteFences(Int32 n, ref Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[362]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static + [Slot(362)] + public static extern unsafe void DeleteFences(Int32 n, Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[362]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static + [Slot(362)] + public static extern void DeleteFences(Int32 n, UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[362]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static + [Slot(362)] + public static extern void DeleteFences(Int32 n, ref UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[362]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static + [Slot(362)] + public static extern unsafe void DeleteFences(Int32 n, UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[362]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static + [Slot(391)] + public static extern void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[391]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static + [Slot(391)] + public static extern void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[391]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Delete vertex array objects @@ -6193,24 +4602,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static + [Slot(391)] + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[391]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Delete vertex array objects @@ -6226,24 +4622,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static + [Slot(391)] + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[391]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Delete vertex array objects @@ -6260,18 +4643,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static + [Slot(391)] + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[391]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Delete vertex array objects @@ -6288,24 +4664,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static + [Slot(391)] + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[391]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Delete vertex array objects @@ -6322,24 +4685,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static + [Slot(391)] + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[391]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Delete vertex array objects @@ -6356,333 +4706,167 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static + [Slot(391)] + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[391]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glDisableVertexAttribAPPLE")] - public static + [Slot(416)] + public static extern void DisableVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname, EntryPoints[416]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glDisableVertexAttribAPPLE")] - public static + [Slot(416)] + public static extern void DisableVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname, EntryPoints[416]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawElementArrayAPPLE")] - public static + [Slot(433)] + public static extern void DrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[433]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawElementArrayAPPLE")] - public static + [Slot(433)] + public static extern void DrawElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[433]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayAPPLE")] - public static + [Slot(446)] + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count, EntryPoints[446]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayAPPLE")] - public static + [Slot(446)] + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count, EntryPoints[446]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayAPPLE")] - public static + [Slot(446)] + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count, EntryPoints[446]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayAPPLE")] - public static + [Slot(446)] + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count, EntryPoints[446]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glElementPointerAPPLE")] - public static + [Slot(463)] + public static extern void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer, EntryPoints[463]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glElementPointerAPPLE")] - public static + [Slot(463)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[463]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glElementPointerAPPLE")] - public static + [Slot(463)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[463]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glElementPointerAPPLE")] - public static + [Slot(463)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[463]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glElementPointerAPPLE")] - public static + [Slot(463)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[463]); - 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 + [Slot(474)] + public static extern void EnableVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname, EntryPoints[474]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glEnableVertexAttribAPPLE")] - public static + [Slot(474)] + public static extern void EnableVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname, EntryPoints[474]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glFinishFenceAPPLE")] - public static + [Slot(518)] + public static extern void FinishFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, EntryPoints[518]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glFinishFenceAPPLE")] - public static + [Slot(518)] + public static extern void FinishFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, EntryPoints[518]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glFinishObjectAPPLE")] - public static + [Slot(520)] + public static extern void FinishObject(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleFence)@object, (Int32)name, EntryPoints[520]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_flush_buffer_range] /// Indicate modifications to a range of a mapped buffer @@ -6703,294 +4887,123 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_flush_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeAPPLE")] - public static + [Slot(524)] + public static extern void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, EntryPoints[524]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static + [Slot(529)] + public static extern void FlushVertexArrayRange(Int32 length, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)length, (IntPtr)pointer, EntryPoints[529]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static + [Slot(529)] + 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 - { - InteropHelper.Call((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[529]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static + [Slot(529)] + 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 - { - InteropHelper.Call((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[529]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static + [Slot(529)] + 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 - { - InteropHelper.Call((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[529]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static + [Slot(529)] + 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 - { - InteropHelper.Call((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[529]); - pointer = (T1)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static + [Slot(599)] + public static extern Int32 GenFence() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* fences_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[599]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static + [Slot(599)] + public static extern void GenFences(Int32 n, [OutAttribute] Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[599]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static + [Slot(599)] + public static extern void GenFences(Int32 n, [OutAttribute] out Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[599]); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static + [Slot(599)] + public static extern unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[599]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static + [Slot(599)] + public static extern void GenFences(Int32 n, [OutAttribute] UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[599]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static + [Slot(599)] + public static extern void GenFences(Int32 n, [OutAttribute] out UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[599]); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static + [Slot(599)] + public static extern unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[599]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static + [Slot(624)] + public static extern Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[624]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Generate vertex array object names @@ -7006,24 +5019,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static + [Slot(624)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[624]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Generate vertex array object names @@ -7039,25 +5039,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static + [Slot(624)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[624]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Generate vertex array object names @@ -7074,18 +5060,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static + [Slot(624)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[624]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Generate vertex array object names @@ -7102,24 +5081,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static + [Slot(624)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[624]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Generate vertex array object names @@ -7136,25 +5102,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static + [Slot(624)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[624]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Generate vertex array object names @@ -7171,281 +5123,124 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static + [Slot(624)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[624]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_object_purgeable] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glGetObjectParameterivAPPLE")] - public static + [Slot(822)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (IntPtr)@params_ptr, EntryPoints[822]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_object_purgeable] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glGetObjectParameterivAPPLE")] - public static + [Slot(822)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (IntPtr)@params_ptr, EntryPoints[822]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_object_purgeable] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glGetObjectParameterivAPPLE")] - public static + [Slot(822)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (IntPtr)@params, EntryPoints[822]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_object_purgeable] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glGetObjectParameterivAPPLE")] - public static + [Slot(822)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (IntPtr)@params_ptr, EntryPoints[822]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_object_purgeable] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glGetObjectParameterivAPPLE")] - public static + [Slot(822)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (IntPtr)@params_ptr, EntryPoints[822]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_object_purgeable] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glGetObjectParameterivAPPLE")] - public static + [Slot(822)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (IntPtr)@params, EntryPoints[822]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glGetTexParameterPointervAPPLE")] - public static + [Slot(942)] + public static extern void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params, EntryPoints[942]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glGetTexParameterPointervAPPLE")] - public static + [Slot(942)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[942]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glGetTexParameterPointervAPPLE")] - public static + [Slot(942)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[942]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glGetTexParameterPointervAPPLE")] - public static + [Slot(942)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[942]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glGetTexParameterPointervAPPLE")] - public static + [Slot(942)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[942]); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glIsFenceAPPLE")] - public static + [Slot(1073)] + public static extern bool IsFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[1073]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glIsFenceAPPLE")] - public static + [Slot(1073)] + public static extern bool IsFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[1073]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -7456,18 +5251,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayAPPLE")] - public static + [Slot(1108)] + public static extern bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[1108]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -7479,1288 +5267,580 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayAPPLE")] - public static + [Slot(1108)] + public static extern bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[1108]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glIsVertexAttribEnabledAPPLE")] - public static + [Slot(1109)] + public static extern bool IsVertexAttribEnabled(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname, EntryPoints[1109]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glIsVertexAttribEnabledAPPLE")] - public static + [Slot(1109)] + public static extern bool IsVertexAttribEnabled(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname, EntryPoints[1109]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static + [Slot(1182)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (IntPtr)points_ptr, EntryPoints[1182]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static + [Slot(1182)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (IntPtr)points_ptr, EntryPoints[1182]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static + [Slot(1182)] + public static extern 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 - InteropHelper.Call((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (IntPtr)points, EntryPoints[1182]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static + [Slot(1182)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (IntPtr)points_ptr, EntryPoints[1182]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static + [Slot(1182)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (IntPtr)points_ptr, EntryPoints[1182]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static + [Slot(1182)] + public static extern 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 - InteropHelper.Call((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (IntPtr)points, EntryPoints[1182]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1fAPPLE")] - public static + [Slot(1183)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (IntPtr)points_ptr, EntryPoints[1183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1fAPPLE")] - public static + [Slot(1183)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (IntPtr)points_ptr, EntryPoints[1183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1fAPPLE")] - public static + [Slot(1183)] + public static extern 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 - InteropHelper.Call((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (IntPtr)points, EntryPoints[1183]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1fAPPLE")] - public static + [Slot(1183)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (IntPtr)points_ptr, EntryPoints[1183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1fAPPLE")] - public static + [Slot(1183)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (IntPtr)points_ptr, EntryPoints[1183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1fAPPLE")] - public static + [Slot(1183)] + public static extern 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 - InteropHelper.Call((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (IntPtr)points, EntryPoints[1183]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static + [Slot(1184)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points_ptr, EntryPoints[1184]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static + [Slot(1184)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points_ptr, EntryPoints[1184]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static + [Slot(1184)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points, EntryPoints[1184]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static + [Slot(1184)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points_ptr, EntryPoints[1184]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static + [Slot(1184)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points_ptr, EntryPoints[1184]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static + [Slot(1184)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points, EntryPoints[1184]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static + [Slot(1185)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points_ptr, EntryPoints[1185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static + [Slot(1185)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points_ptr, EntryPoints[1185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static + [Slot(1185)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points, EntryPoints[1185]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static + [Slot(1185)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points_ptr, EntryPoints[1185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static + [Slot(1185)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - InteropHelper.Call((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points_ptr, EntryPoints[1185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static + [Slot(1185)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points, EntryPoints[1185]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static + [Slot(1228)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static + [Slot(1228)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static + [Slot(1228)] + public static extern unsafe void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[1228]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static + [Slot(1228)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static + [Slot(1228)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static + [Slot(1228)] + public static extern unsafe void MultiDrawElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[1228]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static + [Slot(1236)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1236]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static + [Slot(1236)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1236]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static + [Slot(1236)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[1236]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static + [Slot(1236)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1236]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static + [Slot(1236)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1236]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static + [Slot(1236)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[1236]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static + [Slot(1236)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1236]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static + [Slot(1236)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1236]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static + [Slot(1236)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[1236]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static + [Slot(1236)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1236]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static + [Slot(1236)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1236]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static + [Slot(1236)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[1236]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_object_purgeable] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glObjectPurgeableAPPLE")] - public static + [Slot(1435)] + public static extern 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 InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option, EntryPoints[1435]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_object_purgeable] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glObjectPurgeableAPPLE")] - public static + [Slot(1435)] + public static extern 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 InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option, EntryPoints[1435]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_object_purgeable] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glObjectUnpurgeableAPPLE")] - public static + [Slot(1436)] + public static extern 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 InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option, EntryPoints[1436]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_object_purgeable] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glObjectUnpurgeableAPPLE")] - public static + [Slot(1436)] + public static extern 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 InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option, EntryPoints[1436]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glSetFenceAPPLE")] - public static + [Slot(1858)] + public static extern void SetFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, EntryPoints[1858]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glSetFenceAPPLE")] - public static + [Slot(1858)] + public static extern void SetFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, EntryPoints[1858]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glTestFenceAPPLE")] - public static + [Slot(1911)] + public static extern bool TestFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[1911]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glTestFenceAPPLE")] - public static + [Slot(1911)] + public static extern bool TestFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[1911]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glTestObjectAPPLE")] - public static + [Slot(1913)] + public static extern bool TestObject(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.AppleFence)@object, (UInt32)name, EntryPoints[1913]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glTestObjectAPPLE")] - public static + [Slot(1913)] + public static extern bool TestObject(OpenTK.Graphics.OpenGL.AppleFence @object, UInt32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.AppleFence)@object, (UInt32)name, EntryPoints[1913]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glTextureRangeAPPLE")] - public static + [Slot(2073)] + public static extern void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer, EntryPoints[2073]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glTextureRangeAPPLE")] - public static + [Slot(2073)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2073]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glTextureRangeAPPLE")] - public static + [Slot(2073)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2073]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glTextureRangeAPPLE")] - public static + [Slot(2073)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2073]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glTextureRangeAPPLE")] - public static + [Slot(2073)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2073]); - 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 + [Slot(2282)] + public static extern void VertexArrayParameter(OpenTK.Graphics.OpenGL.AppleVertexArrayRange pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AppleVertexArrayRange)pname, (Int32)param, EntryPoints[2282]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeAPPLE")] - public static + [Slot(2283)] + public static extern void VertexArrayRange(Int32 length, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)length, (IntPtr)pointer, EntryPoints[2283]); - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeAPPLE")] - public static + [Slot(2283)] + 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 - { - InteropHelper.Call((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2283]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeAPPLE")] - public static + [Slot(2283)] + 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 - { - InteropHelper.Call((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2283]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeAPPLE")] - public static + [Slot(2283)] + 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 - { - InteropHelper.Call((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2283]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeAPPLE")] - public static + [Slot(2283)] + 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 - { - InteropHelper.Call((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2283]); - pointer = (T1)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + } @@ -8775,49 +5855,28 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glActiveTextureARB")] - public static + [Slot(7)] + public static extern void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, EntryPoints[7]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glAttachObjectARB")] - public static + [Slot(22)] + public static extern void AttachObject(Int32 containerObj, Int32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)containerObj, (UInt32)obj, EntryPoints[22]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glAttachObjectARB")] - public static + [Slot(22)] + public static extern void AttachObject(UInt32 containerObj, UInt32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)containerObj, (UInt32)obj, EntryPoints[22]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Delimit the boundaries of a query object @@ -8833,18 +5892,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glBeginQueryARB")] - public static + [Slot(32)] + public static extern void BeginQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (UInt32)id, EntryPoints[32]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Delimit the boundaries of a query object @@ -8861,18 +5913,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glBeginQueryARB")] - public static + [Slot(32)] + public static extern void BeginQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (UInt32)id, EntryPoints[32]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_shader] /// Associates a generic vertex attribute index with a named attribute variable @@ -8893,18 +5938,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glBindAttribLocationARB")] - public static + [Slot(40)] + public static extern void BindAttribLocation(Int32 programObj, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, (UInt32)index, (String)name, EntryPoints[40]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_shader] /// Associates a generic vertex attribute index with a named attribute variable @@ -8926,18 +5964,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glBindAttribLocationARB")] - public static + [Slot(40)] + public static extern void BindAttribLocation(UInt32 programObj, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, (UInt32)index, (String)name, EntryPoints[40]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Bind a named buffer object @@ -8953,18 +5984,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBindBufferARB")] - public static + [Slot(42)] + public static extern void BindBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)buffer, EntryPoints[42]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Bind a named buffer object @@ -8981,49 +6005,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBindBufferARB")] - public static + [Slot(42)] + public static extern void BindBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)buffer, EntryPoints[42]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glBindProgramARB")] - public static + [Slot(66)] + public static extern void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)program, EntryPoints[66]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glBindProgramARB")] - public static + [Slot(66)] + public static extern void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)program, EntryPoints[66]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -9039,18 +6042,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationiARB")] - public static + [Slot(108)] + public static extern void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode, EntryPoints[108]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -9067,18 +6063,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationiARB")] - public static + [Slot(108)] + public static extern void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode, EntryPoints[108]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Set the RGB blend equation and the alpha blend equation separately @@ -9099,18 +6088,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationSeparateiARB")] - public static + [Slot(113)] + public static extern void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeAlpha, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Set the RGB blend equation and the alpha blend equation separately @@ -9132,18 +6114,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationSeparateiARB")] - public static + [Slot(113)] + public static extern void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeAlpha, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic @@ -9164,18 +6139,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFunciARB")] - public static + [Slot(117)] + public static extern void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dst, EntryPoints[117]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic @@ -9197,18 +6165,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFunciARB")] - public static + [Slot(117)] + public static extern void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dst, EntryPoints[117]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic for RGB and alpha components separately @@ -9239,18 +6200,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncSeparateiARB")] - public static + [Slot(122)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstAlpha, EntryPoints[122]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic for RGB and alpha components separately @@ -9282,18 +6236,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncSeparateiARB")] - public static + [Slot(122)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstAlpha, EntryPoints[122]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Creates and initializes a buffer object's data store @@ -9319,18 +6266,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferDataARB")] - public static + [Slot(130)] + public static extern void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferUsageArb)usage, EntryPoints[130]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Creates and initializes a buffer object's data store @@ -9356,27 +6296,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferDataARB")] - public static + [Slot(130)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage, EntryPoints[130]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Creates and initializes a buffer object's data store @@ -9402,27 +6327,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferDataARB")] - public static + [Slot(130)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage, EntryPoints[130]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Creates and initializes a buffer object's data store @@ -9448,27 +6358,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferDataARB")] - public static + [Slot(130)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage, EntryPoints[130]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Creates and initializes a buffer object's data store @@ -9494,28 +6389,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferDataARB")] - public static + [Slot(130)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage, EntryPoints[130]); - 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 @@ -9541,18 +6420,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferSubDataARB")] - public static + [Slot(134)] + public static extern void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[134]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Updates a subset of a buffer object's data store @@ -9578,27 +6450,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferSubDataARB")] - public static + [Slot(134)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[134]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Updates a subset of a buffer object's data store @@ -9624,27 +6481,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferSubDataARB")] - public static + [Slot(134)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[134]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Updates a subset of a buffer object's data store @@ -9670,27 +6512,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferSubDataARB")] - public static + [Slot(134)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[134]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Updates a subset of a buffer object's data store @@ -9716,28 +6543,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferSubDataARB")] - public static + [Slot(134)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[134]); - 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 @@ -9753,18 +6564,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_color_buffer_float", Version = "", EntryPoint = "glClampColorARB")] - public static + [Slot(141)] + public static extern void ClampColor(OpenTK.Graphics.OpenGL.ArbColorBufferFloat target, OpenTK.Graphics.OpenGL.ArbColorBufferFloat clamp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbColorBufferFloat)target, (OpenTK.Graphics.OpenGL.ArbColorBufferFloat)clamp, EntryPoints[141]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Select active texture unit @@ -9775,18 +6579,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glClientActiveTextureARB")] - public static + [Slot(167)] + public static extern void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, EntryPoints[167]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Compiles a shader object @@ -9797,18 +6594,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glCompileShaderARB")] - public static + [Slot(255)] + public static extern void CompileShader(Int32 shaderObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shaderObj, EntryPoints[255]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Compiles a shader object @@ -9820,136 +6610,63 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glCompileShaderARB")] - public static + [Slot(255)] + public static extern void CompileShader(UInt32 shaderObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shaderObj, EntryPoints[255]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static + [Slot(256)] + public static extern void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])path, (IntPtr)length_ptr, EntryPoints[256]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static + [Slot(256)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])path, (IntPtr)length_ptr, EntryPoints[256]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static + [Slot(256)] + public static extern unsafe void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])path, (IntPtr)length, EntryPoints[256]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static + [Slot(256)] + public static extern void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])path, (IntPtr)length_ptr, EntryPoints[256]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static + [Slot(256)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])path, (IntPtr)length_ptr, EntryPoints[256]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static + [Slot(256)] + public static extern unsafe void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])path, (IntPtr)length, EntryPoints[256]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture image in a compressed format @@ -9990,18 +6707,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage1DARB")] - public static + [Slot(264)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[264]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture image in a compressed format @@ -10042,27 +6752,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage1DARB")] - public static + [Slot(264)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[264]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture image in a compressed format @@ -10103,27 +6798,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage1DARB")] - public static + [Slot(264)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[264]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture image in a compressed format @@ -10164,27 +6844,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage1DARB")] - public static + [Slot(264)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[264]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture image in a compressed format @@ -10225,28 +6890,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage1DARB")] - public static + [Slot(264)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[264]); - 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 @@ -10292,18 +6941,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage2DARB")] - public static + [Slot(266)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[266]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture image in a compressed format @@ -10349,27 +6991,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage2DARB")] - public static + [Slot(266)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[266]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture image in a compressed format @@ -10415,27 +7042,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage2DARB")] - public static + [Slot(266)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[266]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture image in a compressed format @@ -10481,27 +7093,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage2DARB")] - public static + [Slot(266)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[266]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture image in a compressed format @@ -10547,28 +7144,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage2DARB")] - public static + [Slot(266)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[266]); - 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 @@ -10619,18 +7200,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage3DARB")] - public static + [Slot(268)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[268]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture image in a compressed format @@ -10681,27 +7255,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage3DARB")] - public static + [Slot(268)] + 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 - { - InteropHelper.Call((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(), EntryPoints[268]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture image in a compressed format @@ -10752,27 +7311,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage3DARB")] - public static + [Slot(268)] + 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 - { - InteropHelper.Call((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(), EntryPoints[268]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture image in a compressed format @@ -10823,27 +7367,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage3DARB")] - public static + [Slot(268)] + 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 - { - InteropHelper.Call((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(), EntryPoints[268]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture image in a compressed format @@ -10894,28 +7423,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage3DARB")] - public static + [Slot(268)] + 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 - { - InteropHelper.Call((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(), EntryPoints[268]); - 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 @@ -10956,18 +7469,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage1DARB")] - public static + [Slot(270)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data, EntryPoints[270]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture subimage in a compressed format @@ -11008,27 +7514,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage1DARB")] - public static + [Slot(270)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[270]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture subimage in a compressed format @@ -11069,27 +7560,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage1DARB")] - public static + [Slot(270)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[270]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture subimage in a compressed format @@ -11130,27 +7606,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage1DARB")] - public static + [Slot(270)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[270]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture subimage in a compressed format @@ -11191,28 +7652,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage1DARB")] - public static + [Slot(270)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[270]); - 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 @@ -11263,18 +7708,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage2DARB")] - public static + [Slot(272)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data, EntryPoints[272]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture subimage in a compressed format @@ -11325,27 +7763,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage2DARB")] - public static + [Slot(272)] + 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 - { - InteropHelper.Call((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(), EntryPoints[272]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture subimage in a compressed format @@ -11396,27 +7819,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage2DARB")] - public static + [Slot(272)] + 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 - { - InteropHelper.Call((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(), EntryPoints[272]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture subimage in a compressed format @@ -11467,27 +7875,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage2DARB")] - public static + [Slot(272)] + 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 - { - InteropHelper.Call((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(), EntryPoints[272]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture subimage in a compressed format @@ -11538,28 +7931,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage2DARB")] - public static + [Slot(272)] + 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 - { - InteropHelper.Call((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(), EntryPoints[272]); - 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 @@ -11615,18 +7992,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage3DARB")] - public static + [Slot(274)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[274]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture subimage in a compressed format @@ -11682,27 +8052,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage3DARB")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((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(), EntryPoints[274]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture subimage in a compressed format @@ -11758,27 +8113,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage3DARB")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((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(), EntryPoints[274]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture subimage in a compressed format @@ -11834,27 +8174,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage3DARB")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((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(), EntryPoints[274]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture subimage in a compressed format @@ -11910,201 +8235,88 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage3DARB")] - public static + [Slot(274)] + 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 - { - InteropHelper.Call((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(), EntryPoints[274]); - 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 + [Slot(333)] + public static extern Int32 CreateProgramObject() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn(EntryPoints[333]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glCreateShaderObjectARB")] - public static + [Slot(335)] + public static extern Int32 CreateShaderObject(OpenTK.Graphics.OpenGL.ArbShaderObjects shaderType) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.ArbShaderObjects)shaderType, EntryPoints[335]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_cl_event] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static + [Slot(339)] + public static extern 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 InteropHelper.CallReturn((IntPtr)context_ptr, (IntPtr)@event_ptr, (UInt32)flags, EntryPoints[339]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static + [Slot(339)] + public static extern 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 InteropHelper.CallReturn((IntPtr)context_ptr, (IntPtr)@event_ptr, (UInt32)flags, EntryPoints[339]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_cl_event] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static + [Slot(339)] + public static extern 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 = InteropHelper.CallReturn((IntPtr)context_ptr, (IntPtr)@event_ptr, (UInt32)flags, EntryPoints[339]); - context = *context_ptr; - @event = *@event_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static + [Slot(339)] + public static extern 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 = InteropHelper.CallReturn((IntPtr)context_ptr, (IntPtr)@event_ptr, (UInt32)flags, EntryPoints[339]); - context = *context_ptr; - @event = *@event_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static + [Slot(339)] + public static extern unsafe IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)context, (IntPtr)@event, (UInt32)flags, EntryPoints[339]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static + [Slot(339)] + public static extern unsafe IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)context, (IntPtr)@event, (UInt32)flags, EntryPoints[339]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glCurrentPaletteMatrixARB")] - public static + [Slot(343)] + public static extern void CurrentPaletteMatrix(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)index, EntryPoints[343]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -12120,18 +8332,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static + [Slot(346)] + public static extern void DebugMessageCallback(DebugProcArb callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((DebugProcArb)callback, (IntPtr)userParam, EntryPoints[346]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -12147,27 +8352,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static + [Slot(346)] + 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 - { - InteropHelper.Call((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[346]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -12183,27 +8373,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static + [Slot(346)] + 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 - { - InteropHelper.Call((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[346]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -12219,27 +8394,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static + [Slot(346)] + 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 - { - InteropHelper.Call((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[346]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -12255,28 +8415,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static + [Slot(346)] + 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 - { - InteropHelper.Call((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[346]); - 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 @@ -12312,24 +8456,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static + [Slot(349)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[349]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -12365,24 +8496,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static + [Slot(349)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[349]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -12419,18 +8537,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static + [Slot(349)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[349]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -12467,24 +8578,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static + [Slot(349)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[349]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -12521,24 +8619,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static + [Slot(349)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[349]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -12575,18 +8660,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static + [Slot(349)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[349]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Inject an application-supplied message into the debug message queue @@ -12622,18 +8700,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageInsertARB")] - public static + [Slot(354)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (UInt32)id, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)length, (String)buf, EntryPoints[354]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Inject an application-supplied message into the debug message queue @@ -12670,59 +8741,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageInsertARB")] - public static + [Slot(354)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (UInt32)id, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)length, (String)buf, EntryPoints[354]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static + [Slot(361)] + public static extern void DeleteBuffer(Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[361]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static + [Slot(361)] + public static extern void DeleteBuffer(UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[361]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Delete named buffer objects @@ -12738,24 +8778,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static + [Slot(361)] + public static extern void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[361]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Delete named buffer objects @@ -12771,24 +8798,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static + [Slot(361)] + public static extern void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[361]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Delete named buffer objects @@ -12805,18 +8819,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static + [Slot(361)] + public static extern unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[361]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Delete named buffer objects @@ -12833,24 +8840,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static + [Slot(361)] + public static extern void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[361]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Delete named buffer objects @@ -12867,24 +8861,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static + [Slot(361)] + public static extern void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[361]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Delete named buffer objects @@ -12901,64 +8882,36 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static + [Slot(361)] + public static extern unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[361]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glDeleteNamedStringARB")] - public static + [Slot(368)] + public static extern void DeleteNamedString(Int32 namelen, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)namelen, (String)name, EntryPoints[368]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glDeleteObjectARB")] - public static + [Slot(370)] + public static extern void DeleteObject(Int32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)obj, EntryPoints[370]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glDeleteObjectARB")] - public static + [Slot(370)] + public static extern void DeleteObject(UInt32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)obj, EntryPoints[370]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -12969,23 +8922,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static + [Slot(377)] + public static extern void DeleteProgram(Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* programs_ptr = (UInt32*)&programs; - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[377]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -12997,23 +8938,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static + [Slot(377)] + public static extern void DeleteProgram(UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* programs_ptr = (UInt32*)&programs; - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[377]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -13024,24 +8953,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static + [Slot(377)] + public static extern void DeleteProgram(Int32 n, Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[377]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -13052,24 +8968,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static + [Slot(377)] + public static extern void DeleteProgram(Int32 n, ref Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[377]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -13081,18 +8984,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static + [Slot(377)] + public static extern unsafe void DeleteProgram(Int32 n, Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)programs, EntryPoints[377]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -13104,24 +9000,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static + [Slot(377)] + public static extern void DeleteProgram(Int32 n, UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[377]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -13133,24 +9016,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static + [Slot(377)] + public static extern void DeleteProgram(Int32 n, ref UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[377]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -13162,59 +9032,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static + [Slot(377)] + public static extern unsafe void DeleteProgram(Int32 n, UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)programs, EntryPoints[377]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static + [Slot(380)] + public static extern void DeleteQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[380]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static + [Slot(380)] + public static extern void DeleteQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[380]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Delete named query objects @@ -13230,24 +9069,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static + [Slot(380)] + public static extern void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[380]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Delete named query objects @@ -13263,24 +9089,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static + [Slot(380)] + public static extern void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[380]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Delete named query objects @@ -13297,18 +9110,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static + [Slot(380)] + public static extern unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[380]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Delete named query objects @@ -13325,24 +9131,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static + [Slot(380)] + public static extern void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[380]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Delete named query objects @@ -13359,24 +9152,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static + [Slot(380)] + public static extern void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[380]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Delete named query objects @@ -13393,111 +9173,62 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static + [Slot(380)] + public static extern unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[380]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glDetachObjectARB")] - public static + [Slot(404)] + public static extern void DetachObject(Int32 containerObj, Int32 attachedObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)containerObj, (UInt32)attachedObj, EntryPoints[404]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glDetachObjectARB")] - public static + [Slot(404)] + public static extern void DetachObject(UInt32 containerObj, UInt32 attachedObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)containerObj, (UInt32)attachedObj, EntryPoints[404]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glDisableVertexAttribArrayARB")] - public static + [Slot(418)] + public static extern void DisableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[418]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glDisableVertexAttribArrayARB")] - public static + [Slot(418)] + public static extern void DisableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[418]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_compute_variable_group_size] [AutoGenerated(Category = "ARB_compute_variable_group_size", Version = "", EntryPoint = "glDispatchComputeGroupSizeARB")] - public static + [Slot(420)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, (UInt32)group_size_x, (UInt32)group_size_y, (UInt32)group_size_z, EntryPoints[420]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_compute_variable_group_size] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_compute_variable_group_size", Version = "", EntryPoint = "glDispatchComputeGroupSizeARB")] - public static + [Slot(420)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, (UInt32)group_size_x, (UInt32)group_size_y, (UInt32)group_size_z, EntryPoints[420]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_instanced] /// Draw multiple instances of a range of elements @@ -13524,18 +9255,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedARB")] - public static + [Slot(426)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount, EntryPoints[426]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_instanced] /// Draw multiple instances of a range of elements @@ -13561,18 +9285,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedARB")] - public static + [Slot(426)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount, EntryPoints[426]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -13588,24 +9305,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_buffers", Version = "", EntryPoint = "glDrawBuffersARB")] - public static + [Slot(431)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[431]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -13621,24 +9325,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_buffers", Version = "", EntryPoint = "glDrawBuffersARB")] - public static + [Slot(431)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[431]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -13655,18 +9346,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers", Version = "", EntryPoint = "glDrawBuffersARB")] - public static + [Slot(431)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[431]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -13698,18 +9382,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static + [Slot(439)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[439]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -13741,27 +9418,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static + [Slot(439)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[439]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -13793,27 +9455,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static + [Slot(439)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[439]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -13845,27 +9492,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static + [Slot(439)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[439]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -13897,28 +9529,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static + [Slot(439)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[439]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -13949,18 +9565,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static + [Slot(439)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[439]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -13991,27 +9600,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static + [Slot(439)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[439]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -14042,27 +9636,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static + [Slot(439)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[439]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -14093,27 +9672,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static + [Slot(439)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[439]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -14144,28 +9708,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static + [Slot(439)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[439]); - 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 @@ -14176,18 +9724,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glEnableVertexAttribArrayARB")] - public static + [Slot(476)] + public static extern void EnableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[476]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Enable or disable a generic vertex attribute array @@ -14199,33 +9740,19 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glEnableVertexAttribArrayARB")] - public static + [Slot(476)] + public static extern void EnableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[476]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glEndQueryARB")] - public static + [Slot(486)] + public static extern void EndQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, EntryPoints[486]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_geometry_shader4] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -14256,18 +9783,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glFramebufferTextureARB")] - public static + [Slot(578)] + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, EntryPoints[578]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_geometry_shader4] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -14299,18 +9819,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glFramebufferTextureARB")] - public static + [Slot(578)] + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, EntryPoints[578]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_geometry_shader4] /// Attach a face of a cube map texture as a logical buffer to the currently bound framebuffer @@ -14341,18 +9854,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glFramebufferTextureFaceARB")] - public static + [Slot(580)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face, EntryPoints[580]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_geometry_shader4] /// Attach a face of a cube map texture as a logical buffer to the currently bound framebuffer @@ -14384,18 +9890,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glFramebufferTextureFaceARB")] - public static + [Slot(580)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face, EntryPoints[580]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_geometry_shader4] /// Attach a single layer of a texture to a framebuffer @@ -14426,18 +9925,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glFramebufferTextureLayerARB")] - public static + [Slot(583)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[583]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_geometry_shader4] /// Attach a single layer of a texture to a framebuffer @@ -14469,40 +9961,19 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glFramebufferTextureLayerARB")] - public static + [Slot(583)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[583]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static + [Slot(594)] + public static extern Int32 GenBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* buffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[594]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Generate buffer object names @@ -14518,24 +9989,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static + [Slot(594)] + public static extern void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[594]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Generate buffer object names @@ -14551,25 +10009,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static + [Slot(594)] + public static extern void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[594]); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Generate buffer object names @@ -14586,18 +10030,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static + [Slot(594)] + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[594]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Generate buffer object names @@ -14614,24 +10051,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static + [Slot(594)] + public static extern void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[594]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Generate buffer object names @@ -14648,25 +10072,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static + [Slot(594)] + public static extern void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[594]); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Generate buffer object names @@ -14683,182 +10093,79 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static + [Slot(594)] + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[594]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static + [Slot(611)] + public static extern Int32 GenProgram() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* programs_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[611]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static + [Slot(611)] + public static extern void GenProgram(Int32 n, [OutAttribute] Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[611]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static + [Slot(611)] + public static extern void GenProgram(Int32 n, [OutAttribute] out Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[611]); - programs = *programs_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static + [Slot(611)] + public static extern unsafe void GenProgram(Int32 n, [OutAttribute] Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)programs, EntryPoints[611]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static + [Slot(611)] + public static extern void GenProgram(Int32 n, [OutAttribute] UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[611]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static + [Slot(611)] + public static extern void GenProgram(Int32 n, [OutAttribute] out UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[611]); - programs = *programs_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static + [Slot(611)] + public static extern unsafe void GenProgram(Int32 n, [OutAttribute] UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)programs, EntryPoints[611]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static + [Slot(614)] + public static extern Int32 GenQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[614]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Generate query object names @@ -14874,24 +10181,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static + [Slot(614)] + public static extern void GenQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[614]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Generate query object names @@ -14907,25 +10201,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static + [Slot(614)] + public static extern void GenQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[614]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Generate query object names @@ -14942,18 +10222,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static + [Slot(614)] + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[614]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Generate query object names @@ -14970,24 +10243,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static + [Slot(614)] + public static extern void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[614]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Generate query object names @@ -15004,25 +10264,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static + [Slot(614)] + public static extern void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[614]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Generate query object names @@ -15039,18 +10285,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static + [Slot(614)] + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[614]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_shader] /// Returns information about an active attribute variable for the specified program object @@ -15091,29 +10330,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glGetActiveAttribARB")] - public static + [Slot(628)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)programObj, (UInt32)index, (Int32)maxLength, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[628]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_shader] /// Returns information about an active attribute variable for the specified program object @@ -15155,18 +10376,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glGetActiveAttribARB")] - public static + [Slot(628)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, (UInt32)index, (Int32)maxLength, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[628]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_shader] /// Returns information about an active attribute variable for the specified program object @@ -15208,29 +10422,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glGetActiveAttribARB")] - public static + [Slot(628)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)programObj, (UInt32)index, (Int32)maxLength, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[628]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_shader] /// Returns information about an active attribute variable for the specified program object @@ -15272,18 +10468,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glGetActiveAttribARB")] - public static + [Slot(628)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, (UInt32)index, (Int32)maxLength, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[628]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns information about an active uniform variable for the specified program object @@ -15324,29 +10513,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetActiveUniformARB")] - public static + [Slot(633)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)programObj, (UInt32)index, (Int32)maxLength, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[633]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns information about an active uniform variable for the specified program object @@ -15388,18 +10559,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetActiveUniformARB")] - public static + [Slot(633)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, (UInt32)index, (Int32)maxLength, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[633]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns information about an active uniform variable for the specified program object @@ -15441,29 +10605,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetActiveUniformARB")] - public static + [Slot(633)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)programObj, (UInt32)index, (Int32)maxLength, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[633]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns information about an active uniform variable for the specified program object @@ -15505,146 +10651,63 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetActiveUniformARB")] - public static + [Slot(633)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, (UInt32)index, (Int32)maxLength, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[633]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetAttachedObjectsARB")] - public static + [Slot(641)] + public static extern 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) - { - InteropHelper.Call((UInt32)containerObj, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)obj_ptr, EntryPoints[641]); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetAttachedObjectsARB")] - public static + [Slot(641)] + public static extern 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) - { - InteropHelper.Call((UInt32)containerObj, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)obj_ptr, EntryPoints[641]); - count = *count_ptr; - obj = *obj_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetAttachedObjectsARB")] - public static + [Slot(641)] + public static extern unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)containerObj, (Int32)maxCount, (IntPtr)count, (IntPtr)obj, EntryPoints[641]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetAttachedObjectsARB")] - public static + [Slot(641)] + public static extern 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) - { - InteropHelper.Call((UInt32)containerObj, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)obj_ptr, EntryPoints[641]); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetAttachedObjectsARB")] - public static + [Slot(641)] + public static extern 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) - { - InteropHelper.Call((UInt32)containerObj, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)obj_ptr, EntryPoints[641]); - count = *count_ptr; - obj = *obj_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetAttachedObjectsARB")] - public static + [Slot(641)] + public static extern unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)containerObj, (Int32)maxCount, (IntPtr)count, (IntPtr)obj, EntryPoints[641]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_shader] /// Returns the location of an attribute variable @@ -15660,18 +10723,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glGetAttribLocationARB")] - public static + [Slot(644)] + public static extern Int32 GetAttribLocation(Int32 programObj, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)programObj, (String)name, EntryPoints[644]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_shader] /// Returns the location of an attribute variable @@ -15688,18 +10744,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glGetAttribLocationARB")] - public static + [Slot(644)] + public static extern Int32 GetAttribLocation(UInt32 programObj, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)programObj, (String)name, EntryPoints[644]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Return parameters of a buffer object @@ -15720,24 +10769,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] - public static + [Slot(650)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (IntPtr)@params_ptr, EntryPoints[650]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Return parameters of a buffer object @@ -15758,25 +10794,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] - public static + [Slot(650)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (IntPtr)@params_ptr, EntryPoints[650]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Return parameters of a buffer object @@ -15798,130 +10820,55 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] - public static + [Slot(650)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (IntPtr)@params, EntryPoints[650]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static + [Slot(653)] + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params, EntryPoints[653]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static + [Slot(653)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[653]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static + [Slot(653)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[653]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static + [Slot(653)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[653]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static + [Slot(653)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[653]); - @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 @@ -15947,18 +10894,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferSubDataARB")] - public static + [Slot(655)] + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[655]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Returns a subset of a buffer object's data store @@ -15984,27 +10924,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferSubDataARB")] - public static + [Slot(655)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[655]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Returns a subset of a buffer object's data store @@ -16030,27 +10955,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferSubDataARB")] - public static + [Slot(655)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[655]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Returns a subset of a buffer object's data store @@ -16076,27 +10986,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferSubDataARB")] - public static + [Slot(655)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[655]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Returns a subset of a buffer object's data store @@ -16122,28 +11017,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferSubDataARB")] - public static + [Slot(655)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[655]); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Return a compressed texture image @@ -16164,18 +11043,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glGetCompressedTexImageARB")] - public static + [Slot(675)] + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img, EntryPoints[675]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Return a compressed texture image @@ -16196,27 +11068,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glGetCompressedTexImageARB")] - public static + [Slot(675)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[675]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Return a compressed texture image @@ -16237,27 +11094,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glGetCompressedTexImageARB")] - public static + [Slot(675)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[675]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Return a compressed texture image @@ -16278,27 +11120,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glGetCompressedTexImageARB")] - public static + [Slot(675)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[675]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_compression] /// Return a compressed texture image @@ -16319,28 +11146,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glGetCompressedTexImageARB")] - public static + [Slot(675)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[675]); - img = (T2)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -16386,28 +11197,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static + [Slot(686)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[686]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -16453,34 +11247,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static + [Slot(686)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[686]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -16527,18 +11298,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static + [Slot(686)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[686]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -16585,28 +11349,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static + [Slot(686)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[686]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -16653,34 +11400,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static + [Slot(686)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[686]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -16727,2773 +11451,1181 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static + [Slot(686)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[686]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetGraphicsResetStatusARB")] - public static + [Slot(714)] + public static extern OpenTK.Graphics.OpenGL.ArbRobustness GetGraphicsResetStatus() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn(EntryPoints[714]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetHandleARB")] - public static + [Slot(715)] + public static extern Int32 GetHandle(OpenTK.Graphics.OpenGL.ArbShaderObjects pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, EntryPoints[715]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetImageHandleARB")] - public static + [Slot(723)] + public static extern Int64 GetImageHandle(Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ArbBindlessTexture format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ArbBindlessTexture)format, EntryPoints[723]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetImageHandleARB")] - public static + [Slot(723)] + public static extern Int64 GetImageHandle(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ArbBindlessTexture format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ArbBindlessTexture)format, EntryPoints[723]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetInfoLogARB")] - public static + [Slot(727)] + public static extern 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) - { - InteropHelper.Call((UInt32)obj, (Int32)maxLength, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[727]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetInfoLogARB")] - public static + [Slot(727)] + public static extern unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)obj, (Int32)maxLength, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[727]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetInfoLogARB")] - public static + [Slot(727)] + public static extern 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) - { - InteropHelper.Call((UInt32)obj, (Int32)maxLength, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[727]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetInfoLogARB")] - public static + [Slot(727)] + public static extern unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)obj, (Int32)maxLength, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[727]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringARB")] - public static + [Slot(796)] + public static extern 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) - { - InteropHelper.Call((Int32)namelen, (String)name, (Int32)bufSize, (IntPtr)stringlen_ptr, (StringBuilder)@string, EntryPoints[796]); - stringlen = *stringlen_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringARB")] - public static + [Slot(796)] + public static extern unsafe void GetNamedString(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)namelen, (String)name, (Int32)bufSize, (IntPtr)stringlen, (StringBuilder)@string, EntryPoints[796]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringivARB")] - public static + [Slot(797)] + public static extern 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) - { - InteropHelper.Call((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)pname, (IntPtr)@params_ptr, EntryPoints[797]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringivARB")] - public static + [Slot(797)] + public static extern 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) - { - InteropHelper.Call((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)pname, (IntPtr)@params_ptr, EntryPoints[797]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringivARB")] - public static + [Slot(797)] + public static extern unsafe void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)pname, (IntPtr)@params, EntryPoints[797]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static + [Slot(798)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table, EntryPoints[798]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static + [Slot(798)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[798]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static + [Slot(798)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[798]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static + [Slot(798)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[798]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static + [Slot(798)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[798]); - table = (T4)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static + [Slot(799)] + public static extern void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img, EntryPoints[799]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static + [Slot(799)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[799]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static + [Slot(799)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[799]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static + [Slot(799)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[799]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static + [Slot(799)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[799]); - img = (T3)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static + [Slot(800)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image, EntryPoints[800]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static + [Slot(800)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[800]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static + [Slot(800)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[800]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static + [Slot(800)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[800]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static + [Slot(800)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[800]); - image = (T4)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static + [Slot(801)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values, EntryPoints[801]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static + [Slot(801)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[801]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static + [Slot(801)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[801]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static + [Slot(801)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[801]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static + [Slot(801)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[801]); - values = (T5)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapdvARB")] - public static + [Slot(802)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (IntPtr)v_ptr, EntryPoints[802]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapdvARB")] - public static + [Slot(802)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (IntPtr)v_ptr, EntryPoints[802]); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapdvARB")] - public static + [Slot(802)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (IntPtr)v, EntryPoints[802]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapfvARB")] - public static + [Slot(803)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (IntPtr)v_ptr, EntryPoints[803]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapfvARB")] - public static + [Slot(803)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (IntPtr)v_ptr, EntryPoints[803]); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapfvARB")] - public static + [Slot(803)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (IntPtr)v, EntryPoints[803]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapivARB")] - public static + [Slot(804)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (IntPtr)v_ptr, EntryPoints[804]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapivARB")] - public static + [Slot(804)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (IntPtr)v_ptr, EntryPoints[804]); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapivARB")] - public static + [Slot(804)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (IntPtr)v, EntryPoints[804]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static + [Slot(805)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values, EntryPoints[805]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static + [Slot(805)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[805]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static + [Slot(805)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[805]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static + [Slot(805)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[805]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static + [Slot(805)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[805]); - values = (T5)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapfvARB")] - public static + [Slot(806)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[806]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapfvARB")] - public static + [Slot(806)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[806]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapfvARB")] - public static + [Slot(806)] + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values, EntryPoints[806]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static + [Slot(807)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[807]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static + [Slot(807)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[807]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static + [Slot(807)] + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values, EntryPoints[807]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static + [Slot(807)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[807]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static + [Slot(807)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[807]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static + [Slot(807)] + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values, EntryPoints[807]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static + [Slot(808)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[808]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static + [Slot(808)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[808]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static + [Slot(808)] + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values, EntryPoints[808]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static + [Slot(808)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[808]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static + [Slot(808)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[808]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static + [Slot(808)] + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (IntPtr)values, EntryPoints[808]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static + [Slot(809)] + public static extern Byte GetnPolygonStipple() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 bufSize = 1; - Byte retval; - Byte* pattern_ptr = &retval; - InteropHelper.Call((Int32)bufSize, (IntPtr)pattern_ptr, EntryPoints[809]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static + [Slot(809)] + public static extern void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte[] pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* pattern_ptr = pattern) - { - InteropHelper.Call((Int32)bufSize, (IntPtr)pattern_ptr, EntryPoints[809]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static + [Slot(809)] + public static extern void GetnPolygonStipple(Int32 bufSize, [OutAttribute] out Byte pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* pattern_ptr = &pattern) - { - InteropHelper.Call((Int32)bufSize, (IntPtr)pattern_ptr, EntryPoints[809]); - pattern = *pattern_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static + [Slot(809)] + public static extern unsafe void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte* pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)bufSize, (IntPtr)pattern, EntryPoints[809]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static + [Slot(810)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[810]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static + [Slot(810)] + 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 - { - InteropHelper.Call((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(), EntryPoints[810]); - } - 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 + [Slot(810)] + 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 - { - InteropHelper.Call((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(), EntryPoints[810]); - } - 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 + [Slot(810)] + 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 - { - InteropHelper.Call((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(), EntryPoints[810]); - } - 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 + [Slot(810)] + 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 - { - InteropHelper.Call((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(), EntryPoints[810]); - 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 + [Slot(811)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img, EntryPoints[811]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static + [Slot(811)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[811]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static + [Slot(811)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[811]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static + [Slot(811)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[811]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static + [Slot(811)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[811]); - img = (T5)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static + [Slot(812)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[812]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static + [Slot(812)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[812]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static + [Slot(812)] + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[812]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static + [Slot(812)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[812]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static + [Slot(812)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[812]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static + [Slot(812)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[812]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static + [Slot(813)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[813]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static + [Slot(813)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[813]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static + [Slot(813)] + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[813]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static + [Slot(813)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[813]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static + [Slot(813)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[813]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static + [Slot(813)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[813]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static + [Slot(814)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[814]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static + [Slot(814)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[814]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static + [Slot(814)] + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[814]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static + [Slot(814)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[814]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static + [Slot(814)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[814]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static + [Slot(814)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[814]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformuivARB")] - public static + [Slot(815)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[815]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformuivARB")] - public static + [Slot(815)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[815]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformuivARB")] - public static + [Slot(815)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[815]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterfvARB")] - public static + [Slot(821)] + public static extern 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) - { - InteropHelper.Call((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (IntPtr)@params_ptr, EntryPoints[821]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterfvARB")] - public static + [Slot(821)] + public static extern 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) - { - InteropHelper.Call((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (IntPtr)@params_ptr, EntryPoints[821]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterfvARB")] - public static + [Slot(821)] + public static extern unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (IntPtr)@params, EntryPoints[821]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterfvARB")] - public static + [Slot(821)] + public static extern 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) - { - InteropHelper.Call((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (IntPtr)@params_ptr, EntryPoints[821]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterfvARB")] - public static + [Slot(821)] + public static extern 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) - { - InteropHelper.Call((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (IntPtr)@params_ptr, EntryPoints[821]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterfvARB")] - public static + [Slot(821)] + public static extern unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (IntPtr)@params, EntryPoints[821]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterivARB")] - public static + [Slot(823)] + public static extern 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) - { - InteropHelper.Call((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (IntPtr)@params_ptr, EntryPoints[823]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterivARB")] - public static + [Slot(823)] + public static extern 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) - { - InteropHelper.Call((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (IntPtr)@params_ptr, EntryPoints[823]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterivARB")] - public static + [Slot(823)] + public static extern unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (IntPtr)@params, EntryPoints[823]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterivARB")] - public static + [Slot(823)] + public static extern 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) - { - InteropHelper.Call((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (IntPtr)@params_ptr, EntryPoints[823]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterivARB")] - public static + [Slot(823)] + public static extern 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) - { - InteropHelper.Call((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (IntPtr)@params_ptr, EntryPoints[823]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterivARB")] - public static + [Slot(823)] + public static extern unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (IntPtr)@params, EntryPoints[823]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static + [Slot(862)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[862]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static + [Slot(862)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[862]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static + [Slot(862)] + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[862]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static + [Slot(862)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[862]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static + [Slot(862)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[862]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static + [Slot(862)] + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[862]); - #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 = "glGetProgramEnvParameterdvARB")] - public static + [Slot(862)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[862]); - } - } - #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 = "glGetProgramEnvParameterdvARB")] - public static + [Slot(862)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[862]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(862)] + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[862]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(862)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[862]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(862)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[862]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(862)] + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[862]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static + [Slot(863)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[863]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static + [Slot(863)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[863]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static + [Slot(863)] + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[863]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static + [Slot(863)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[863]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static + [Slot(863)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[863]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static + [Slot(863)] + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[863]); - #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 = "glGetProgramEnvParameterfvARB")] - public static + [Slot(863)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[863]); - } - } - #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 = "glGetProgramEnvParameterfvARB")] - public static + [Slot(863)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[863]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(863)] + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[863]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(863)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[863]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(863)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[863]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(863)] + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[863]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] /// Returns a parameter from a program object @@ -19514,25 +12646,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramivARB")] - public static + [Slot(869)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[869]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] /// Returns a parameter from a program object @@ -19554,681 +12672,300 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramivARB")] - public static + [Slot(869)] + public static extern unsafe void GetProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params, EntryPoints[869]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static + [Slot(871)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[871]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static + [Slot(871)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[871]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static + [Slot(871)] + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[871]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static + [Slot(871)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[871]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static + [Slot(871)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[871]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static + [Slot(871)] + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[871]); - #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 = "glGetProgramLocalParameterdvARB")] - public static + [Slot(871)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[871]); - } - } - #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 = "glGetProgramLocalParameterdvARB")] - public static + [Slot(871)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[871]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(871)] + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[871]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(871)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[871]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(871)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[871]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(871)] + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[871]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static + [Slot(872)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[872]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static + [Slot(872)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[872]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static + [Slot(872)] + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[872]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static + [Slot(872)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[872]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static + [Slot(872)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[872]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static + [Slot(872)] + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[872]); - #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 = "glGetProgramLocalParameterfvARB")] - public static + [Slot(872)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[872]); - } - } - #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 = "glGetProgramLocalParameterfvARB")] - public static + [Slot(872)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[872]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(872)] + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[872]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(872)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[872]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(872)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[872]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(872)] + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)@params, EntryPoints[872]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramStringARB")] - public static + [Slot(889)] + public static extern void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string, EntryPoints[889]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramStringARB")] - public static + [Slot(889)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[889]); - } - 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 + [Slot(889)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[889]); - } - 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 + [Slot(889)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[889]); - } - 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 + [Slot(889)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[889]); - @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 + [Slot(894)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[894]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryivARB")] - public static + [Slot(894)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[894]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryivARB")] - public static + [Slot(894)] + public static extern unsafe void GetQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (IntPtr)@params, EntryPoints[894]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -20249,24 +12986,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectivARB")] - public static + [Slot(898)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[898]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -20287,25 +13011,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectivARB")] - public static + [Slot(898)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[898]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -20327,18 +13037,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectivARB")] - public static + [Slot(898)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (IntPtr)@params, EntryPoints[898]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -20360,24 +13063,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectivARB")] - public static + [Slot(898)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[898]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -20399,25 +13089,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectivARB")] - public static + [Slot(898)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[898]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -20439,18 +13115,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectivARB")] - public static + [Slot(898)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (IntPtr)@params, EntryPoints[898]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -20472,24 +13141,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectuivARB")] - public static + [Slot(902)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[902]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -20511,25 +13167,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectuivARB")] - public static + [Slot(902)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[902]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -20551,18 +13193,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectuivARB")] - public static + [Slot(902)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (IntPtr)@params, EntryPoints[902]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the source code string from a shader object @@ -20588,25 +13223,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetShaderSourceARB")] - public static + [Slot(915)] + public static extern 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) - { - InteropHelper.Call((UInt32)obj, (Int32)maxLength, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[915]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the source code string from a shader object @@ -20633,18 +13254,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetShaderSourceARB")] - public static + [Slot(915)] + public static extern unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)obj, (Int32)maxLength, (IntPtr)length, (StringBuilder)source, EntryPoints[915]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the source code string from a shader object @@ -20671,25 +13285,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetShaderSourceARB")] - public static + [Slot(915)] + public static extern 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) - { - InteropHelper.Call((UInt32)obj, (Int32)maxLength, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[915]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the source code string from a shader object @@ -20716,80 +13316,45 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetShaderSourceARB")] - public static + [Slot(915)] + public static extern unsafe void GetShaderSource(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)obj, (Int32)maxLength, (IntPtr)length, (StringBuilder)source, EntryPoints[915]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureHandleARB")] - public static + [Slot(944)] + public static extern Int64 GetTextureHandle(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[944]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureHandleARB")] - public static + [Slot(944)] + public static extern Int64 GetTextureHandle(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[944]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureSamplerHandleARB")] - public static + [Slot(953)] + public static extern Int64 GetTextureSamplerHandle(Int32 texture, Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, (UInt32)sampler, EntryPoints[953]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureSamplerHandleARB")] - public static + [Slot(953)] + public static extern Int64 GetTextureSamplerHandle(UInt32 texture, UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, (UInt32)sampler, EntryPoints[953]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -20810,24 +13375,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformfvARB")] - public static + [Slot(963)] + public static extern void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((UInt32)programObj, (Int32)location, (IntPtr)@params_ptr, EntryPoints[963]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -20848,25 +13400,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformfvARB")] - public static + [Slot(963)] + public static extern void GetUniform(Int32 programObj, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)programObj, (Int32)location, (IntPtr)@params_ptr, EntryPoints[963]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -20888,18 +13426,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformfvARB")] - public static + [Slot(963)] + public static extern unsafe void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, (Int32)location, (IntPtr)@params, EntryPoints[963]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -20921,24 +13452,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformfvARB")] - public static + [Slot(963)] + public static extern void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((UInt32)programObj, (Int32)location, (IntPtr)@params_ptr, EntryPoints[963]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -20960,25 +13478,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformfvARB")] - public static + [Slot(963)] + public static extern void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)programObj, (Int32)location, (IntPtr)@params_ptr, EntryPoints[963]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -21000,18 +13504,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformfvARB")] - public static + [Slot(963)] + public static extern unsafe void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, (Int32)location, (IntPtr)@params, EntryPoints[963]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -21032,24 +13529,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformivARB")] - public static + [Slot(967)] + public static extern void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)programObj, (Int32)location, (IntPtr)@params_ptr, EntryPoints[967]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -21070,25 +13554,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformivARB")] - public static + [Slot(967)] + public static extern void GetUniform(Int32 programObj, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)programObj, (Int32)location, (IntPtr)@params_ptr, EntryPoints[967]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -21110,18 +13580,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformivARB")] - public static + [Slot(967)] + public static extern unsafe void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, (Int32)location, (IntPtr)@params, EntryPoints[967]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -21143,24 +13606,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformivARB")] - public static + [Slot(967)] + public static extern void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)programObj, (Int32)location, (IntPtr)@params_ptr, EntryPoints[967]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -21182,25 +13632,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformivARB")] - public static + [Slot(967)] + public static extern void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)programObj, (Int32)location, (IntPtr)@params_ptr, EntryPoints[967]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -21222,18 +13658,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformivARB")] - public static + [Slot(967)] + public static extern unsafe void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, (Int32)location, (IntPtr)@params, EntryPoints[967]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the location of a uniform variable @@ -21249,18 +13678,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformLocationARB")] - public static + [Slot(969)] + public static extern Int32 GetUniformLocation(Int32 programObj, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)programObj, (String)name, EntryPoints[969]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Returns the location of a uniform variable @@ -21277,18 +13699,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformLocationARB")] - public static + [Slot(969)] + public static extern Int32 GetUniformLocation(UInt32 programObj, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)programObj, (String)name, EntryPoints[969]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21309,24 +13724,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribdvARB")] - public static + [Slot(989)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[989]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21347,25 +13749,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribdvARB")] - public static + [Slot(989)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[989]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21387,18 +13775,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribdvARB")] - public static + [Slot(989)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params, EntryPoints[989]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21420,24 +13801,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribdvARB")] - public static + [Slot(989)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[989]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21459,25 +13827,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribdvARB")] - public static + [Slot(989)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[989]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21499,18 +13853,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribdvARB")] - public static + [Slot(989)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params, EntryPoints[989]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21531,24 +13878,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribfvARB")] - public static + [Slot(992)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[992]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21569,25 +13903,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribfvARB")] - public static + [Slot(992)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[992]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21609,18 +13929,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribfvARB")] - public static + [Slot(992)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params, EntryPoints[992]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21642,24 +13955,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribfvARB")] - public static + [Slot(992)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[992]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21681,25 +13981,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribfvARB")] - public static + [Slot(992)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[992]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21721,18 +14007,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribfvARB")] - public static + [Slot(992)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params, EntryPoints[992]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21753,24 +14032,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribivARB")] - public static + [Slot(999)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[999]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21791,25 +14057,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribivARB")] - public static + [Slot(999)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[999]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21831,18 +14083,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribivARB")] - public static + [Slot(999)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params, EntryPoints[999]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21864,24 +14109,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribivARB")] - public static + [Slot(999)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[999]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21903,25 +14135,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribivARB")] - public static + [Slot(999)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[999]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -21943,367 +14161,156 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribivARB")] - public static + [Slot(999)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params, EntryPoints[999]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static + [Slot(1004)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[1004]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static + [Slot(1004)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[1004]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static + [Slot(1004)] + public static extern unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params, EntryPoints[1004]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static + [Slot(1004)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[1004]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static + [Slot(1004)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[1004]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static + [Slot(1004)] + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (IntPtr)@params, EntryPoints[1004]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribPointervARB")] - public static + [Slot(1007)] + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer, EntryPoints[1007]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribPointervARB")] - public static + [Slot(1007)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1007]); - } - 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 + [Slot(1007)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1007]); - } - 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 + [Slot(1007)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1007]); - } - 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 + [Slot(1007)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1007]); - 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 + [Slot(1007)] + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer, EntryPoints[1007]); - #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 + [Slot(1007)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1007]); - } - 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 + [Slot(1007)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1007]); - } - 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 + [Slot(1007)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1007]); - } - 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 + [Slot(1007)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1007]); - 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 @@ -22314,18 +14321,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glIsBufferARB")] - public static + [Slot(1068)] + public static extern bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[1068]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Determine if a name corresponds to a buffer object @@ -22337,64 +14337,36 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glIsBufferARB")] - public static + [Slot(1068)] + public static extern bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[1068]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsImageHandleResidentARB")] - public static + [Slot(1077)] + public static extern bool IsImageHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt64)handle, EntryPoints[1077]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsImageHandleResidentARB")] - public static + [Slot(1077)] + public static extern bool IsImageHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt64)handle, EntryPoints[1077]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glIsNamedStringARB")] - public static + [Slot(1082)] + public static extern bool IsNamedString(Int32 namelen, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((Int32)namelen, (String)name, EntryPoints[1082]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] /// Determines if a name corresponds to a program object @@ -22405,18 +14377,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glIsProgramARB")] - public static + [Slot(1089)] + public static extern bool IsProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[1089]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] /// Determines if a name corresponds to a program object @@ -22428,18 +14393,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glIsProgramARB")] - public static + [Slot(1089)] + public static extern bool IsProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[1089]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Determine if a name corresponds to a query object @@ -22450,18 +14408,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glIsQueryARB")] - public static + [Slot(1094)] + public static extern bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[1094]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_occlusion_query] /// Determine if a name corresponds to a query object @@ -22473,49 +14424,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glIsQueryARB")] - public static + [Slot(1094)] + public static extern bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[1094]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsTextureHandleResidentARB")] - public static + [Slot(1102)] + public static extern bool IsTextureHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt64)handle, EntryPoints[1102]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsTextureHandleResidentARB")] - public static + [Slot(1102)] + public static extern bool IsTextureHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt64)handle, EntryPoints[1102]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Links a program object @@ -22526,18 +14456,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glLinkProgramARB")] - public static + [Slot(1128)] + public static extern void LinkProgram(Int32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, EntryPoints[1128]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Links a program object @@ -22549,18 +14472,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glLinkProgramARB")] - public static + [Slot(1128)] + public static extern void LinkProgram(UInt32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, EntryPoints[1128]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_transpose_matrix] /// Replace the current matrix with the specified row-major ordered matrix @@ -22571,24 +14487,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glLoadTransposeMatrixdARB")] - public static + [Slot(1142)] + public static extern void LoadTransposeMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1142]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_transpose_matrix] /// Replace the current matrix with the specified row-major ordered matrix @@ -22599,24 +14502,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glLoadTransposeMatrixdARB")] - public static + [Slot(1142)] + public static extern void LoadTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1142]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_transpose_matrix] /// Replace the current matrix with the specified row-major ordered matrix @@ -22628,18 +14518,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glLoadTransposeMatrixdARB")] - public static + [Slot(1142)] + public static extern unsafe void LoadTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1142]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_transpose_matrix] /// Replace the current matrix with the specified row-major ordered matrix @@ -22650,24 +14533,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glLoadTransposeMatrixfARB")] - public static + [Slot(1144)] + public static extern void LoadTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1144]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_transpose_matrix] /// Replace the current matrix with the specified row-major ordered matrix @@ -22678,24 +14548,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glLoadTransposeMatrixfARB")] - public static + [Slot(1144)] + public static extern void LoadTransposeMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1144]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_transpose_matrix] /// Replace the current matrix with the specified row-major ordered matrix @@ -22707,142 +14564,79 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glLoadTransposeMatrixfARB")] - public static + [Slot(1144)] + public static extern unsafe void LoadTransposeMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1144]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleNonResidentARB")] - public static + [Slot(1150)] + public static extern void MakeImageHandleNonResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[1150]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleNonResidentARB")] - public static + [Slot(1150)] + public static extern void MakeImageHandleNonResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[1150]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleResidentARB")] - public static + [Slot(1152)] + public static extern void MakeImageHandleResident(Int64 handle, OpenTK.Graphics.OpenGL.ArbBindlessTexture access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, (OpenTK.Graphics.OpenGL.ArbBindlessTexture)access, EntryPoints[1152]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleResidentARB")] - public static + [Slot(1152)] + public static extern void MakeImageHandleResident(UInt64 handle, OpenTK.Graphics.OpenGL.ArbBindlessTexture access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, (OpenTK.Graphics.OpenGL.ArbBindlessTexture)access, EntryPoints[1152]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleNonResidentARB")] - public static + [Slot(1156)] + public static extern void MakeTextureHandleNonResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[1156]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleNonResidentARB")] - public static + [Slot(1156)] + public static extern void MakeTextureHandleNonResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[1156]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleResidentARB")] - public static + [Slot(1158)] + public static extern void MakeTextureHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[1158]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleResidentARB")] - public static + [Slot(1158)] + public static extern void MakeTextureHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[1158]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] /// Map a buffer object's data store @@ -22858,424 +14652,184 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glMapBufferARB")] - public static + [Slot(1167)] + public static extern IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.ArbVertexBufferObject)access, EntryPoints[1167]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerARB")] - public static + [Slot(1193)] + public static extern void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer, EntryPoints[1193]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerARB")] - public static + [Slot(1193)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1193]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerARB")] - public static + [Slot(1193)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1193]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerARB")] - public static + [Slot(1193)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1193]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerARB")] - public static + [Slot(1193)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1193]); - 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 + [Slot(1194)] + public static extern void MatrixIndex(Int32 size, Byte[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* indices_ptr = indices) - { - InteropHelper.Call((Int32)size, (IntPtr)indices_ptr, EntryPoints[1194]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexubvARB")] - public static + [Slot(1194)] + public static extern void MatrixIndex(Int32 size, ref Byte indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* indices_ptr = &indices) - { - InteropHelper.Call((Int32)size, (IntPtr)indices_ptr, EntryPoints[1194]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexubvARB")] - public static + [Slot(1194)] + public static extern unsafe void MatrixIndex(Int32 size, Byte* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)indices, EntryPoints[1194]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexuivARB")] - public static + [Slot(1195)] + public static extern void MatrixIndex(Int32 size, Int32[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* indices_ptr = indices) - { - InteropHelper.Call((Int32)size, (IntPtr)indices_ptr, EntryPoints[1195]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexuivARB")] - public static + [Slot(1195)] + public static extern void MatrixIndex(Int32 size, ref Int32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* indices_ptr = &indices) - { - InteropHelper.Call((Int32)size, (IntPtr)indices_ptr, EntryPoints[1195]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexuivARB")] - public static + [Slot(1195)] + public static extern unsafe void MatrixIndex(Int32 size, Int32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)indices, EntryPoints[1195]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexuivARB")] - public static + [Slot(1195)] + public static extern void MatrixIndex(Int32 size, UInt32[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* indices_ptr = indices) - { - InteropHelper.Call((Int32)size, (IntPtr)indices_ptr, EntryPoints[1195]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexuivARB")] - public static + [Slot(1195)] + public static extern void MatrixIndex(Int32 size, ref UInt32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* indices_ptr = &indices) - { - InteropHelper.Call((Int32)size, (IntPtr)indices_ptr, EntryPoints[1195]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexuivARB")] - public static + [Slot(1195)] + public static extern unsafe void MatrixIndex(Int32 size, UInt32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)indices, EntryPoints[1195]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexusvARB")] - public static + [Slot(1196)] + public static extern void MatrixIndex(Int32 size, Int16[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* indices_ptr = indices) - { - InteropHelper.Call((Int32)size, (IntPtr)indices_ptr, EntryPoints[1196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexusvARB")] - public static + [Slot(1196)] + public static extern void MatrixIndex(Int32 size, ref Int16 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* indices_ptr = &indices) - { - InteropHelper.Call((Int32)size, (IntPtr)indices_ptr, EntryPoints[1196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexusvARB")] - public static + [Slot(1196)] + public static extern unsafe void MatrixIndex(Int32 size, Int16* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)indices, EntryPoints[1196]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexusvARB")] - public static + [Slot(1196)] + public static extern void MatrixIndex(Int32 size, UInt16[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* indices_ptr = indices) - { - InteropHelper.Call((Int32)size, (IntPtr)indices_ptr, EntryPoints[1196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexusvARB")] - public static + [Slot(1196)] + public static extern void MatrixIndex(Int32 size, ref UInt16 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* indices_ptr = &indices) - { - InteropHelper.Call((Int32)size, (IntPtr)indices_ptr, EntryPoints[1196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexusvARB")] - public static + [Slot(1196)] + public static extern unsafe void MatrixIndex(Int32 size, UInt16* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)indices, EntryPoints[1196]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_sample_shading] /// Specifies minimum rate at which sample shaing takes place @@ -23286,48 +14840,27 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sample_shading", Version = "", EntryPoint = "glMinSampleShadingARB")] - public static + [Slot(1221)] + public static extern void MinSampleShading(Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)value, EntryPoints[1221]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_indirect_parameters] [AutoGenerated(Category = "ARB_indirect_parameters", Version = "", EntryPoint = "glMultiDrawArraysIndirectCountARB")] - public static + [Slot(1227)] + public static extern void MultiDrawArraysIndirectCount(OpenTK.Graphics.OpenGL.ArbIndirectParameters mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbIndirectParameters)mode, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride, EntryPoints[1227]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_indirect_parameters] [AutoGenerated(Category = "ARB_indirect_parameters", Version = "", EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public static + [Slot(1235)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbIndirectParameters)mode, (OpenTK.Graphics.OpenGL.ArbIndirectParameters)type, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride, EntryPoints[1235]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23343,18 +14876,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1dARB")] - public static + [Slot(1243)] + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, EntryPoints[1243]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23371,18 +14897,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1dvARB")] - public static + [Slot(1245)] + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1245]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23398,18 +14917,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1fARB")] - public static + [Slot(1247)] + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, EntryPoints[1247]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23426,18 +14938,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1fvARB")] - public static + [Slot(1249)] + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1249]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23453,18 +14958,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1iARB")] - public static + [Slot(1253)] + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, EntryPoints[1253]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23481,18 +14979,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1ivARB")] - public static + [Slot(1255)] + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1255]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23508,18 +14999,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1sARB")] - public static + [Slot(1257)] + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, EntryPoints[1257]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23536,18 +15020,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1svARB")] - public static + [Slot(1259)] + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1259]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23563,18 +15040,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2dARB")] - public static + [Slot(1265)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, EntryPoints[1265]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23590,24 +15060,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2dvARB")] - public static + [Slot(1267)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1267]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23623,24 +15080,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2dvARB")] - public static + [Slot(1267)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1267]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23657,18 +15101,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2dvARB")] - public static + [Slot(1267)] + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1267]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23684,18 +15121,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2fARB")] - public static + [Slot(1269)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, EntryPoints[1269]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23711,24 +15141,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2fvARB")] - public static + [Slot(1271)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1271]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23744,24 +15161,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2fvARB")] - public static + [Slot(1271)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1271]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23778,18 +15182,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2fvARB")] - public static + [Slot(1271)] + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1271]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23805,18 +15202,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2iARB")] - public static + [Slot(1275)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, EntryPoints[1275]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23832,24 +15222,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2ivARB")] - public static + [Slot(1277)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1277]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23865,24 +15242,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2ivARB")] - public static + [Slot(1277)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1277]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23899,18 +15263,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2ivARB")] - public static + [Slot(1277)] + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1277]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23926,18 +15283,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2sARB")] - public static + [Slot(1279)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, EntryPoints[1279]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23953,24 +15303,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2svARB")] - public static + [Slot(1281)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1281]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -23986,24 +15323,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2svARB")] - public static + [Slot(1281)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1281]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24020,18 +15344,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2svARB")] - public static + [Slot(1281)] + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1281]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24047,18 +15364,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3dARB")] - public static + [Slot(1287)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r, EntryPoints[1287]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24074,24 +15384,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3dvARB")] - public static + [Slot(1289)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1289]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24107,24 +15404,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3dvARB")] - public static + [Slot(1289)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1289]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24141,18 +15425,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3dvARB")] - public static + [Slot(1289)] + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1289]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24168,18 +15445,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3fARB")] - public static + [Slot(1291)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r, EntryPoints[1291]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24195,24 +15465,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3fvARB")] - public static + [Slot(1293)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1293]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24228,24 +15485,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3fvARB")] - public static + [Slot(1293)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1293]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24262,18 +15506,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3fvARB")] - public static + [Slot(1293)] + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1293]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24289,18 +15526,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3iARB")] - public static + [Slot(1297)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, EntryPoints[1297]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24316,24 +15546,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3ivARB")] - public static + [Slot(1299)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1299]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24349,24 +15566,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3ivARB")] - public static + [Slot(1299)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1299]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24383,18 +15587,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3ivARB")] - public static + [Slot(1299)] + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1299]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24410,18 +15607,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3sARB")] - public static + [Slot(1301)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, EntryPoints[1301]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24437,24 +15627,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3svARB")] - public static + [Slot(1303)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1303]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24470,24 +15647,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3svARB")] - public static + [Slot(1303)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1303]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24504,18 +15668,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3svARB")] - public static + [Slot(1303)] + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1303]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24531,18 +15688,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4dARB")] - public static + [Slot(1309)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q, EntryPoints[1309]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24558,24 +15708,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4dvARB")] - public static + [Slot(1311)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1311]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24591,24 +15728,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4dvARB")] - public static + [Slot(1311)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1311]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24625,18 +15749,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4dvARB")] - public static + [Slot(1311)] + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1311]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24652,18 +15769,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4fARB")] - public static + [Slot(1313)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q, EntryPoints[1313]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24679,24 +15789,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4fvARB")] - public static + [Slot(1315)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1315]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24712,24 +15809,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4fvARB")] - public static + [Slot(1315)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1315]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24746,18 +15830,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4fvARB")] - public static + [Slot(1315)] + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1315]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24773,18 +15850,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4iARB")] - public static + [Slot(1319)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q, EntryPoints[1319]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24800,24 +15870,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4ivARB")] - public static + [Slot(1321)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1321]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24833,24 +15890,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4ivARB")] - public static + [Slot(1321)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1321]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24867,18 +15911,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4ivARB")] - public static + [Slot(1321)] + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1321]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24894,18 +15931,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4sARB")] - public static + [Slot(1323)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q, EntryPoints[1323]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24921,24 +15951,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4svARB")] - public static + [Slot(1325)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1325]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24954,24 +15971,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4svARB")] - public static + [Slot(1325)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1325]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -24988,18 +15992,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4svARB")] - public static + [Slot(1325)] + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1325]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_transpose_matrix] /// Multiply the current matrix with the specified row-major ordered matrix @@ -25010,24 +16007,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glMultTransposeMatrixdARB")] - public static + [Slot(1364)] + public static extern void MultTransposeMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1364]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_transpose_matrix] /// Multiply the current matrix with the specified row-major ordered matrix @@ -25038,24 +16022,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glMultTransposeMatrixdARB")] - public static + [Slot(1364)] + public static extern void MultTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1364]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_transpose_matrix] /// Multiply the current matrix with the specified row-major ordered matrix @@ -25067,18 +16038,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glMultTransposeMatrixdARB")] - public static + [Slot(1364)] + public static extern unsafe void MultTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1364]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_transpose_matrix] /// Multiply the current matrix with the specified row-major ordered matrix @@ -25089,24 +16053,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glMultTransposeMatrixfARB")] - public static + [Slot(1366)] + public static extern void MultTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1366]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_transpose_matrix] /// Multiply the current matrix with the specified row-major ordered matrix @@ -25117,24 +16068,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glMultTransposeMatrixfARB")] - public static + [Slot(1366)] + public static extern void MultTransposeMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1366]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_transpose_matrix] /// Multiply the current matrix with the specified row-major ordered matrix @@ -25146,33 +16084,19 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glMultTransposeMatrixfARB")] - public static + [Slot(1366)] + public static extern unsafe void MultTransposeMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1366]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glNamedStringARB")] - public static + [Slot(1395)] + public static extern void NamedString(OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude type, Int32 namelen, String name, Int32 stringlen, String @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)type, (Int32)namelen, (String)name, (Int32)stringlen, (String)@string, EntryPoints[1395]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_point_parameters] /// Specify point parameters @@ -25193,18 +16117,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_point_parameters", Version = "", EntryPoint = "glPointParameterfARB")] - public static + [Slot(1491)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbPointParameters)pname, (Single)param, EntryPoints[1491]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_point_parameters] /// Specify point parameters @@ -25225,24 +16142,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_point_parameters", Version = "", EntryPoint = "glPointParameterfvARB")] - public static + [Slot(1495)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbPointParameters)pname, (IntPtr)@params_ptr, EntryPoints[1495]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_point_parameters] /// Specify point parameters @@ -25264,614 +16168,287 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_point_parameters", Version = "", EntryPoint = "glPointParameterfvARB")] - public static + [Slot(1495)] + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbPointParameters)pname, (IntPtr)@params, EntryPoints[1495]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dARB")] - public static + [Slot(1532)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1532]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dARB")] - public static + [Slot(1532)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1532]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dvARB")] - public static + [Slot(1533)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1533]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dvARB")] - public static + [Slot(1533)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1533]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dvARB")] - public static + [Slot(1533)] + public static extern unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params, EntryPoints[1533]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dvARB")] - public static + [Slot(1533)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1533]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dvARB")] - public static + [Slot(1533)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1533]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dvARB")] - public static + [Slot(1533)] + public static extern unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params, EntryPoints[1533]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fARB")] - public static + [Slot(1534)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1534]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fARB")] - public static + [Slot(1534)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1534]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fvARB")] - public static + [Slot(1535)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1535]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fvARB")] - public static + [Slot(1535)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1535]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fvARB")] - public static + [Slot(1535)] + public static extern unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params, EntryPoints[1535]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fvARB")] - public static + [Slot(1535)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1535]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fvARB")] - public static + [Slot(1535)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1535]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fvARB")] - public static + [Slot(1535)] + public static extern unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params, EntryPoints[1535]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dARB")] - public static + [Slot(1543)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1543]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dARB")] - public static + [Slot(1543)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1543]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dvARB")] - public static + [Slot(1544)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1544]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dvARB")] - public static + [Slot(1544)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1544]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dvARB")] - public static + [Slot(1544)] + public static extern unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params, EntryPoints[1544]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dvARB")] - public static + [Slot(1544)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1544]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dvARB")] - public static + [Slot(1544)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1544]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dvARB")] - public static + [Slot(1544)] + public static extern unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params, EntryPoints[1544]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fARB")] - public static + [Slot(1545)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1545]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fARB")] - public static + [Slot(1545)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1545]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fvARB")] - public static + [Slot(1546)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1546]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fvARB")] - public static + [Slot(1546)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1546]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fvARB")] - public static + [Slot(1546)] + public static extern unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params, EntryPoints[1546]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fvARB")] - public static + [Slot(1546)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1546]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fvARB")] - public static + [Slot(1546)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1546]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fvARB")] - public static + [Slot(1546)] + public static extern unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)@params, EntryPoints[1546]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_geometry_shader4] /// Specify a parameter for a program object @@ -25892,18 +16469,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glProgramParameteriARB")] - public static + [Slot(1563)] + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value, EntryPoints[1563]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_geometry_shader4] /// Specify a parameter for a program object @@ -25925,508 +16495,217 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glProgramParameteriARB")] - public static + [Slot(1563)] + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value, EntryPoints[1563]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] - public static + [Slot(1567)] + public static extern void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string, EntryPoints[1567]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] - public static + [Slot(1567)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1567]); - } - 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 + [Slot(1567)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1567]); - } - 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 + [Slot(1567)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1567]); - } - 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 + [Slot(1567)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1567]); - @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 + [Slot(1567)] + public static extern void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string, EntryPoints[1567]); - #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 + [Slot(1567)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1567]); - } - 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 + [Slot(1567)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1567]); - } - 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 + [Slot(1567)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1567]); - } - 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 + [Slot(1567)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1567]); - @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 + [Slot(1649)] + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt64)value, EntryPoints[1649]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64ARB")] - public static + [Slot(1649)] + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt64)value, EntryPoints[1649]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static + [Slot(1651)] + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* values_ptr = values) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values_ptr, EntryPoints[1651]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static + [Slot(1651)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values_ptr, EntryPoints[1651]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static + [Slot(1651)] + public static extern unsafe void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values, EntryPoints[1651]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static + [Slot(1651)] + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* values_ptr = values) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values_ptr, EntryPoints[1651]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static + [Slot(1651)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values_ptr, EntryPoints[1651]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static + [Slot(1651)] + public static extern unsafe void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values, EntryPoints[1651]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static + [Slot(1736)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data, EntryPoints[1736]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static + [Slot(1736)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[1736]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static + [Slot(1736)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[1736]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static + [Slot(1736)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[1736]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static + [Slot(1736)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[1736]); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_multisample] /// Specify multisample coverage parameters @@ -26442,18 +16721,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multisample", Version = "", EntryPoint = "glSampleCoverageARB")] - public static + [Slot(1791)] + public static extern void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)value, (bool)invert, EntryPoints[1791]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Replaces the source code in a shader object @@ -26479,24 +16751,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glShaderSourceARB")] - public static + [Slot(1870)] + public static extern void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shaderObj, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[1870]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Replaces the source code in a shader object @@ -26522,24 +16781,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glShaderSourceARB")] - public static + [Slot(1870)] + public static extern 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) - { - InteropHelper.Call((UInt32)shaderObj, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[1870]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Replaces the source code in a shader object @@ -26566,18 +16812,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glShaderSourceARB")] - public static + [Slot(1870)] + public static extern unsafe void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shaderObj, (Int32)count, (String[])@string, (IntPtr)length, EntryPoints[1870]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Replaces the source code in a shader object @@ -26604,24 +16843,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glShaderSourceARB")] - public static + [Slot(1870)] + public static extern void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shaderObj, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[1870]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Replaces the source code in a shader object @@ -26648,24 +16874,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glShaderSourceARB")] - public static + [Slot(1870)] + public static extern 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) - { - InteropHelper.Call((UInt32)shaderObj, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[1870]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Replaces the source code in a shader object @@ -26692,18 +16905,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glShaderSourceARB")] - public static + [Slot(1870)] + public static extern unsafe void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shaderObj, (Int32)count, (String[])@string, (IntPtr)length, EntryPoints[1870]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_buffer_object] /// Attach the storage for a buffer object to the active buffer texture @@ -26724,18 +16930,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_buffer_object", Version = "", EntryPoint = "glTexBufferARB")] - public static + [Slot(1915)] + public static extern void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ArbTextureBufferObject)internalformat, (UInt32)buffer, EntryPoints[1915]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_texture_buffer_object] /// Attach the storage for a buffer object to the active buffer texture @@ -26757,33 +16956,19 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_buffer_object", Version = "", EntryPoint = "glTexBufferARB")] - public static + [Slot(1915)] + public static extern void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ArbTextureBufferObject)internalformat, (UInt32)buffer, EntryPoints[1915]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_sparse_texture] [AutoGenerated(Category = "ARB_sparse_texture", Version = "", EntryPoint = "glTexPageCommitmentARB")] - public static + [Slot(2027)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArbSparseTexture)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident, EntryPoints[2027]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -26817,18 +17002,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1fARB")] - public static + [Slot(2098)] + public static extern void Uniform1(Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, EntryPoints[2098]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -26862,24 +17040,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1fvARB")] - public static + [Slot(2100)] + public static extern void Uniform1(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2100]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -26913,24 +17078,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1fvARB")] - public static + [Slot(2100)] + public static extern void Uniform1(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2100]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -26965,18 +17117,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1fvARB")] - public static + [Slot(2100)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2100]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27010,18 +17155,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1iARB")] - public static + [Slot(2104)] + public static extern void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, EntryPoints[2104]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27055,24 +17193,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1ivARB")] - public static + [Slot(2106)] + public static extern void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2106]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27106,24 +17231,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1ivARB")] - public static + [Slot(2106)] + public static extern void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2106]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27158,18 +17270,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1ivARB")] - public static + [Slot(2106)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2106]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27203,18 +17308,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2fARB")] - public static + [Slot(2116)] + public static extern void Uniform2(Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, EntryPoints[2116]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27248,24 +17346,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2fvARB")] - public static + [Slot(2118)] + public static extern void Uniform2(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2118]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27299,24 +17384,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2fvARB")] - public static + [Slot(2118)] + public static extern void Uniform2(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2118]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27351,18 +17423,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2fvARB")] - public static + [Slot(2118)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2118]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27396,18 +17461,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2iARB")] - public static + [Slot(2122)] + public static extern void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, EntryPoints[2122]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27441,24 +17499,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2ivARB")] - public static + [Slot(2124)] + public static extern void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2124]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27493,18 +17538,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2ivARB")] - public static + [Slot(2124)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2124]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27538,18 +17576,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3fARB")] - public static + [Slot(2134)] + public static extern void Uniform3(Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[2134]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27583,24 +17614,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3fvARB")] - public static + [Slot(2136)] + public static extern void Uniform3(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2136]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27634,24 +17652,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3fvARB")] - public static + [Slot(2136)] + public static extern void Uniform3(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2136]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27686,18 +17691,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3fvARB")] - public static + [Slot(2136)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2136]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27731,18 +17729,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3iARB")] - public static + [Slot(2140)] + public static extern void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[2140]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27776,24 +17767,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3ivARB")] - public static + [Slot(2142)] + public static extern void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2142]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27827,24 +17805,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3ivARB")] - public static + [Slot(2142)] + public static extern void Uniform3(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2142]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27879,18 +17844,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3ivARB")] - public static + [Slot(2142)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2142]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27924,18 +17882,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4fARB")] - public static + [Slot(2152)] + public static extern void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[2152]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -27969,24 +17920,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4fvARB")] - public static + [Slot(2154)] + public static extern void Uniform4(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2154]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -28020,24 +17958,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4fvARB")] - public static + [Slot(2154)] + public static extern void Uniform4(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2154]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -28072,18 +17997,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4fvARB")] - public static + [Slot(2154)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2154]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -28117,18 +18035,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4iARB")] - public static + [Slot(2158)] + public static extern void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[2158]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -28162,24 +18073,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4ivARB")] - public static + [Slot(2160)] + public static extern void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2160]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -28213,24 +18111,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4ivARB")] - public static + [Slot(2160)] + public static extern void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2160]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -28265,387 +18150,180 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4ivARB")] - public static + [Slot(2160)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2160]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64ARB")] - public static + [Slot(2169)] + public static extern void UniformHandle(Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt64)value, EntryPoints[2169]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64ARB")] - public static + [Slot(2169)] + public static extern void UniformHandle(Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt64)value, EntryPoints[2169]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static + [Slot(2171)] + public static extern void UniformHandle(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2171]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static + [Slot(2171)] + public static extern void UniformHandle(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2171]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static + [Slot(2171)] + public static extern unsafe void UniformHandle(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2171]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static + [Slot(2171)] + public static extern void UniformHandle(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2171]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static + [Slot(2171)] + public static extern void UniformHandle(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2171]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static + [Slot(2171)] + public static extern unsafe void UniformHandle(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2171]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix2fvARB")] - public static + [Slot(2175)] + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2175]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix2fvARB")] - public static + [Slot(2175)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2175]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix2fvARB")] - public static + [Slot(2175)] + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2175]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix3fvARB")] - public static + [Slot(2182)] + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2182]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix3fvARB")] - public static + [Slot(2182)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2182]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix3fvARB")] - public static + [Slot(2182)] + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2182]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix4fvARB")] - public static + [Slot(2189)] + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2189]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix4fvARB")] - public static + [Slot(2189)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2189]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix4fvARB")] - public static + [Slot(2189)] + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2189]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glUnmapBufferARB")] - public static + [Slot(2199)] + public static extern bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.BufferTargetArb)target, EntryPoints[2199]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUseProgramObjectARB")] - public static + [Slot(2205)] + public static extern void UseProgramObject(Int32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, EntryPoints[2205]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUseProgramObjectARB")] - public static + [Slot(2205)] + public static extern void UseProgramObject(UInt32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, EntryPoints[2205]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Validates a program object @@ -28656,18 +18334,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glValidateProgramARB")] - public static + [Slot(2210)] + public static extern void ValidateProgram(Int32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, EntryPoints[2210]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shader_objects] /// Validates a program object @@ -28679,18 +18350,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glValidateProgramARB")] - public static + [Slot(2210)] + public static extern void ValidateProgram(UInt32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)programObj, EntryPoints[2210]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28726,18 +18390,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1dARB")] - public static + [Slot(2298)] + public static extern void VertexAttrib1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[2298]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28774,18 +18431,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1dARB")] - public static + [Slot(2298)] + public static extern void VertexAttrib1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[2298]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28822,18 +18472,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1dvARB")] - public static + [Slot(2301)] + public static extern unsafe void VertexAttrib1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2301]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28870,18 +18513,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1dvARB")] - public static + [Slot(2301)] + public static extern unsafe void VertexAttrib1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2301]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28917,18 +18553,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1fARB")] - public static + [Slot(2304)] + public static extern void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, EntryPoints[2304]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28965,18 +18594,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1fARB")] - public static + [Slot(2304)] + public static extern void VertexAttrib1(UInt32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, EntryPoints[2304]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29013,18 +18635,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1fvARB")] - public static + [Slot(2307)] + public static extern unsafe void VertexAttrib1(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2307]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29061,18 +18676,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1fvARB")] - public static + [Slot(2307)] + public static extern unsafe void VertexAttrib1(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2307]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29108,18 +18716,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1sARB")] - public static + [Slot(2312)] + public static extern void VertexAttrib1(Int32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, EntryPoints[2312]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29156,18 +18757,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1sARB")] - public static + [Slot(2312)] + public static extern void VertexAttrib1(UInt32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, EntryPoints[2312]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29204,18 +18798,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1svARB")] - public static + [Slot(2315)] + public static extern unsafe void VertexAttrib1(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2315]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29252,18 +18839,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1svARB")] - public static + [Slot(2315)] + public static extern unsafe void VertexAttrib1(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2315]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29299,18 +18879,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dARB")] - public static + [Slot(2318)] + public static extern void VertexAttrib2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[2318]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29347,18 +18920,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dARB")] - public static + [Slot(2318)] + public static extern void VertexAttrib2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[2318]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29394,24 +18960,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dvARB")] - public static + [Slot(2321)] + public static extern void VertexAttrib2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2321]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29447,24 +19000,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dvARB")] - public static + [Slot(2321)] + public static extern void VertexAttrib2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2321]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29501,18 +19041,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dvARB")] - public static + [Slot(2321)] + public static extern unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2321]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29549,24 +19082,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dvARB")] - public static + [Slot(2321)] + public static extern void VertexAttrib2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2321]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29603,24 +19123,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dvARB")] - public static + [Slot(2321)] + public static extern void VertexAttrib2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2321]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29657,18 +19164,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dvARB")] - public static + [Slot(2321)] + public static extern unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2321]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29704,18 +19204,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fARB")] - public static + [Slot(2324)] + public static extern void VertexAttrib2(Int32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, EntryPoints[2324]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29752,18 +19245,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fARB")] - public static + [Slot(2324)] + public static extern void VertexAttrib2(UInt32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, EntryPoints[2324]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29799,24 +19285,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fvARB")] - public static + [Slot(2327)] + public static extern void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2327]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29852,24 +19325,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fvARB")] - public static + [Slot(2327)] + public static extern void VertexAttrib2(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2327]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29906,18 +19366,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fvARB")] - public static + [Slot(2327)] + public static extern unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2327]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29954,24 +19407,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fvARB")] - public static + [Slot(2327)] + public static extern void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2327]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30008,24 +19448,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fvARB")] - public static + [Slot(2327)] + public static extern void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2327]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30062,18 +19489,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fvARB")] - public static + [Slot(2327)] + public static extern unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2327]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30109,18 +19529,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2sARB")] - public static + [Slot(2332)] + public static extern void VertexAttrib2(Int32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, EntryPoints[2332]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30157,18 +19570,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2sARB")] - public static + [Slot(2332)] + public static extern void VertexAttrib2(UInt32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, EntryPoints[2332]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30204,24 +19610,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2svARB")] - public static + [Slot(2335)] + public static extern void VertexAttrib2(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2335]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30257,24 +19650,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2svARB")] - public static + [Slot(2335)] + public static extern void VertexAttrib2(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2335]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30311,18 +19691,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2svARB")] - public static + [Slot(2335)] + public static extern unsafe void VertexAttrib2(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2335]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30359,24 +19732,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2svARB")] - public static + [Slot(2335)] + public static extern void VertexAttrib2(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2335]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30413,24 +19773,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2svARB")] - public static + [Slot(2335)] + public static extern void VertexAttrib2(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2335]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30467,18 +19814,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2svARB")] - public static + [Slot(2335)] + public static extern unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2335]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30514,18 +19854,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dARB")] - public static + [Slot(2338)] + public static extern void VertexAttrib3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[2338]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30562,18 +19895,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dARB")] - public static + [Slot(2338)] + public static extern void VertexAttrib3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[2338]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30609,24 +19935,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dvARB")] - public static + [Slot(2341)] + public static extern void VertexAttrib3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2341]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30662,24 +19975,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dvARB")] - public static + [Slot(2341)] + public static extern void VertexAttrib3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2341]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30716,18 +20016,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dvARB")] - public static + [Slot(2341)] + public static extern unsafe void VertexAttrib3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2341]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30764,24 +20057,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dvARB")] - public static + [Slot(2341)] + public static extern void VertexAttrib3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2341]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30818,24 +20098,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dvARB")] - public static + [Slot(2341)] + public static extern void VertexAttrib3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2341]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30872,18 +20139,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dvARB")] - public static + [Slot(2341)] + public static extern unsafe void VertexAttrib3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2341]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30919,18 +20179,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fARB")] - public static + [Slot(2344)] + public static extern void VertexAttrib3(Int32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, EntryPoints[2344]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30967,18 +20220,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fARB")] - public static + [Slot(2344)] + public static extern void VertexAttrib3(UInt32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, EntryPoints[2344]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31014,24 +20260,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fvARB")] - public static + [Slot(2347)] + public static extern void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2347]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31067,24 +20300,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fvARB")] - public static + [Slot(2347)] + public static extern void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2347]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31121,18 +20341,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fvARB")] - public static + [Slot(2347)] + public static extern unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2347]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31169,24 +20382,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fvARB")] - public static + [Slot(2347)] + public static extern void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2347]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31223,24 +20423,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fvARB")] - public static + [Slot(2347)] + public static extern void VertexAttrib3(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2347]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31277,18 +20464,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fvARB")] - public static + [Slot(2347)] + public static extern unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2347]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31324,18 +20504,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3sARB")] - public static + [Slot(2352)] + public static extern void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, EntryPoints[2352]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31372,18 +20545,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3sARB")] - public static + [Slot(2352)] + public static extern void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, EntryPoints[2352]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31419,24 +20585,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3svARB")] - public static + [Slot(2355)] + public static extern void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2355]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31472,24 +20625,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3svARB")] - public static + [Slot(2355)] + public static extern void VertexAttrib3(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2355]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31526,18 +20666,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3svARB")] - public static + [Slot(2355)] + public static extern unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2355]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31574,24 +20707,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3svARB")] - public static + [Slot(2355)] + public static extern void VertexAttrib3(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2355]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31628,24 +20748,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3svARB")] - public static + [Slot(2355)] + public static extern void VertexAttrib3(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2355]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31682,18 +20789,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3svARB")] - public static + [Slot(2355)] + public static extern unsafe void VertexAttrib3(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2355]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31730,24 +20830,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4bvARB")] - public static + [Slot(2358)] + public static extern void VertexAttrib4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2358]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31784,24 +20871,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4bvARB")] - public static + [Slot(2358)] + public static extern void VertexAttrib4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2358]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31838,18 +20912,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4bvARB")] - public static + [Slot(2358)] + public static extern unsafe void VertexAttrib4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2358]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31885,18 +20952,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dARB")] - public static + [Slot(2360)] + public static extern void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2360]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31933,18 +20993,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dARB")] - public static + [Slot(2360)] + public static extern void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2360]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31980,24 +21033,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dvARB")] - public static + [Slot(2363)] + public static extern void VertexAttrib4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2363]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32033,24 +21073,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dvARB")] - public static + [Slot(2363)] + public static extern void VertexAttrib4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2363]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32087,18 +21114,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dvARB")] - public static + [Slot(2363)] + public static extern unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2363]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32135,24 +21155,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dvARB")] - public static + [Slot(2363)] + public static extern void VertexAttrib4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2363]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32189,24 +21196,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dvARB")] - public static + [Slot(2363)] + public static extern void VertexAttrib4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2363]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32243,18 +21237,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dvARB")] - public static + [Slot(2363)] + public static extern unsafe void VertexAttrib4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2363]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32290,18 +21277,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fARB")] - public static + [Slot(2366)] + public static extern void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[2366]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32338,18 +21318,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fARB")] - public static + [Slot(2366)] + public static extern void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[2366]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32385,24 +21358,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fvARB")] - public static + [Slot(2369)] + public static extern void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2369]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32438,24 +21398,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fvARB")] - public static + [Slot(2369)] + public static extern void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2369]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32492,18 +21439,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fvARB")] - public static + [Slot(2369)] + public static extern unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2369]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32540,24 +21480,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fvARB")] - public static + [Slot(2369)] + public static extern void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2369]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32594,24 +21521,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fvARB")] - public static + [Slot(2369)] + public static extern void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2369]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32648,18 +21562,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fvARB")] - public static + [Slot(2369)] + public static extern unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2369]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32695,24 +21602,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ivARB")] - public static + [Slot(2374)] + public static extern void VertexAttrib4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2374]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32748,24 +21642,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ivARB")] - public static + [Slot(2374)] + public static extern void VertexAttrib4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2374]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32802,18 +21683,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ivARB")] - public static + [Slot(2374)] + public static extern unsafe void VertexAttrib4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2374]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32850,24 +21724,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ivARB")] - public static + [Slot(2374)] + public static extern void VertexAttrib4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2374]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32904,24 +21765,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ivARB")] - public static + [Slot(2374)] + public static extern void VertexAttrib4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2374]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32958,583 +21806,265 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ivARB")] - public static + [Slot(2374)] + public static extern unsafe void VertexAttrib4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2374]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NbvARB")] - public static + [Slot(2376)] + public static extern void VertexAttrib4N(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2376]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NbvARB")] - public static + [Slot(2376)] + public static extern void VertexAttrib4N(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2376]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NbvARB")] - public static + [Slot(2376)] + public static extern unsafe void VertexAttrib4N(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2376]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NivARB")] - public static + [Slot(2378)] + public static extern void VertexAttrib4N(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2378]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NivARB")] - public static + [Slot(2378)] + public static extern void VertexAttrib4N(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2378]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NivARB")] - public static + [Slot(2378)] + public static extern unsafe void VertexAttrib4N(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2378]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NivARB")] - public static + [Slot(2378)] + public static extern void VertexAttrib4N(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2378]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NivARB")] - public static + [Slot(2378)] + public static extern void VertexAttrib4N(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2378]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NivARB")] - public static + [Slot(2378)] + public static extern unsafe void VertexAttrib4N(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2378]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NsvARB")] - public static + [Slot(2380)] + public static extern void VertexAttrib4N(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2380]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NsvARB")] - public static + [Slot(2380)] + public static extern void VertexAttrib4N(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2380]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NsvARB")] - public static + [Slot(2380)] + public static extern unsafe void VertexAttrib4N(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2380]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NsvARB")] - public static + [Slot(2380)] + public static extern void VertexAttrib4N(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2380]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NsvARB")] - public static + [Slot(2380)] + public static extern void VertexAttrib4N(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2380]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NsvARB")] - public static + [Slot(2380)] + public static extern unsafe void VertexAttrib4N(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2380]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubARB")] - public static + [Slot(2382)] + public static extern void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w, EntryPoints[2382]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubARB")] - public static + [Slot(2382)] + public static extern void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w, EntryPoints[2382]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubvARB")] - public static + [Slot(2384)] + public static extern void VertexAttrib4N(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2384]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubvARB")] - public static + [Slot(2384)] + public static extern void VertexAttrib4N(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2384]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubvARB")] - public static + [Slot(2384)] + public static extern unsafe void VertexAttrib4N(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2384]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubvARB")] - public static + [Slot(2384)] + public static extern void VertexAttrib4N(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2384]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubvARB")] - public static + [Slot(2384)] + public static extern void VertexAttrib4N(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2384]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubvARB")] - public static + [Slot(2384)] + public static extern unsafe void VertexAttrib4N(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2384]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NuivARB")] - public static + [Slot(2386)] + public static extern void VertexAttrib4N(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2386]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NuivARB")] - public static + [Slot(2386)] + public static extern void VertexAttrib4N(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2386]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NuivARB")] - public static + [Slot(2386)] + public static extern unsafe void VertexAttrib4N(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2386]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NusvARB")] - public static + [Slot(2388)] + public static extern void VertexAttrib4N(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2388]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NusvARB")] - public static + [Slot(2388)] + public static extern void VertexAttrib4N(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2388]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NusvARB")] - public static + [Slot(2388)] + public static extern unsafe void VertexAttrib4N(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2388]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -33570,18 +22100,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4sARB")] - public static + [Slot(2390)] + public static extern void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w, EntryPoints[2390]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -33618,18 +22141,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4sARB")] - public static + [Slot(2390)] + public static extern void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w, EntryPoints[2390]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -33665,24 +22181,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4svARB")] - public static + [Slot(2393)] + public static extern void VertexAttrib4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2393]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -33718,24 +22221,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4svARB")] - public static + [Slot(2393)] + public static extern void VertexAttrib4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2393]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -33772,18 +22262,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4svARB")] - public static + [Slot(2393)] + public static extern unsafe void VertexAttrib4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2393]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -33820,24 +22303,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4svARB")] - public static + [Slot(2393)] + public static extern void VertexAttrib4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2393]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -33874,24 +22344,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4svARB")] - public static + [Slot(2393)] + public static extern void VertexAttrib4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2393]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -33928,18 +22385,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4svARB")] - public static + [Slot(2393)] + public static extern unsafe void VertexAttrib4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2393]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -33975,24 +22425,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ubvARB")] - public static + [Slot(2397)] + public static extern void VertexAttrib4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2397]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -34028,24 +22465,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ubvARB")] - public static + [Slot(2397)] + public static extern void VertexAttrib4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2397]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -34082,18 +22506,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ubvARB")] - public static + [Slot(2397)] + public static extern unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2397]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -34130,24 +22547,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ubvARB")] - public static + [Slot(2397)] + public static extern void VertexAttrib4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2397]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -34184,24 +22588,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ubvARB")] - public static + [Slot(2397)] + public static extern void VertexAttrib4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2397]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -34238,18 +22629,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ubvARB")] - public static + [Slot(2397)] + public static extern unsafe void VertexAttrib4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2397]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -34286,24 +22670,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4uivARB")] - public static + [Slot(2400)] + public static extern void VertexAttrib4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2400]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -34340,24 +22711,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4uivARB")] - public static + [Slot(2400)] + public static extern void VertexAttrib4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2400]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -34394,18 +22752,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4uivARB")] - public static + [Slot(2400)] + public static extern unsafe void VertexAttrib4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2400]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -34442,24 +22793,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4usvARB")] - public static + [Slot(2402)] + public static extern void VertexAttrib4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2402]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -34496,24 +22834,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4usvARB")] - public static + [Slot(2402)] + public static extern void VertexAttrib4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2402]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -34550,18 +22875,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4usvARB")] - public static + [Slot(2402)] + public static extern unsafe void VertexAttrib4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2402]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -34577,18 +22895,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorARB")] - public static + [Slot(2406)] + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[2406]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -34605,124 +22916,63 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorARB")] - public static + [Slot(2406)] + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[2406]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64ARB")] - public static + [Slot(2459)] + public static extern void VertexAttribL1(Int32 index, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt64)x, EntryPoints[2459]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64ARB")] - public static + [Slot(2459)] + public static extern void VertexAttribL1(UInt32 index, UInt64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt64)x, EntryPoints[2459]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static + [Slot(2461)] + public static extern void VertexAttribL1(Int32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2461]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static + [Slot(2461)] + public static extern unsafe void VertexAttribL1(Int32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2461]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static + [Slot(2461)] + public static extern void VertexAttribL1(UInt32 index, UInt64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2461]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static + [Slot(2461)] + public static extern unsafe void VertexAttribL1(UInt32 index, UInt64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2461]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -34758,18 +23008,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static + [Slot(2501)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[2501]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -34805,27 +23048,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static + [Slot(2501)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2501]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -34861,27 +23089,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static + [Slot(2501)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2501]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -34917,27 +23130,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static + [Slot(2501)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2501]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -34973,28 +23171,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static + [Slot(2501)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2501]); - 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 @@ -35031,18 +23213,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static + [Slot(2501)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[2501]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -35079,27 +23254,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static + [Slot(2501)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2501]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -35136,27 +23296,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static + [Slot(2501)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2501]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -35193,27 +23338,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static + [Slot(2501)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2501]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -35250,625 +23380,270 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static + [Slot(2501)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2501]); - 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 + [Slot(2521)] + public static extern void VertexBlend(Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, EntryPoints[2521]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightbvARB")] - public static + [Slot(2581)] + public static extern void Weight(Int32 size, SByte[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* weights_ptr = weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2581]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightbvARB")] - public static + [Slot(2581)] + public static extern void Weight(Int32 size, ref SByte weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* weights_ptr = &weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2581]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightbvARB")] - public static + [Slot(2581)] + public static extern unsafe void Weight(Int32 size, SByte* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)weights, EntryPoints[2581]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightdvARB")] - public static + [Slot(2582)] + public static extern void Weight(Int32 size, Double[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* weights_ptr = weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2582]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightdvARB")] - public static + [Slot(2582)] + public static extern void Weight(Int32 size, ref Double weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* weights_ptr = &weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2582]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightdvARB")] - public static + [Slot(2582)] + public static extern unsafe void Weight(Int32 size, Double* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)weights, EntryPoints[2582]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightfvARB")] - public static + [Slot(2583)] + public static extern void Weight(Int32 size, Single[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* weights_ptr = weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2583]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightfvARB")] - public static + [Slot(2583)] + public static extern void Weight(Int32 size, ref Single weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* weights_ptr = &weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2583]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightfvARB")] - public static + [Slot(2583)] + public static extern unsafe void Weight(Int32 size, Single* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)weights, EntryPoints[2583]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightivARB")] - public static + [Slot(2584)] + public static extern void Weight(Int32 size, Int32[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* weights_ptr = weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2584]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightivARB")] - public static + [Slot(2584)] + public static extern void Weight(Int32 size, ref Int32 weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* weights_ptr = &weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2584]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightivARB")] - public static + [Slot(2584)] + public static extern unsafe void Weight(Int32 size, Int32* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)weights, EntryPoints[2584]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightPointerARB")] - public static + [Slot(2586)] + public static extern void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2586]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightPointerARB")] - public static + [Slot(2586)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2586]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightPointerARB")] - public static + [Slot(2586)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2586]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightPointerARB")] - public static + [Slot(2586)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2586]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightPointerARB")] - public static + [Slot(2586)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2586]); - 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 + [Slot(2587)] + public static extern void Weight(Int32 size, Int16[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* weights_ptr = weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2587]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightsvARB")] - public static + [Slot(2587)] + public static extern void Weight(Int32 size, ref Int16 weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* weights_ptr = &weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2587]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightsvARB")] - public static + [Slot(2587)] + public static extern unsafe void Weight(Int32 size, Int16* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)weights, EntryPoints[2587]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightubvARB")] - public static + [Slot(2588)] + public static extern void Weight(Int32 size, Byte[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* weights_ptr = weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2588]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightubvARB")] - public static + [Slot(2588)] + public static extern void Weight(Int32 size, ref Byte weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* weights_ptr = &weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2588]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightubvARB")] - public static + [Slot(2588)] + public static extern unsafe void Weight(Int32 size, Byte* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)weights, EntryPoints[2588]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightuivARB")] - public static + [Slot(2589)] + public static extern void Weight(Int32 size, UInt32[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* weights_ptr = weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2589]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightuivARB")] - public static + [Slot(2589)] + public static extern void Weight(Int32 size, ref UInt32 weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* weights_ptr = &weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2589]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightuivARB")] - public static + [Slot(2589)] + public static extern unsafe void Weight(Int32 size, UInt32* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)weights, EntryPoints[2589]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightusvARB")] - public static + [Slot(2590)] + public static extern void Weight(Int32 size, UInt16[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* weights_ptr = weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2590]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightusvARB")] - public static + [Slot(2590)] + public static extern void Weight(Int32 size, ref UInt16 weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* weights_ptr = &weights) - { - InteropHelper.Call((Int32)size, (IntPtr)weights_ptr, EntryPoints[2590]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightusvARB")] - public static + [Slot(2590)] + public static extern unsafe void Weight(Int32 size, UInt16* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)weights, EntryPoints[2590]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -35879,18 +23654,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2dARB")] - public static + [Slot(2592)] + public static extern void WindowPos2(Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, EntryPoints[2592]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -35901,24 +23669,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2dvARB")] - public static + [Slot(2595)] + public static extern void WindowPos2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2595]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -35929,24 +23684,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2dvARB")] - public static + [Slot(2595)] + public static extern void WindowPos2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2595]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -35958,18 +23700,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2dvARB")] - public static + [Slot(2595)] + public static extern unsafe void WindowPos2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2595]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -35980,18 +23715,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2fARB")] - public static + [Slot(2598)] + public static extern void WindowPos2(Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, EntryPoints[2598]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36002,24 +23730,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2fvARB")] - public static + [Slot(2601)] + public static extern void WindowPos2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2601]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36030,24 +23745,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2fvARB")] - public static + [Slot(2601)] + public static extern void WindowPos2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2601]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36059,18 +23761,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2fvARB")] - public static + [Slot(2601)] + public static extern unsafe void WindowPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2601]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36081,18 +23776,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2iARB")] - public static + [Slot(2604)] + public static extern void WindowPos2(Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, EntryPoints[2604]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36103,24 +23791,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2ivARB")] - public static + [Slot(2607)] + public static extern void WindowPos2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2607]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36131,24 +23806,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2ivARB")] - public static + [Slot(2607)] + public static extern void WindowPos2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2607]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36160,18 +23822,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2ivARB")] - public static + [Slot(2607)] + public static extern unsafe void WindowPos2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2607]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36182,18 +23837,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2sARB")] - public static + [Slot(2610)] + public static extern void WindowPos2(Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, EntryPoints[2610]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36204,24 +23852,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2svARB")] - public static + [Slot(2613)] + public static extern void WindowPos2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2613]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36232,24 +23867,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2svARB")] - public static + [Slot(2613)] + public static extern void WindowPos2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2613]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36261,18 +23883,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2svARB")] - public static + [Slot(2613)] + public static extern unsafe void WindowPos2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2613]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36283,18 +23898,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3dARB")] - public static + [Slot(2616)] + public static extern void WindowPos3(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, (Double)z, EntryPoints[2616]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36305,24 +23913,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3dvARB")] - public static + [Slot(2619)] + public static extern void WindowPos3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2619]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36333,24 +23928,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3dvARB")] - public static + [Slot(2619)] + public static extern void WindowPos3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2619]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36362,18 +23944,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3dvARB")] - public static + [Slot(2619)] + public static extern unsafe void WindowPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2619]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36384,18 +23959,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3fARB")] - public static + [Slot(2622)] + public static extern void WindowPos3(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, (Single)z, EntryPoints[2622]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36406,24 +23974,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3fvARB")] - public static + [Slot(2625)] + public static extern void WindowPos3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2625]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36434,24 +23989,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3fvARB")] - public static + [Slot(2625)] + public static extern void WindowPos3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2625]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36463,18 +24005,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3fvARB")] - public static + [Slot(2625)] + public static extern unsafe void WindowPos3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2625]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36485,18 +24020,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3iARB")] - public static + [Slot(2628)] + public static extern void WindowPos3(Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)z, EntryPoints[2628]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36507,24 +24035,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3ivARB")] - public static + [Slot(2631)] + public static extern void WindowPos3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2631]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36535,24 +24050,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3ivARB")] - public static + [Slot(2631)] + public static extern void WindowPos3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2631]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36564,18 +24066,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3ivARB")] - public static + [Slot(2631)] + public static extern unsafe void WindowPos3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2631]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36586,18 +24081,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3sARB")] - public static + [Slot(2634)] + public static extern void WindowPos3(Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, (Int16)z, EntryPoints[2634]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36608,24 +24096,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3svARB")] - public static + [Slot(2637)] + public static extern void WindowPos3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2637]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36636,24 +24111,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3svARB")] - public static + [Slot(2637)] + public static extern void WindowPos3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2637]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -36665,18 +24127,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3svARB")] - public static + [Slot(2637)] + public static extern unsafe void WindowPos3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2637]); - #if DEBUG - } - #endif - } + ; + } @@ -36684,312 +24139,172 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glAlphaFragmentOp1ATI")] - public static + [Slot(9)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, EntryPoints[9]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glAlphaFragmentOp1ATI")] - public static + [Slot(9)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, EntryPoints[9]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glAlphaFragmentOp2ATI")] - public static + [Slot(10)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, EntryPoints[10]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glAlphaFragmentOp2ATI")] - public static + [Slot(10)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, EntryPoints[10]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glAlphaFragmentOp3ATI")] - public static + [Slot(11)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[11]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glAlphaFragmentOp3ATI")] - public static + [Slot(11)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[11]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glArrayObjectATI")] - public static + [Slot(20)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.EnableCap)array, (Int32)size, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset, EntryPoints[20]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glArrayObjectATI")] - public static + [Slot(20)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.EnableCap)array, (Int32)size, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset, EntryPoints[20]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glBeginFragmentShaderATI")] - public static + [Slot(28)] + public static extern void BeginFragmentShader() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[28]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glBindFragmentShaderATI")] - public static + [Slot(56)] + public static extern void BindFragmentShader(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[56]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glBindFragmentShaderATI")] - public static + [Slot(56)] + public static extern void BindFragmentShader(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[56]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glClientActiveVertexStreamATI")] - public static + [Slot(168)] + public static extern void ClientActiveVertexStream(OpenTK.Graphics.OpenGL.AtiVertexStreams stream) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, EntryPoints[168]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glColorFragmentOp1ATI")] - public static + [Slot(223)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, EntryPoints[223]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glColorFragmentOp1ATI")] - public static + [Slot(223)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, EntryPoints[223]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glColorFragmentOp2ATI")] - public static + [Slot(224)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, EntryPoints[224]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glColorFragmentOp2ATI")] - public static + [Slot(224)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, EntryPoints[224]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glColorFragmentOp3ATI")] - public static + [Slot(225)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[225]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glColorFragmentOp3ATI")] - public static + [Slot(225)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[225]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glDeleteFragmentShaderATI")] - public static + [Slot(364)] + public static extern void DeleteFragmentShader(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[364]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glDeleteFragmentShaderATI")] - public static + [Slot(364)] + public static extern void DeleteFragmentShader(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[364]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -37005,24 +24320,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ATI_draw_buffers", Version = "", EntryPoint = "glDrawBuffersATI")] - public static + [Slot(432)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[432]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -37038,24 +24340,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ATI_draw_buffers", Version = "", EntryPoint = "glDrawBuffersATI")] - public static + [Slot(432)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[432]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -37072,1891 +24361,867 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_draw_buffers", Version = "", EntryPoint = "glDrawBuffersATI")] - public static + [Slot(432)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[432]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawElementArrayATI")] - public static + [Slot(434)] + public static extern void DrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, EntryPoints[434]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawElementArrayATI")] - public static + [Slot(434)] + public static extern void DrawElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, EntryPoints[434]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayATI")] - public static + [Slot(447)] + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, EntryPoints[447]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayATI")] - public static + [Slot(447)] + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, EntryPoints[447]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayATI")] - public static + [Slot(447)] + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, EntryPoints[447]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayATI")] - public static + [Slot(447)] + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, EntryPoints[447]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glElementPointerATI")] - public static + [Slot(464)] + public static extern void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer, EntryPoints[464]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glElementPointerATI")] - public static + [Slot(464)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[464]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glElementPointerATI")] - public static + [Slot(464)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[464]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glElementPointerATI")] - public static + [Slot(464)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[464]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glElementPointerATI")] - public static + [Slot(464)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[464]); - 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 + [Slot(481)] + public static extern void EndFragmentShader() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[481]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glFreeObjectBufferATI")] - public static + [Slot(587)] + public static extern void FreeObjectBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, EntryPoints[587]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glFreeObjectBufferATI")] - public static + [Slot(587)] + public static extern void FreeObjectBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, EntryPoints[587]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glGenFragmentShadersATI")] - public static + [Slot(601)] + public static extern Int32 GenFragmentShaders(Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)range, EntryPoints[601]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glGenFragmentShadersATI")] - public static + [Slot(601)] + public static extern Int32 GenFragmentShaders(UInt32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)range, EntryPoints[601]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetArrayObjectfvATI")] - public static + [Slot(639)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[639]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetArrayObjectfvATI")] - public static + [Slot(639)] + public static extern unsafe void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params, EntryPoints[639]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetArrayObjectivATI")] - public static + [Slot(640)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[640]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetArrayObjectivATI")] - public static + [Slot(640)] + public static extern unsafe void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params, EntryPoints[640]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferfvATI")] - public static + [Slot(816)] + public static extern 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) - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[816]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferfvATI")] - public static + [Slot(816)] + public static extern unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params, EntryPoints[816]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferfvATI")] - public static + [Slot(816)] + public static extern 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) - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[816]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferfvATI")] - public static + [Slot(816)] + public static extern unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params, EntryPoints[816]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferivATI")] - public static + [Slot(817)] + public static extern 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) - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[817]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferivATI")] - public static + [Slot(817)] + public static extern unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params, EntryPoints[817]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferivATI")] - public static + [Slot(817)] + public static extern 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) - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[817]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferivATI")] - public static + [Slot(817)] + public static extern unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params, EntryPoints[817]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterfvATI")] - public static + [Slot(922)] + public static extern Single GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* param_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (IntPtr)param_ptr, EntryPoints[922]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterfvATI")] - public static + [Slot(922)] + public static extern void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (IntPtr)param_ptr, EntryPoints[922]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterfvATI")] - public static + [Slot(922)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (IntPtr)param_ptr, EntryPoints[922]); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_envmap_bumpmap] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterfvATI")] - public static + [Slot(922)] + public static extern unsafe void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (IntPtr)param, EntryPoints[922]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterivATI")] - public static + [Slot(923)] + public static extern void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (IntPtr)param_ptr, EntryPoints[923]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterivATI")] - public static + [Slot(923)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (IntPtr)param_ptr, EntryPoints[923]); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_envmap_bumpmap] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterivATI")] - public static + [Slot(923)] + public static extern unsafe void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (IntPtr)param, EntryPoints[923]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectfvATI")] - public static + [Slot(975)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[975]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectfvATI")] - public static + [Slot(975)] + public static extern unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params, EntryPoints[975]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectfvATI")] - public static + [Slot(975)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[975]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectfvATI")] - public static + [Slot(975)] + public static extern unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params, EntryPoints[975]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectivATI")] - public static + [Slot(976)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[976]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectivATI")] - public static + [Slot(976)] + public static extern unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params, EntryPoints[976]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectivATI")] - public static + [Slot(976)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[976]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectivATI")] - public static + [Slot(976)] + public static extern unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (IntPtr)@params, EntryPoints[976]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static + [Slot(986)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[986]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static + [Slot(986)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[986]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static + [Slot(986)] + public static extern unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (IntPtr)@params, EntryPoints[986]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static + [Slot(986)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[986]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static + [Slot(986)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[986]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static + [Slot(986)] + public static extern unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (IntPtr)@params, EntryPoints[986]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static + [Slot(987)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[987]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static + [Slot(987)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[987]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static + [Slot(987)] + public static extern unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (IntPtr)@params, EntryPoints[987]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static + [Slot(987)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[987]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static + [Slot(987)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (IntPtr)@params_ptr, EntryPoints[987]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static + [Slot(987)] + public static extern unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (IntPtr)@params, EntryPoints[987]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glIsObjectBufferATI")] - public static + [Slot(1083)] + public static extern bool IsObjectBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[1083]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glIsObjectBufferATI")] - public static + [Slot(1083)] + public static extern bool IsObjectBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[1083]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_map_object_buffer] [AutoGenerated(Category = "ATI_map_object_buffer", Version = "", EntryPoint = "glMapObjectBufferATI")] - public static + [Slot(1178)] + public static extern IntPtr MapObjectBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[1178]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_map_object_buffer] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_map_object_buffer", Version = "", EntryPoint = "glMapObjectBufferATI")] - public static + [Slot(1178)] + public static extern IntPtr MapObjectBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[1178]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glNewObjectBufferATI")] - public static + [Slot(1397)] + public static extern Int32 NewObjectBuffer(Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((Int32)size, (IntPtr)pointer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage, EntryPoints[1397]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glNewObjectBufferATI")] - public static + [Slot(1397)] + 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 InteropHelper.CallReturn((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage, EntryPoints[1397]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glNewObjectBufferATI")] - public static + [Slot(1397)] + 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 InteropHelper.CallReturn((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage, EntryPoints[1397]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glNewObjectBufferATI")] - public static + [Slot(1397)] + 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 InteropHelper.CallReturn((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage, EntryPoints[1397]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glNewObjectBufferATI")] - public static + [Slot(1397)] + 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 = InteropHelper.CallReturn((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage, EntryPoints[1397]); - 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 + [Slot(1421)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Byte nx, Byte ny, Byte nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz, EntryPoints[1421]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bATI")] - public static + [Slot(1421)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz, EntryPoints[1421]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bvATI")] - public static + [Slot(1422)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[1422]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bvATI")] - public static + [Slot(1422)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[1422]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bvATI")] - public static + [Slot(1422)] + public static extern unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[1422]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bvATI")] - public static + [Slot(1422)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[1422]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bvATI")] - public static + [Slot(1422)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[1422]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bvATI")] - public static + [Slot(1422)] + public static extern unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[1422]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3dATI")] - public static + [Slot(1423)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double nx, Double ny, Double nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)nx, (Double)ny, (Double)nz, EntryPoints[1423]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3dvATI")] - public static + [Slot(1424)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[1424]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3dvATI")] - public static + [Slot(1424)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[1424]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3dvATI")] - public static + [Slot(1424)] + public static extern unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[1424]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3fATI")] - public static + [Slot(1425)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single nx, Single ny, Single nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)nx, (Single)ny, (Single)nz, EntryPoints[1425]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3fvATI")] - public static + [Slot(1426)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[1426]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3fvATI")] - public static + [Slot(1426)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[1426]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3fvATI")] - public static + [Slot(1426)] + public static extern unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[1426]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3iATI")] - public static + [Slot(1427)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)nx, (Int32)ny, (Int32)nz, EntryPoints[1427]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3ivATI")] - public static + [Slot(1428)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[1428]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3ivATI")] - public static + [Slot(1428)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[1428]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3ivATI")] - public static + [Slot(1428)] + public static extern unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[1428]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3sATI")] - public static + [Slot(1429)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)nx, (Int16)ny, (Int16)nz, EntryPoints[1429]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3svATI")] - public static + [Slot(1430)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[1430]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3svATI")] - public static + [Slot(1430)] + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[1430]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3svATI")] - public static + [Slot(1430)] + public static extern unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[1430]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glPassTexCoordATI")] - public static + [Slot(1440)] + public static extern void PassTexCoord(Int32 dst, Int32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle, EntryPoints[1440]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glPassTexCoordATI")] - public static + [Slot(1440)] + public static extern void PassTexCoord(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle, EntryPoints[1440]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_pn_triangles] [AutoGenerated(Category = "ATI_pn_triangles", Version = "", EntryPoint = "glPNTrianglesfATI")] - public static + [Slot(1487)] + public static extern void PNTriangles(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiPnTriangles)pname, (Single)param, EntryPoints[1487]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_pn_triangles] [AutoGenerated(Category = "ATI_pn_triangles", Version = "", EntryPoint = "glPNTrianglesiATI")] - public static + [Slot(1488)] + public static extern void PNTriangles(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiPnTriangles)pname, (Int32)param, EntryPoints[1488]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSampleMapATI")] - public static + [Slot(1794)] + public static extern void SampleMap(Int32 dst, Int32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle, EntryPoints[1794]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSampleMapATI")] - public static + [Slot(1794)] + public static extern void SampleMap(UInt32 dst, UInt32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle, EntryPoints[1794]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSetFragmentShaderConstantATI")] - public static + [Slot(1860)] + public static extern void SetFragmentShaderConstant(Int32 dst, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)dst, (IntPtr)value_ptr, EntryPoints[1860]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSetFragmentShaderConstantATI")] - public static + [Slot(1860)] + public static extern void SetFragmentShaderConstant(Int32 dst, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((UInt32)dst, (IntPtr)value_ptr, EntryPoints[1860]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSetFragmentShaderConstantATI")] - public static + [Slot(1860)] + public static extern unsafe void SetFragmentShaderConstant(Int32 dst, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)dst, (IntPtr)value, EntryPoints[1860]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSetFragmentShaderConstantATI")] - public static + [Slot(1860)] + public static extern void SetFragmentShaderConstant(UInt32 dst, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)dst, (IntPtr)value_ptr, EntryPoints[1860]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSetFragmentShaderConstantATI")] - public static + [Slot(1860)] + public static extern void SetFragmentShaderConstant(UInt32 dst, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((UInt32)dst, (IntPtr)value_ptr, EntryPoints[1860]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSetFragmentShaderConstantATI")] - public static + [Slot(1860)] + public static extern unsafe void SetFragmentShaderConstant(UInt32 dst, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)dst, (IntPtr)value, EntryPoints[1860]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_separate_stencil] /// Set front and/or back function and reference value for stencil testing @@ -38982,18 +25247,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ATI_separate_stencil", Version = "", EntryPoint = "glStencilFuncSeparateATI")] - public static + [Slot(1883)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.StencilFunction)frontfunc, (OpenTK.Graphics.OpenGL.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask, EntryPoints[1883]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_separate_stencil] /// Set front and/or back function and reference value for stencil testing @@ -39020,18 +25278,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_separate_stencil", Version = "", EntryPoint = "glStencilFuncSeparateATI")] - public static + [Slot(1883)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.StencilFunction)frontfunc, (OpenTK.Graphics.OpenGL.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask, EntryPoints[1883]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_separate_stencil] /// Set front and/or back stencil test actions @@ -39057,1519 +25308,704 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ATI_separate_stencil", Version = "", EntryPoint = "glStencilOpSeparateATI")] - public static + [Slot(1888)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiSeparateStencil)face, (OpenTK.Graphics.OpenGL.StencilOp)sfail, (OpenTK.Graphics.OpenGL.StencilOp)dpfail, (OpenTK.Graphics.OpenGL.StencilOp)dppass, EntryPoints[1888]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glTexBumpParameterfvATI")] - public static + [Slot(1918)] + public static extern void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (IntPtr)param_ptr, EntryPoints[1918]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glTexBumpParameterfvATI")] - public static + [Slot(1918)] + public static extern void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, ref Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = ¶m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (IntPtr)param_ptr, EntryPoints[1918]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_envmap_bumpmap] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glTexBumpParameterfvATI")] - public static + [Slot(1918)] + public static extern unsafe void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (IntPtr)param, EntryPoints[1918]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glTexBumpParameterivATI")] - public static + [Slot(1919)] + public static extern void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (IntPtr)param_ptr, EntryPoints[1919]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glTexBumpParameterivATI")] - public static + [Slot(1919)] + public static extern void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, ref Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (IntPtr)param_ptr, EntryPoints[1919]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_envmap_bumpmap] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glTexBumpParameterivATI")] - public static + [Slot(1919)] + public static extern unsafe void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (IntPtr)param, EntryPoints[1919]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_map_object_buffer] [AutoGenerated(Category = "ATI_map_object_buffer", Version = "", EntryPoint = "glUnmapObjectBufferATI")] - public static + [Slot(2201)] + public static extern void UnmapObjectBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, EntryPoints[2201]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_map_object_buffer] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_map_object_buffer", Version = "", EntryPoint = "glUnmapObjectBufferATI")] - public static + [Slot(2201)] + public static extern void UnmapObjectBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, EntryPoints[2201]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static + [Slot(2203)] + public static extern void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve, EntryPoints[2203]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static + [Slot(2203)] + 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 - { - InteropHelper.Call((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve, EntryPoints[2203]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static + [Slot(2203)] + 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 - { - InteropHelper.Call((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve, EntryPoints[2203]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static + [Slot(2203)] + 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 - { - InteropHelper.Call((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve, EntryPoints[2203]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static + [Slot(2203)] + 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 - { - InteropHelper.Call((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve, EntryPoints[2203]); - 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 + [Slot(2203)] + public static extern void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve, EntryPoints[2203]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static + [Slot(2203)] + 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 - { - InteropHelper.Call((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve, EntryPoints[2203]); - } - 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 + [Slot(2203)] + 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 - { - InteropHelper.Call((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve, EntryPoints[2203]); - } - 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 + [Slot(2203)] + 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 - { - InteropHelper.Call((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve, EntryPoints[2203]); - } - 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 + [Slot(2203)] + 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 - { - InteropHelper.Call((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve, EntryPoints[2203]); - 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 + [Slot(2213)] + public static extern void VariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset, EntryPoints[2213]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glVariantArrayObjectATI")] - public static + [Slot(2213)] + public static extern void VariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset, EntryPoints[2213]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [Obsolete("Use VertexAttribPointerType overload instead")] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glVertexAttribArrayObjectATI")] - public static + [Slot(2403)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset, EntryPoints[2403]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glVertexAttribArrayObjectATI")] - public static + [Slot(2403)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset, EntryPoints[2403]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2403)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset, EntryPoints[2403]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glVertexAttribArrayObjectATI")] - public static + [Slot(2403)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset, EntryPoints[2403]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexBlendEnvfATI")] - public static + [Slot(2522)] + public static extern void VertexBlendEnv(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)pname, (Single)param, EntryPoints[2522]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexBlendEnviATI")] - public static + [Slot(2523)] + public static extern void VertexBlendEnv(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)pname, (Int32)param, EntryPoints[2523]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1dATI")] - public static + [Slot(2535)] + public static extern void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, EntryPoints[2535]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1dvATI")] - public static + [Slot(2536)] + public static extern unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2536]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1fATI")] - public static + [Slot(2537)] + public static extern void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, EntryPoints[2537]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1fvATI")] - public static + [Slot(2538)] + public static extern unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2538]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1iATI")] - public static + [Slot(2539)] + public static extern void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, EntryPoints[2539]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1ivATI")] - public static + [Slot(2540)] + public static extern unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2540]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1sATI")] - public static + [Slot(2541)] + public static extern void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, EntryPoints[2541]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1svATI")] - public static + [Slot(2542)] + public static extern unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2542]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2dATI")] - public static + [Slot(2543)] + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y, EntryPoints[2543]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2dvATI")] - public static + [Slot(2544)] + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2544]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2dvATI")] - public static + [Slot(2544)] + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2544]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2dvATI")] - public static + [Slot(2544)] + public static extern unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2544]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2fATI")] - public static + [Slot(2545)] + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y, EntryPoints[2545]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2fvATI")] - public static + [Slot(2546)] + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2546]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2fvATI")] - public static + [Slot(2546)] + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2546]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2fvATI")] - public static + [Slot(2546)] + public static extern unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2546]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2iATI")] - public static + [Slot(2547)] + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y, EntryPoints[2547]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2ivATI")] - public static + [Slot(2548)] + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2548]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2ivATI")] - public static + [Slot(2548)] + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2548]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2ivATI")] - public static + [Slot(2548)] + public static extern unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2548]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2sATI")] - public static + [Slot(2549)] + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y, EntryPoints[2549]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2svATI")] - public static + [Slot(2550)] + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2550]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2svATI")] - public static + [Slot(2550)] + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2550]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2svATI")] - public static + [Slot(2550)] + public static extern unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2550]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3dATI")] - public static + [Slot(2551)] + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z, EntryPoints[2551]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3dvATI")] - public static + [Slot(2552)] + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2552]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3dvATI")] - public static + [Slot(2552)] + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2552]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3dvATI")] - public static + [Slot(2552)] + public static extern unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2552]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3fATI")] - public static + [Slot(2553)] + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z, EntryPoints[2553]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3fvATI")] - public static + [Slot(2554)] + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2554]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3fvATI")] - public static + [Slot(2554)] + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2554]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3fvATI")] - public static + [Slot(2554)] + public static extern unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2554]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3iATI")] - public static + [Slot(2555)] + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z, EntryPoints[2555]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3ivATI")] - public static + [Slot(2556)] + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2556]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3ivATI")] - public static + [Slot(2556)] + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2556]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3ivATI")] - public static + [Slot(2556)] + public static extern unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2556]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3sATI")] - public static + [Slot(2557)] + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z, EntryPoints[2557]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3svATI")] - public static + [Slot(2558)] + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2558]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3svATI")] - public static + [Slot(2558)] + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2558]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3svATI")] - public static + [Slot(2558)] + public static extern unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2558]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4dATI")] - public static + [Slot(2559)] + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2559]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4dvATI")] - public static + [Slot(2560)] + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2560]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4dvATI")] - public static + [Slot(2560)] + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2560]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4dvATI")] - public static + [Slot(2560)] + public static extern unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2560]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4fATI")] - public static + [Slot(2561)] + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[2561]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4fvATI")] - public static + [Slot(2562)] + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2562]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4fvATI")] - public static + [Slot(2562)] + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2562]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4fvATI")] - public static + [Slot(2562)] + public static extern unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2562]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4iATI")] - public static + [Slot(2563)] + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[2563]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4ivATI")] - public static + [Slot(2564)] + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2564]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4ivATI")] - public static + [Slot(2564)] + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2564]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4ivATI")] - public static + [Slot(2564)] + public static extern unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2564]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4sATI")] - public static + [Slot(2565)] + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w, EntryPoints[2565]); - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4svATI")] - public static + [Slot(2566)] + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4svATI")] - public static + [Slot(2566)] + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords_ptr, EntryPoints[2566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4svATI")] - public static + [Slot(2566)] + public static extern unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (IntPtr)coords, EntryPoints[2566]); - #if DEBUG - } - #endif - } + ; + } @@ -40587,18 +26023,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glAccum")] - public static + [Slot(0)] + public static extern void Accum(OpenTK.Graphics.OpenGL.AccumOp op, Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AccumOp)op, (Single)value, EntryPoints[0]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Set the active program object for a program pipeline object @@ -40614,18 +26043,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glActiveShaderProgram")] - public static + [Slot(3)] + public static extern void ActiveShaderProgram(Int32 pipeline, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)program, EntryPoints[3]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Set the active program object for a program pipeline object @@ -40642,18 +26064,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glActiveShaderProgram")] - public static + [Slot(3)] + public static extern void ActiveShaderProgram(UInt32 pipeline, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)program, EntryPoints[3]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Select active texture unit @@ -40664,18 +26079,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glActiveTexture")] - public static + [Slot(6)] + public static extern void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, EntryPoints[6]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the alpha test function @@ -40691,18 +26099,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glAlphaFunc")] - public static + [Slot(12)] + public static extern void AlphaFunc(OpenTK.Graphics.OpenGL.AlphaFunction func, Single @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AlphaFunction)func, (Single)@ref, EntryPoints[12]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Determine if textures are loaded in texture memory @@ -40723,25 +26124,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static + [Slot(16)] + public static extern 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 InteropHelper.CallReturn((Int32)n, (IntPtr)textures_ptr, (IntPtr)residences_ptr, EntryPoints[16]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Determine if textures are loaded in texture memory @@ -40762,27 +26149,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static + [Slot(16)] + public static extern 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 = InteropHelper.CallReturn((Int32)n, (IntPtr)textures_ptr, (IntPtr)residences_ptr, EntryPoints[16]); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Determine if textures are loaded in texture memory @@ -40804,18 +26175,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static + [Slot(16)] + public static extern unsafe bool AreTexturesResident(Int32 n, Int32* textures, [OutAttribute] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((Int32)n, (IntPtr)textures, (IntPtr)residences, EntryPoints[16]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Determine if textures are loaded in texture memory @@ -40837,25 +26201,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static + [Slot(16)] + public static extern 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 InteropHelper.CallReturn((Int32)n, (IntPtr)textures_ptr, (IntPtr)residences_ptr, EntryPoints[16]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Determine if textures are loaded in texture memory @@ -40877,27 +26227,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static + [Slot(16)] + public static extern 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 = InteropHelper.CallReturn((Int32)n, (IntPtr)textures_ptr, (IntPtr)residences_ptr, EntryPoints[16]); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Determine if textures are loaded in texture memory @@ -40919,18 +26253,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static + [Slot(16)] + public static extern unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((Int32)n, (IntPtr)textures, (IntPtr)residences, EntryPoints[16]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Render a vertex using the specified vertex array element @@ -40941,18 +26268,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glArrayElement")] - public static + [Slot(18)] + public static extern void ArrayElement(Int32 i) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)i, EntryPoints[18]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Attaches a shader object to a program object @@ -40968,18 +26288,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static + [Slot(23)] + public static extern void AttachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[23]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Attaches a shader object to a program object @@ -40996,18 +26309,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static + [Slot(23)] + public static extern void AttachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[23]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Delimit the vertices of a primitive or a group of like primitives @@ -41019,19 +26325,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBegin")] - public static + [Slot(24)] + public static extern void Begin(OpenTK.Graphics.OpenGL.BeginMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - GraphicsContext.CurrentContext.ErrorChecking = false; - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, EntryPoints[24]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Delimit the vertices of a primitive or a group of like primitives @@ -41042,19 +26340,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBegin")] - public static + [Slot(24)] + public static extern void Begin(OpenTK.Graphics.OpenGL.PrimitiveType mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - GraphicsContext.CurrentContext.ErrorChecking = false; - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, EntryPoints[24]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Start conditional rendering @@ -41070,18 +26360,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginConditionalRender")] - public static + [Slot(25)] + public static extern void BeginConditionalRender(Int32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ConditionalRenderType)mode, EntryPoints[25]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Start conditional rendering @@ -41098,18 +26381,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginConditionalRender")] - public static + [Slot(25)] + public static extern void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ConditionalRenderType)mode, EntryPoints[25]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delimit the boundaries of a query object @@ -41125,18 +26401,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBeginQuery")] - public static + [Slot(31)] + public static extern void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)id, EntryPoints[31]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delimit the boundaries of a query object @@ -41153,18 +26422,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBeginQuery")] - public static + [Slot(31)] + public static extern void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)id, EntryPoints[31]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Delimit the boundaries of a query object on an indexed target @@ -41185,18 +26447,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glBeginQueryIndexed")] - public static + [Slot(33)] + public static extern void BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (UInt32)id, EntryPoints[33]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Delimit the boundaries of a query object on an indexed target @@ -41218,18 +26473,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glBeginQueryIndexed")] - public static + [Slot(33)] + public static extern void BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (UInt32)id, EntryPoints[33]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Start transform feedback operation @@ -41241,18 +26489,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use TransformFeedbackPrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] - public static + [Slot(34)] + public static extern void BeginTransformFeedback(OpenTK.Graphics.OpenGL.BeginFeedbackMode primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TransformFeedbackPrimitiveType)primitiveMode, EntryPoints[34]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Start transform feedback operation @@ -41263,18 +26504,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] - public static + [Slot(34)] + public static extern void BeginTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackPrimitiveType primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TransformFeedbackPrimitiveType)primitiveMode, EntryPoints[34]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Associates a generic vertex attribute index with a named attribute variable @@ -41295,18 +26529,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static + [Slot(39)] + public static extern void BindAttribLocation(Int32 program, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (String)name, EntryPoints[39]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Associates a generic vertex attribute index with a named attribute variable @@ -41328,18 +26555,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static + [Slot(39)] + public static extern void BindAttribLocation(UInt32 program, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (String)name, EntryPoints[39]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Bind a named buffer object @@ -41355,18 +26575,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBindBuffer")] - public static + [Slot(41)] + public static extern void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)buffer, EntryPoints[41]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Bind a named buffer object @@ -41383,18 +26596,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBindBuffer")] - public static + [Slot(41)] + public static extern void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)buffer, EntryPoints[41]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a buffer object to an indexed buffer target @@ -41415,18 +26621,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static + [Slot(43)] + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, EntryPoints[43]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a buffer object to an indexed buffer target @@ -41448,18 +26647,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static + [Slot(43)] + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, EntryPoints[43]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a buffer object to an indexed buffer target @@ -41481,18 +26673,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BufferRangeTarget overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static + [Slot(43)] + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, EntryPoints[43]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a buffer object to an indexed buffer target @@ -41515,18 +26700,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use BufferRangeTarget overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static + [Slot(43)] + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, EntryPoints[43]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a range within a buffer object to an indexed buffer target @@ -41557,18 +26735,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static + [Slot(48)] + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[48]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a range within a buffer object to an indexed buffer target @@ -41600,18 +26771,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static + [Slot(48)] + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[48]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a range within a buffer object to an indexed buffer target @@ -41643,18 +26807,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BufferRangeTarget overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static + [Slot(48)] + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[48]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a range within a buffer object to an indexed buffer target @@ -41687,18 +26844,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use BufferRangeTarget overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static + [Slot(48)] + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[48]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -41724,24 +26874,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static + [Slot(51)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, EntryPoints[51]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -41767,24 +26904,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static + [Slot(51)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, EntryPoints[51]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -41811,18 +26935,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static + [Slot(51)] + public static extern unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 first, Int32 count, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers, EntryPoints[51]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -41849,24 +26966,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static + [Slot(51)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, EntryPoints[51]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -41893,24 +26997,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static + [Slot(51)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, EntryPoints[51]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -41937,18 +27028,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static + [Slot(51)] + public static extern unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers, EntryPoints[51]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -41974,26 +27058,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static + [Slot(52)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)sizes_ptr, EntryPoints[52]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -42019,26 +27088,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static + [Slot(52)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)sizes_ptr, EntryPoints[52]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -42065,18 +27119,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static + [Slot(52)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers, (IntPtr)offsets, (IntPtr)sizes, EntryPoints[52]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -42103,26 +27150,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static + [Slot(52)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)sizes_ptr, EntryPoints[52]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -42149,26 +27181,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static + [Slot(52)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)sizes_ptr, EntryPoints[52]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -42195,18 +27212,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static + [Slot(52)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers, (IntPtr)offsets, (IntPtr)sizes, EntryPoints[52]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a user-defined varying out variable to a fragment shader color number @@ -42227,18 +27237,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindFragDataLocation")] - public static + [Slot(53)] + public static extern void BindFragDataLocation(Int32 program, Int32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)color, (String)name, EntryPoints[53]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a user-defined varying out variable to a fragment shader color number @@ -42260,18 +27263,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindFragDataLocation")] - public static + [Slot(53)] + public static extern void BindFragDataLocation(UInt32 program, UInt32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)color, (String)name, EntryPoints[53]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -42297,18 +27293,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glBindFragDataLocationIndexed")] - public static + [Slot(55)] + public static extern void BindFragDataLocationIndexed(Int32 program, Int32 colorNumber, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name, EntryPoints[55]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -42335,18 +27324,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glBindFragDataLocationIndexed")] - public static + [Slot(55)] + public static extern void BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name, EntryPoints[55]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a framebuffer to a framebuffer target @@ -42362,18 +27344,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindFramebuffer")] - public static + [Slot(57)] + public static extern void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[57]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a framebuffer to a framebuffer target @@ -42390,18 +27365,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindFramebuffer")] - public static + [Slot(57)] + public static extern void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[57]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_image_load_store|VERSION_4_2] /// Bind a level of a texture to an image unit @@ -42442,18 +27410,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_image_load_store|VERSION_4_2", Version = "4.2", EntryPoint = "glBindImageTexture")] - public static + [Slot(59)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.TextureAccess)access, (OpenTK.Graphics.OpenGL.SizedInternalFormat)format, EntryPoints[59]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_image_load_store|VERSION_4_2] /// Bind a level of a texture to an image unit @@ -42495,18 +27456,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_image_load_store|VERSION_4_2", Version = "4.2", EntryPoint = "glBindImageTexture")] - public static + [Slot(59)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.TextureAccess)access, (OpenTK.Graphics.OpenGL.SizedInternalFormat)format, EntryPoints[59]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -42527,24 +27481,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static + [Slot(61)] + public static extern void BindImageTextures(Int32 first, Int32 count, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[61]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -42565,24 +27506,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static + [Slot(61)] + public static extern void BindImageTextures(Int32 first, Int32 count, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[61]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -42604,18 +27532,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static + [Slot(61)] + public static extern unsafe void BindImageTextures(Int32 first, Int32 count, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures, EntryPoints[61]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -42637,24 +27558,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static + [Slot(61)] + public static extern void BindImageTextures(UInt32 first, Int32 count, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[61]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -42676,24 +27584,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static + [Slot(61)] + public static extern void BindImageTextures(UInt32 first, Int32 count, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[61]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -42715,18 +27610,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static + [Slot(61)] + public static extern unsafe void BindImageTextures(UInt32 first, Int32 count, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures, EntryPoints[61]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind a program pipeline to the current context @@ -42737,18 +27625,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glBindProgramPipeline")] - public static + [Slot(68)] + public static extern void BindProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[68]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind a program pipeline to the current context @@ -42760,18 +27641,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glBindProgramPipeline")] - public static + [Slot(68)] + public static extern void BindProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[68]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a renderbuffer to a renderbuffer target @@ -42787,18 +27661,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindRenderbuffer")] - public static + [Slot(70)] + public static extern void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[70]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a renderbuffer to a renderbuffer target @@ -42815,18 +27682,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindRenderbuffer")] - public static + [Slot(70)] + public static extern void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[70]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Bind a named sampler to a texturing target @@ -42842,18 +27702,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glBindSampler")] - public static + [Slot(72)] + public static extern void BindSampler(Int32 unit, Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)unit, (UInt32)sampler, EntryPoints[72]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Bind a named sampler to a texturing target @@ -42870,18 +27723,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glBindSampler")] - public static + [Slot(72)] + public static extern void BindSampler(UInt32 unit, UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)unit, (UInt32)sampler, EntryPoints[72]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -42902,24 +27748,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static + [Slot(73)] + public static extern void BindSamplers(Int32 first, Int32 count, Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)samplers_ptr, EntryPoints[73]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -42940,24 +27773,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static + [Slot(73)] + public static extern void BindSamplers(Int32 first, Int32 count, ref Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)samplers_ptr, EntryPoints[73]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -42979,18 +27799,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static + [Slot(73)] + public static extern unsafe void BindSamplers(Int32 first, Int32 count, Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)samplers, EntryPoints[73]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -43012,24 +27825,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static + [Slot(73)] + public static extern void BindSamplers(UInt32 first, Int32 count, UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)samplers_ptr, EntryPoints[73]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -43051,24 +27851,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static + [Slot(73)] + public static extern void BindSamplers(UInt32 first, Int32 count, ref UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)samplers_ptr, EntryPoints[73]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -43090,18 +27877,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static + [Slot(73)] + public static extern unsafe void BindSamplers(UInt32 first, Int32 count, UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)samplers, EntryPoints[73]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Bind a named texture to a texturing target @@ -43117,18 +27897,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glBindTexture")] - public static + [Slot(75)] + public static extern void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture, EntryPoints[75]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Bind a named texture to a texturing target @@ -43145,18 +27918,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glBindTexture")] - public static + [Slot(75)] + public static extern void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture, EntryPoints[75]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -43177,24 +27943,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static + [Slot(77)] + public static extern void BindTextures(Int32 first, Int32 count, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[77]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -43215,24 +27968,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static + [Slot(77)] + public static extern void BindTextures(Int32 first, Int32 count, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[77]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -43254,18 +27994,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static + [Slot(77)] + public static extern unsafe void BindTextures(Int32 first, Int32 count, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures, EntryPoints[77]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -43287,24 +28020,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static + [Slot(77)] + public static extern void BindTextures(UInt32 first, Int32 count, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[77]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -43326,24 +28046,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static + [Slot(77)] + public static extern void BindTextures(UInt32 first, Int32 count, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[77]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -43365,18 +28072,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static + [Slot(77)] + public static extern unsafe void BindTextures(UInt32 first, Int32 count, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures, EntryPoints[77]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Bind a transform feedback object @@ -43392,18 +28092,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glBindTransformFeedback")] - public static + [Slot(79)] + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TransformFeedbackTarget)target, (UInt32)id, EntryPoints[79]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Bind a transform feedback object @@ -43420,18 +28113,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glBindTransformFeedback")] - public static + [Slot(79)] + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TransformFeedbackTarget)target, (UInt32)id, EntryPoints[79]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Bind a vertex array object @@ -43442,18 +28128,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static + [Slot(81)] + public static extern void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[81]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Bind a vertex array object @@ -43465,18 +28144,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static + [Slot(81)] + public static extern void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[81]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Bind a buffer to a vertex buffer bind point @@ -43502,18 +28174,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glBindVertexBuffer")] - public static + [Slot(83)] + public static extern void BindVertexBuffer(Int32 bindingindex, Int32 buffer, IntPtr offset, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride, EntryPoints[83]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Bind a buffer to a vertex buffer bind point @@ -43540,18 +28205,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glBindVertexBuffer")] - public static + [Slot(83)] + public static extern void BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride, EntryPoints[83]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -43582,26 +28240,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static + [Slot(84)] + public static extern 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) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)strides_ptr, EntryPoints[84]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -43632,26 +28275,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static + [Slot(84)] + public static extern 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) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)strides_ptr, EntryPoints[84]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -43683,18 +28311,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static + [Slot(84)] + public static extern unsafe void BindVertexBuffers(Int32 first, Int32 count, Int32* buffers, IntPtr* offsets, Int32* strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)buffers, (IntPtr)offsets, (IntPtr)strides, EntryPoints[84]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -43726,26 +28347,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static + [Slot(84)] + public static extern 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) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)strides_ptr, EntryPoints[84]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -43777,26 +28383,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static + [Slot(84)] + public static extern 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) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)strides_ptr, EntryPoints[84]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -43828,18 +28419,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static + [Slot(84)] + public static extern unsafe void BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)buffers, (IntPtr)offsets, (IntPtr)strides, EntryPoints[84]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a bitmap @@ -43865,24 +28449,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBitmap")] - public static + [Slot(99)] + public static extern 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) - { - InteropHelper.Call((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (IntPtr)bitmap_ptr, EntryPoints[99]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a bitmap @@ -43908,24 +28479,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBitmap")] - public static + [Slot(99)] + public static extern 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) - { - InteropHelper.Call((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (IntPtr)bitmap_ptr, EntryPoints[99]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a bitmap @@ -43952,18 +28510,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBitmap")] - public static + [Slot(99)] + public static extern 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 - InteropHelper.Call((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (IntPtr)bitmap, EntryPoints[99]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4 and ARB_imaging|VERSION_1_4] /// Set the blend color @@ -43974,18 +28525,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging|VERSION_1_4", Version = "1.4", EntryPoint = "glBlendColor")] - public static + [Slot(102)] + public static extern void BlendColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, (Single)alpha, EntryPoints[102]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4 and ARB_imaging|VERSION_1_4] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -44002,18 +28546,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlendEquationMode overload instead")] [AutoGenerated(Category = "ARB_imaging|VERSION_1_4", Version = "1.4", EntryPoint = "glBlendEquation")] - public static + [Slot(105)] + public static extern void BlendEquation(OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BlendEquationMode)mode, EntryPoints[105]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4 and ARB_imaging|VERSION_1_4] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -44029,18 +28566,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging|VERSION_1_4", Version = "1.4", EntryPoint = "glBlendEquation")] - public static + [Slot(105)] + public static extern void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BlendEquationMode)mode, EntryPoints[105]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -44057,18 +28587,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlendEquationMode overload instead")] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationi")] - public static + [Slot(107)] + public static extern void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode, EntryPoints[107]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -44084,18 +28607,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationi")] - public static + [Slot(107)] + public static extern void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode, EntryPoints[107]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -44113,18 +28629,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use BlendEquationMode overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationi")] - public static + [Slot(107)] + public static extern void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode, EntryPoints[107]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -44141,18 +28650,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationi")] - public static + [Slot(107)] + public static extern void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode, EntryPoints[107]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Set the RGB blend equation and the alpha blend equation separately @@ -44173,18 +28675,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] - public static + [Slot(110)] + public static extern void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeAlpha, EntryPoints[110]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Set the RGB blend equation and the alpha blend equation separately @@ -44205,18 +28700,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationSeparatei")] - public static + [Slot(112)] + public static extern void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeAlpha, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Set the RGB blend equation and the alpha blend equation separately @@ -44238,18 +28726,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationSeparatei")] - public static + [Slot(112)] + public static extern void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeAlpha, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify pixel arithmetic @@ -44270,18 +28751,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBlendFunc")] - public static + [Slot(115)] + public static extern void BlendFunc(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactor, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactor, EntryPoints[115]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify pixel arithmetic @@ -44303,18 +28777,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlendingFactorSrc overload instead")] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFunci")] - public static + [Slot(116)] + public static extern void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dst, EntryPoints[116]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify pixel arithmetic @@ -44335,18 +28802,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFunci")] - public static + [Slot(116)] + public static extern void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc src, OpenTK.Graphics.OpenGL.BlendingFactorDest dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dst, EntryPoints[116]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify pixel arithmetic @@ -44369,18 +28829,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use BlendingFactorSrc overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFunci")] - public static + [Slot(116)] + public static extern void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dst, EntryPoints[116]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify pixel arithmetic @@ -44402,18 +28855,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFunci")] - public static + [Slot(116)] + public static extern void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc src, OpenTK.Graphics.OpenGL.BlendingFactorDest dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dst, EntryPoints[116]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify pixel arithmetic for RGB and alpha components separately @@ -44445,18 +28891,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlendingFactorSrc overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glBlendFuncSeparate")] - public static + [Slot(119)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorAlpha, EntryPoints[119]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify pixel arithmetic for RGB and alpha components separately @@ -44487,18 +28926,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glBlendFuncSeparate")] - public static + [Slot(119)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorAlpha, EntryPoints[119]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -44530,18 +28962,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlendingFactorSrc overload instead")] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFuncSeparatei")] - public static + [Slot(121)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstAlpha, EntryPoints[121]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -44572,18 +28997,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFuncSeparatei")] - public static + [Slot(121)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstAlpha, EntryPoints[121]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -44616,18 +29034,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use BlendingFactorSrc overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFuncSeparatei")] - public static + [Slot(121)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstAlpha, EntryPoints[121]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -44659,18 +29070,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFuncSeparatei")] - public static + [Slot(121)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstAlpha, EntryPoints[121]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -44696,18 +29100,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBlitFramebuffer")] - public static + [Slot(126)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[126]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -44733,18 +29130,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static + [Slot(129)] + public static extern void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferUsageHint)usage, EntryPoints[129]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -44770,27 +29160,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static + [Slot(129)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageHint)usage, EntryPoints[129]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -44816,27 +29191,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static + [Slot(129)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageHint)usage, EntryPoints[129]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -44862,27 +29222,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static + [Slot(129)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageHint)usage, EntryPoints[129]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -44908,28 +29253,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static + [Slot(129)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageHint)usage, EntryPoints[129]); - 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 @@ -44955,18 +29284,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static + [Slot(132)] + public static extern void BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferStorageFlags)flags, EntryPoints[132]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_buffer_storage|VERSION_4_4] /// Creates and initializes a buffer object's immutable data store @@ -44992,27 +29314,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static + [Slot(132)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferStorageFlags)flags, EntryPoints[132]); - } - 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 @@ -45038,27 +29345,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static + [Slot(132)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferStorageFlags)flags, EntryPoints[132]); - } - 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 @@ -45084,27 +29376,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static + [Slot(132)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferStorageFlags)flags, EntryPoints[132]); - } - 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 @@ -45130,28 +29407,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static + [Slot(132)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferStorageFlags)flags, EntryPoints[132]); - 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 @@ -45177,18 +29438,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static + [Slot(133)] + public static extern void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[133]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -45214,27 +29468,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static + [Slot(133)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[133]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -45260,27 +29499,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static + [Slot(133)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[133]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -45306,27 +29530,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static + [Slot(133)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[133]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -45352,28 +29561,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static + [Slot(133)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[133]); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Execute a display list @@ -45384,18 +29577,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallList")] - public static + [Slot(135)] + public static extern void CallList(Int32 list) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, EntryPoints[135]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Execute a display list @@ -45407,18 +29593,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallList")] - public static + [Slot(135)] + public static extern void CallList(UInt32 list) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, EntryPoints[135]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Execute a list of display lists @@ -45439,18 +29618,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallLists")] - public static + [Slot(136)] + public static extern void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, IntPtr lists) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists, EntryPoints[136]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Execute a list of display lists @@ -45471,27 +29643,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallLists")] - public static + [Slot(136)] + 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 - { - InteropHelper.Call((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject(), EntryPoints[136]); - } - finally - { - lists_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Execute a list of display lists @@ -45512,27 +29669,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallLists")] - public static + [Slot(136)] + 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 - { - InteropHelper.Call((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject(), EntryPoints[136]); - } - finally - { - lists_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Execute a list of display lists @@ -45553,27 +29695,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallLists")] - public static + [Slot(136)] + 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 - { - InteropHelper.Call((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject(), EntryPoints[136]); - } - finally - { - lists_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Execute a list of display lists @@ -45594,28 +29721,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallLists")] - public static + [Slot(136)] + 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 - { - InteropHelper.Call((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject(), EntryPoints[136]); - 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 @@ -45626,18 +29737,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glCheckFramebufferStatus")] - public static + [Slot(137)] + public static extern OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.FramebufferTarget)target, EntryPoints[137]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify whether data read via glReadPixels should be clamped @@ -45653,18 +29757,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClampColor")] - public static + [Slot(140)] + public static extern void ClampColor(OpenTK.Graphics.OpenGL.ClampColorTarget target, OpenTK.Graphics.OpenGL.ClampColorMode clamp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClampColorTarget)target, (OpenTK.Graphics.OpenGL.ClampColorMode)clamp, EntryPoints[140]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Clear buffers to preset values @@ -45675,18 +29772,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClear")] - public static + [Slot(142)] + public static extern void Clear(OpenTK.Graphics.OpenGL.ClearBufferMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClearBufferMask)mask, EntryPoints[142]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify clear values for the accumulation buffer @@ -45697,18 +29787,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearAccum")] - public static + [Slot(143)] + public static extern void ClearAccum(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, (Single)alpha, EntryPoints[143]); - #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 @@ -45744,18 +29827,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static + [Slot(145)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data, EntryPoints[145]); - #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 @@ -45791,27 +29867,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static + [Slot(145)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[145]); - } - 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 @@ -45847,27 +29908,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static + [Slot(145)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[145]); - } - 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 @@ -45903,27 +29949,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static + [Slot(145)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[145]); - } - 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 @@ -45959,28 +29990,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static + [Slot(145)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[145]); - data = (T4)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -46012,18 +30027,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ClearBufferCombined overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfi")] - public static + [Slot(146)] + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil, EntryPoints[146]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -46054,18 +30062,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfi")] - public static + [Slot(146)] + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil, EntryPoints[146]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -46096,24 +30097,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static + [Slot(147)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[147]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -46144,24 +30132,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static + [Slot(147)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[147]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -46193,18 +30168,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static + [Slot(147)] + public static extern unsafe void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value, EntryPoints[147]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -46235,24 +30203,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static + [Slot(148)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[148]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -46283,24 +30238,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static + [Slot(148)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[148]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -46332,18 +30274,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static + [Slot(148)] + public static extern unsafe void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value, EntryPoints[148]); - #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 @@ -46384,18 +30319,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static + [Slot(149)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[149]); - #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 @@ -46436,27 +30364,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static + [Slot(149)] + 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 - { - InteropHelper.Call((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(), EntryPoints[149]); - } - 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 @@ -46497,27 +30410,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static + [Slot(149)] + 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 - { - InteropHelper.Call((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(), EntryPoints[149]); - } - 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 @@ -46558,27 +30456,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static + [Slot(149)] + 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 - { - InteropHelper.Call((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(), EntryPoints[149]); - } - 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 @@ -46619,28 +30502,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static + [Slot(149)] + 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 - { - InteropHelper.Call((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(), EntryPoints[149]); - data = (T6)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -46672,24 +30539,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static + [Slot(150)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[150]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -46721,24 +30575,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static + [Slot(150)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[150]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -46770,18 +30611,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static + [Slot(150)] + public static extern unsafe void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value, EntryPoints[150]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify clear values for the color buffers @@ -46792,18 +30626,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearColor")] - public static + [Slot(151)] + public static extern void ClearColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, (Single)alpha, EntryPoints[151]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the clear value for the depth buffer @@ -46814,18 +30641,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearDepth")] - public static + [Slot(155)] + public static extern void ClearDepth(Double depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)depth, EntryPoints[155]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Specify the clear value for the depth buffer @@ -46836,18 +30656,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glClearDepthf")] - public static + [Slot(157)] + public static extern void ClearDepth(Single d) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)d, EntryPoints[157]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the clear value for the color index buffers @@ -46858,18 +30671,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearIndex")] - public static + [Slot(160)] + public static extern void ClearIndex(Single c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)c, EntryPoints[160]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the clear value for the stencil buffer @@ -46880,18 +30686,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearStencil")] - public static + [Slot(163)] + public static extern void ClearStencil(Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)s, EntryPoints[163]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -46922,18 +30721,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(164)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data, EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -46964,27 +30756,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(164)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[164]); - } - 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 @@ -47015,27 +30792,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(164)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[164]); - } - 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 @@ -47066,27 +30828,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(164)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[164]); - } - 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 @@ -47117,28 +30864,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(164)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[164]); - 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 @@ -47170,18 +30901,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(164)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data, EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -47213,27 +30937,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(164)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[164]); - } - 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 @@ -47265,27 +30974,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(164)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[164]); - } - 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 @@ -47317,27 +31011,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(164)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[164]); - } - 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 @@ -47369,28 +31048,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(164)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[164]); - 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 @@ -47451,18 +31114,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(165)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[165]); - #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 @@ -47523,27 +31179,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((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(), EntryPoints[165]); - } - 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 @@ -47604,27 +31245,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((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(), EntryPoints[165]); - } - 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 @@ -47685,27 +31311,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((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(), EntryPoints[165]); - } - 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 @@ -47766,28 +31377,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((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(), EntryPoints[165]); - 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 @@ -47849,18 +31444,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(165)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[165]); - #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 @@ -47922,27 +31510,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((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(), EntryPoints[165]); - } - 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 @@ -48004,27 +31577,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((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(), EntryPoints[165]); - } - 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 @@ -48086,27 +31644,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((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(), EntryPoints[165]); - } - 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 @@ -48168,28 +31711,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(165)] + 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 - { - InteropHelper.Call((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(), EntryPoints[165]); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Select active texture unit @@ -48200,18 +31727,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glClientActiveTexture")] - public static + [Slot(166)] + public static extern void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, EntryPoints[166]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Block and wait for a sync object to become signaled @@ -48232,18 +31752,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glClientWaitSync")] - public static + [Slot(170)] + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.ClientWaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[170]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Block and wait for a sync object to become signaled @@ -48265,18 +31778,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glClientWaitSync")] - public static + [Slot(170)] + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.ClientWaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[170]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Block and wait for a sync object to become signaled @@ -48298,18 +31804,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ClientWaitSyncFlags overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glClientWaitSync")] - public static + [Slot(170)] + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[170]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Block and wait for a sync object to become signaled @@ -48332,18 +31831,11 @@ 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 + [Slot(170)] + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, Int32 flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[170]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Block and wait for a sync object to become signaled @@ -48366,18 +31858,11 @@ 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 + [Slot(170)] + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[170]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a plane against which all geometry is clipped @@ -48393,24 +31878,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClipPlane")] - public static + [Slot(171)] + public static extern void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = equation) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (IntPtr)equation_ptr, EntryPoints[171]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a plane against which all geometry is clipped @@ -48426,24 +31898,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClipPlane")] - public static + [Slot(171)] + public static extern void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, ref Double equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = &equation) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (IntPtr)equation_ptr, EntryPoints[171]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a plane against which all geometry is clipped @@ -48460,18 +31919,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClipPlane")] - public static + [Slot(171)] + public static extern unsafe void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (IntPtr)equation, EntryPoints[171]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48488,18 +31940,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3b")] - public static + [Slot(174)] + public static extern void Color3(SByte red, SByte green, SByte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)red, (SByte)green, (SByte)blue, EntryPoints[174]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48516,24 +31961,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3bv")] - public static + [Slot(175)] + public static extern void Color3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[175]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48550,24 +31982,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3bv")] - public static + [Slot(175)] + public static extern void Color3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[175]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48584,18 +32003,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3bv")] - public static + [Slot(175)] + public static extern unsafe void Color3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[175]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48611,18 +32023,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3d")] - public static + [Slot(176)] + public static extern void Color3(Double red, Double green, Double blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)red, (Double)green, (Double)blue, EntryPoints[176]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48638,24 +32043,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3dv")] - public static + [Slot(177)] + public static extern void Color3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[177]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48671,24 +32063,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3dv")] - public static + [Slot(177)] + public static extern void Color3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[177]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48705,18 +32084,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3dv")] - public static + [Slot(177)] + public static extern unsafe void Color3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[177]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48732,18 +32104,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3f")] - public static + [Slot(178)] + public static extern void Color3(Single red, Single green, Single blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, EntryPoints[178]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48759,24 +32124,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3fv")] - public static + [Slot(179)] + public static extern void Color3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[179]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48792,24 +32144,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3fv")] - public static + [Slot(179)] + public static extern void Color3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[179]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48826,18 +32165,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3fv")] - public static + [Slot(179)] + public static extern unsafe void Color3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[179]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48853,18 +32185,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3i")] - public static + [Slot(184)] + public static extern void Color3(Int32 red, Int32 green, Int32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)red, (Int32)green, (Int32)blue, EntryPoints[184]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48880,24 +32205,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3iv")] - public static + [Slot(185)] + public static extern void Color3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48913,24 +32225,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3iv")] - public static + [Slot(185)] + public static extern void Color3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48947,18 +32246,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3iv")] - public static + [Slot(185)] + public static extern unsafe void Color3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[185]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48974,18 +32266,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3s")] - public static + [Slot(186)] + public static extern void Color3(Int16 red, Int16 green, Int16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)red, (Int16)green, (Int16)blue, EntryPoints[186]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49001,24 +32286,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3sv")] - public static + [Slot(187)] + public static extern void Color3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[187]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49034,24 +32306,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3sv")] - public static + [Slot(187)] + public static extern void Color3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[187]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49068,18 +32327,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3sv")] - public static + [Slot(187)] + public static extern unsafe void Color3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[187]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49095,18 +32347,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3ub")] - public static + [Slot(188)] + public static extern void Color3(Byte red, Byte green, Byte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Byte)red, (Byte)green, (Byte)blue, EntryPoints[188]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49122,24 +32367,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3ubv")] - public static + [Slot(189)] + public static extern void Color3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[189]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49155,24 +32387,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3ubv")] - public static + [Slot(189)] + public static extern void Color3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[189]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49189,18 +32408,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3ubv")] - public static + [Slot(189)] + public static extern unsafe void Color3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[189]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49217,18 +32429,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3ui")] - public static + [Slot(190)] + public static extern void Color3(UInt32 red, UInt32 green, UInt32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)red, (UInt32)green, (UInt32)blue, EntryPoints[190]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49245,24 +32450,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3uiv")] - public static + [Slot(191)] + public static extern void Color3(UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[191]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49279,24 +32471,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3uiv")] - public static + [Slot(191)] + public static extern void Color3(ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[191]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49313,18 +32492,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3uiv")] - public static + [Slot(191)] + public static extern unsafe void Color3(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[191]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49341,18 +32513,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3us")] - public static + [Slot(192)] + public static extern void Color3(UInt16 red, UInt16 green, UInt16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt16)red, (UInt16)green, (UInt16)blue, EntryPoints[192]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49369,24 +32534,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3usv")] - public static + [Slot(193)] + public static extern void Color3(UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[193]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49403,24 +32555,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3usv")] - public static + [Slot(193)] + public static extern void Color3(ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[193]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49437,18 +32576,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3usv")] - public static + [Slot(193)] + public static extern unsafe void Color3(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[193]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49465,18 +32597,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4b")] - public static + [Slot(196)] + public static extern void Color4(SByte red, SByte green, SByte blue, SByte alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha, EntryPoints[196]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49493,24 +32618,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4bv")] - public static + [Slot(197)] + public static extern void Color4(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[197]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49527,24 +32639,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4bv")] - public static + [Slot(197)] + public static extern void Color4(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[197]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49561,18 +32660,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4bv")] - public static + [Slot(197)] + public static extern unsafe void Color4(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[197]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49588,18 +32680,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4d")] - public static + [Slot(198)] + public static extern void Color4(Double red, Double green, Double blue, Double alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)red, (Double)green, (Double)blue, (Double)alpha, EntryPoints[198]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49615,24 +32700,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4dv")] - public static + [Slot(199)] + public static extern void Color4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[199]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49648,24 +32720,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4dv")] - public static + [Slot(199)] + public static extern void Color4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[199]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49682,18 +32741,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4dv")] - public static + [Slot(199)] + public static extern unsafe void Color4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[199]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49709,18 +32761,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4f")] - public static + [Slot(200)] + public static extern void Color4(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, (Single)alpha, EntryPoints[200]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49736,24 +32781,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4fv")] - public static + [Slot(203)] + public static extern void Color4(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[203]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49769,24 +32801,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4fv")] - public static + [Slot(203)] + public static extern void Color4(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[203]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49803,18 +32822,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4fv")] - public static + [Slot(203)] + public static extern unsafe void Color4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[203]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49830,18 +32842,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4i")] - public static + [Slot(206)] + public static extern void Color4(Int32 red, Int32 green, Int32 blue, Int32 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha, EntryPoints[206]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49857,24 +32862,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4iv")] - public static + [Slot(207)] + public static extern void Color4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[207]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49890,24 +32882,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4iv")] - public static + [Slot(207)] + public static extern void Color4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[207]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49924,18 +32903,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4iv")] - public static + [Slot(207)] + public static extern unsafe void Color4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[207]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49951,18 +32923,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4s")] - public static + [Slot(208)] + public static extern void Color4(Int16 red, Int16 green, Int16 blue, Int16 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)red, (Int16)green, (Int16)blue, (Int16)alpha, EntryPoints[208]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -49978,24 +32943,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4sv")] - public static + [Slot(209)] + public static extern void Color4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[209]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50011,24 +32963,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4sv")] - public static + [Slot(209)] + public static extern void Color4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[209]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50045,18 +32984,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4sv")] - public static + [Slot(209)] + public static extern unsafe void Color4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[209]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50072,18 +33004,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4ub")] - public static + [Slot(210)] + public static extern void Color4(Byte red, Byte green, Byte blue, Byte alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha, EntryPoints[210]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50099,24 +33024,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4ubv")] - public static + [Slot(211)] + public static extern void Color4(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[211]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50132,24 +33044,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4ubv")] - public static + [Slot(211)] + public static extern void Color4(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[211]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50166,18 +33065,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4ubv")] - public static + [Slot(211)] + public static extern unsafe void Color4(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[211]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50194,18 +33086,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4ui")] - public static + [Slot(216)] + public static extern void Color4(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha, EntryPoints[216]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50222,24 +33107,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4uiv")] - public static + [Slot(217)] + public static extern void Color4(UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[217]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50256,24 +33128,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4uiv")] - public static + [Slot(217)] + public static extern void Color4(ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[217]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50290,18 +33149,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4uiv")] - public static + [Slot(217)] + public static extern unsafe void Color4(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[217]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50318,18 +33170,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4us")] - public static + [Slot(218)] + public static extern void Color4(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha, EntryPoints[218]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50346,24 +33191,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4usv")] - public static + [Slot(219)] + public static extern void Color4(UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[219]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50380,24 +33212,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4usv")] - public static + [Slot(219)] + public static extern void Color4(ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[219]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -50414,18 +33233,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4usv")] - public static + [Slot(219)] + public static extern unsafe void Color4(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[219]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Enable and disable writing of frame buffer color components @@ -50441,18 +33253,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColorMask")] - public static + [Slot(226)] + public static extern void ColorMask(bool red, bool green, bool blue, bool alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)red, (bool)green, (bool)blue, (bool)alpha, EntryPoints[226]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Enable and disable writing of frame buffer color components @@ -50468,18 +33273,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glColorMaski")] - public static + [Slot(227)] + public static extern void ColorMask(Int32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a, EntryPoints[227]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Enable and disable writing of frame buffer color components @@ -50496,18 +33294,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glColorMaski")] - public static + [Slot(227)] + public static extern void ColorMask(UInt32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a, EntryPoints[227]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Cause a material color to track the current color @@ -50523,144 +33314,81 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColorMaterial")] - public static + [Slot(229)] + public static extern void ColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ColorMaterialParameter mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.ColorMaterialParameter)mode, EntryPoints[229]); - #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 = "glColorP3ui")] - public static + [Slot(230)] + public static extern void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color, EntryPoints[230]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(230)] + public static extern void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color, EntryPoints[230]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(231)] + public static extern unsafe void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)color, EntryPoints[231]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(231)] + public static extern unsafe void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)color, EntryPoints[231]); - #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 = "glColorP4ui")] - public static + [Slot(232)] + public static extern void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color, EntryPoints[232]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(232)] + public static extern void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color, EntryPoints[232]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(233)] + public static extern unsafe void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)color, EntryPoints[233]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(233)] + public static extern unsafe void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)color, EntryPoints[233]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of colors @@ -50686,18 +33414,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glColorPointer")] - public static + [Slot(234)] + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[234]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of colors @@ -50723,27 +33444,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glColorPointer")] - public static + [Slot(234)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[234]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of colors @@ -50769,27 +33475,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glColorPointer")] - public static + [Slot(234)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[234]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of colors @@ -50815,27 +33506,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glColorPointer")] - public static + [Slot(234)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[234]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of colors @@ -50861,28 +33537,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glColorPointer")] - public static + [Slot(234)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[234]); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Respecify a portion of a color table @@ -50918,18 +33578,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static + [Slot(238)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data, EntryPoints[238]); - #if DEBUG - } - #endif - } + ; + /// /// Respecify a portion of a color table @@ -50965,27 +33618,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static + [Slot(238)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[238]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Respecify a portion of a color table @@ -51021,27 +33659,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static + [Slot(238)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[238]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Respecify a portion of a color table @@ -51077,27 +33700,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static + [Slot(238)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[238]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Respecify a portion of a color table @@ -51133,28 +33741,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static + [Slot(238)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[238]); - data = (T5)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a color lookup table @@ -51190,18 +33782,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static + [Slot(240)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table, EntryPoints[240]); - #if DEBUG - } - #endif - } + ; + /// /// Define a color lookup table @@ -51237,27 +33822,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static + [Slot(240)] + 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 - { - InteropHelper.Call((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(), EntryPoints[240]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a color lookup table @@ -51293,27 +33863,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static + [Slot(240)] + 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 - { - InteropHelper.Call((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(), EntryPoints[240]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a color lookup table @@ -51349,27 +33904,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static + [Slot(240)] + 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 - { - InteropHelper.Call((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(), EntryPoints[240]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a color lookup table @@ -51405,28 +33945,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static + [Slot(240)] + 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 - { - InteropHelper.Call((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(), EntryPoints[240]); - table = (T5)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Set color lookup table parameters @@ -51447,24 +33971,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameterfv")] - public static + [Slot(242)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[242]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Set color lookup table parameters @@ -51485,24 +33996,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameterfv")] - public static + [Slot(242)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[242]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Set color lookup table parameters @@ -51524,18 +34022,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameterfv")] - public static + [Slot(242)] + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (IntPtr)@params, EntryPoints[242]); - #if DEBUG - } - #endif - } + ; + /// /// Set color lookup table parameters @@ -51556,24 +34047,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameteriv")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[244]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Set color lookup table parameters @@ -51594,24 +34072,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameteriv")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[244]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Set color lookup table parameters @@ -51633,18 +34098,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameteriv")] - public static + [Slot(244)] + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (IntPtr)@params, EntryPoints[244]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Compiles a shader object @@ -51655,18 +34113,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static + [Slot(254)] + public static extern void CompileShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[254]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Compiles a shader object @@ -51678,18 +34129,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static + [Slot(254)] + public static extern void CompileShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[254]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -51730,18 +34174,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static + [Slot(263)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[263]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -51782,27 +34219,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static + [Slot(263)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[263]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -51843,27 +34265,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static + [Slot(263)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[263]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -51904,27 +34311,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static + [Slot(263)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[263]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -51965,28 +34357,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static + [Slot(263)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[263]); - 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 @@ -52032,18 +34408,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(265)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[265]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -52089,27 +34458,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(265)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[265]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -52155,27 +34509,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(265)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[265]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -52221,27 +34560,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(265)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[265]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -52287,28 +34611,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(265)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[265]); - 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 @@ -52359,18 +34667,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(267)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[267]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -52421,27 +34722,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(267)] + 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 - { - InteropHelper.Call((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(), EntryPoints[267]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -52492,27 +34778,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(267)] + 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 - { - InteropHelper.Call((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(), EntryPoints[267]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -52563,27 +34834,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(267)] + 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 - { - InteropHelper.Call((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(), EntryPoints[267]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -52634,28 +34890,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(267)] + 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 - { - InteropHelper.Call((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(), EntryPoints[267]); - 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 @@ -52696,18 +34936,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static + [Slot(269)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data, EntryPoints[269]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -52748,27 +34981,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static + [Slot(269)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[269]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -52809,27 +35027,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static + [Slot(269)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[269]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -52870,27 +35073,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static + [Slot(269)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[269]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -52931,28 +35119,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static + [Slot(269)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[269]); - 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 @@ -53003,18 +35175,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(271)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data, EntryPoints[271]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -53065,27 +35230,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(271)] + 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 - { - InteropHelper.Call((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(), EntryPoints[271]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -53136,27 +35286,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(271)] + 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 - { - InteropHelper.Call((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(), EntryPoints[271]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -53207,27 +35342,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(271)] + 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 - { - InteropHelper.Call((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(), EntryPoints[271]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -53278,28 +35398,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(271)] + 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 - { - InteropHelper.Call((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(), EntryPoints[271]); - 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 @@ -53355,18 +35459,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(273)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[273]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -53422,27 +35519,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((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(), EntryPoints[273]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -53498,27 +35580,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((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(), EntryPoints[273]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -53574,27 +35641,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((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(), EntryPoints[273]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -53650,28 +35702,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(273)] + 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 - { - InteropHelper.Call((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(), EntryPoints[273]); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a one-dimensional convolution filter @@ -53707,18 +35743,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static + [Slot(281)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image, EntryPoints[281]); - #if DEBUG - } - #endif - } + ; + /// /// Define a one-dimensional convolution filter @@ -53754,27 +35783,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static + [Slot(281)] + 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 - { - InteropHelper.Call((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(), EntryPoints[281]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a one-dimensional convolution filter @@ -53810,27 +35824,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static + [Slot(281)] + 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 - { - InteropHelper.Call((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(), EntryPoints[281]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a one-dimensional convolution filter @@ -53866,27 +35865,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static + [Slot(281)] + 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 - { - InteropHelper.Call((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(), EntryPoints[281]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a one-dimensional convolution filter @@ -53922,28 +35906,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static + [Slot(281)] + 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 - { - InteropHelper.Call((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(), EntryPoints[281]); - image = (T5)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a two-dimensional convolution filter @@ -53984,18 +35952,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static + [Slot(283)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[283]); - #if DEBUG - } - #endif - } + ; + /// /// Define a two-dimensional convolution filter @@ -54036,27 +35997,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a two-dimensional convolution filter @@ -54097,27 +36043,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a two-dimensional convolution filter @@ -54158,27 +36089,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a two-dimensional convolution filter @@ -54219,28 +36135,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static + [Slot(283)] + 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 - { - InteropHelper.Call((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(), EntryPoints[283]); - image = (T6)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Set convolution parameters @@ -54264,18 +36164,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameterf")] - public static + [Slot(285)] + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Single)@params, EntryPoints[285]); - #if DEBUG - } - #endif - } + ; + /// /// Set convolution parameters @@ -54299,24 +36192,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameterfv")] - public static + [Slot(287)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (IntPtr)@params_ptr, EntryPoints[287]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Set convolution parameters @@ -54341,18 +36221,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameterfv")] - public static + [Slot(287)] + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (IntPtr)@params, EntryPoints[287]); - #if DEBUG - } - #endif - } + ; + /// /// Set convolution parameters @@ -54376,18 +36249,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameteri")] - public static + [Slot(289)] + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Int32)@params, EntryPoints[289]); - #if DEBUG - } - #endif - } + ; + /// /// Set convolution parameters @@ -54411,24 +36277,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameteriv")] - public static + [Slot(291)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (IntPtr)@params_ptr, EntryPoints[291]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Set convolution parameters @@ -54453,18 +36306,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameteriv")] - public static + [Slot(291)] + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (IntPtr)@params, EntryPoints[291]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -54495,18 +36341,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_copy_buffer|VERSION_3_1", Version = "3.1", EntryPoint = "glCopyBufferSubData")] - public static + [Slot(295)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)readTarget, (OpenTK.Graphics.OpenGL.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size, EntryPoints[295]); - #if DEBUG - } - #endif - } + ; + /// /// Respecify a portion of a color table @@ -54532,18 +36371,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyColorSubTable")] - public static + [Slot(296)] + public static extern void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width, EntryPoints[296]); - #if DEBUG - } - #endif - } + ; + /// /// Copy pixels into a color table @@ -54574,18 +36406,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyColorTable")] - public static + [Slot(298)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, EntryPoints[298]); - #if DEBUG - } - #endif - } + ; + /// /// Copy pixels into a one-dimensional convolution filter @@ -54611,18 +36436,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyConvolutionFilter1D")] - public static + [Slot(300)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, EntryPoints[300]); - #if DEBUG - } - #endif - } + ; + /// /// Copy pixels into a two-dimensional convolution filter @@ -54653,18 +36471,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyConvolutionFilter2D")] - public static + [Slot(302)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[302]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_copy_image|VERSION_4_3] /// Perform a raw data copy between two images @@ -54740,18 +36551,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_copy_image|VERSION_4_3", Version = "4.3", EntryPoint = "glCopyImageSubData")] - public static + [Slot(304)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[304]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_copy_image|VERSION_4_3] /// Perform a raw data copy between two images @@ -54828,18 +36632,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_copy_image|VERSION_4_3", Version = "4.3", EntryPoint = "glCopyImageSubData")] - public static + [Slot(304)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[304]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Copy pixels in the frame buffer @@ -54860,18 +36657,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCopyPixels")] - public static + [Slot(312)] + public static extern void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelCopyType type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelCopyType)type, EntryPoints[312]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Copy pixels into a 1D texture image @@ -54907,18 +36697,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexImage1D")] - public static + [Slot(313)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border, EntryPoints[313]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Copy pixels into a 2D texture image @@ -54959,18 +36742,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexImage2D")] - public static + [Slot(315)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border, EntryPoints[315]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Copy a one-dimensional texture subimage @@ -55001,18 +36777,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexSubImage1D")] - public static + [Slot(317)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width, EntryPoints[317]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Copy a two-dimensional texture subimage @@ -55053,18 +36822,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexSubImage2D")] - public static + [Slot(319)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[319]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Copy a three-dimensional texture subimage @@ -55110,35 +36872,21 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glCopyTexSubImage3D")] - public static + [Slot(321)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[321]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Creates a program object /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCreateProgram")] - public static + [Slot(332)] + public static extern Int32 CreateProgram() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn(EntryPoints[332]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Creates a shader object @@ -55149,18 +36897,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")] - public static + [Slot(334)] + public static extern Int32 CreateShader(OpenTK.Graphics.OpenGL.ShaderType type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.ShaderType)type, EntryPoints[334]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -55181,18 +36922,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glCreateShaderProgramv")] - public static + [Slot(337)] + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL.ShaderType type, Int32 count, String[] strings) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.ShaderType)type, (Int32)count, (String[])strings, EntryPoints[337]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify whether front- or back-facing facets can be culled @@ -55203,18 +36937,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCullFace")] - public static + [Slot(340)] + public static extern void CullFace(OpenTK.Graphics.OpenGL.CullFaceMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.CullFaceMode)mode, EntryPoints[340]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -55230,18 +36957,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(344)] + public static extern void DebugMessageCallback(DebugProc callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam, EntryPoints[344]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -55257,27 +36977,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(344)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[344]); - } - 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 @@ -55293,27 +36998,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(344)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[344]); - } - 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 @@ -55329,27 +37019,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(344)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[344]); - } - 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 @@ -55365,28 +37040,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(344)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[344]); - 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 @@ -55422,24 +37081,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static + [Slot(348)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[348]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -55475,24 +37121,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static + [Slot(348)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[348]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -55529,18 +37162,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static + [Slot(348)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[348]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -55577,24 +37203,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static + [Slot(348)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[348]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -55631,24 +37244,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static + [Slot(348)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[348]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -55685,18 +37285,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static + [Slot(348)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[348]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Inject an application-supplied message into the debug message queue @@ -55732,18 +37325,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageInsert")] - public static + [Slot(352)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.DebugSourceExternal)source, (OpenTK.Graphics.OpenGL.DebugType)type, (UInt32)id, (OpenTK.Graphics.OpenGL.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[352]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Inject an application-supplied message into the debug message queue @@ -55780,18 +37366,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageInsert")] - public static + [Slot(352)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.DebugSourceExternal)source, (OpenTK.Graphics.OpenGL.DebugType)type, (UInt32)id, (OpenTK.Graphics.OpenGL.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[352]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -55807,23 +37386,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(360)] + public static extern void DeleteBuffer(Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[360]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -55840,23 +37407,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(360)] + public static extern void DeleteBuffer(UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[360]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -55872,24 +37427,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(360)] + public static extern void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[360]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -55905,24 +37447,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(360)] + public static extern void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[360]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -55939,18 +37468,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(360)] + public static extern unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[360]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -55967,24 +37489,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(360)] + public static extern void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[360]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -56001,24 +37510,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(360)] + public static extern void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[360]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -56035,18 +37531,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(360)] + public static extern unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[360]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -56062,23 +37551,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(365)] + public static extern void DeleteFramebuffer(Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[365]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -56095,23 +37572,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(365)] + public static extern void DeleteFramebuffer(UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[365]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -56127,24 +37592,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(365)] + public static extern void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[365]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -56160,24 +37612,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(365)] + public static extern void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[365]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -56194,18 +37633,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(365)] + public static extern unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[365]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -56222,24 +37654,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(365)] + public static extern void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[365]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -56256,24 +37675,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(365)] + public static extern void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[365]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -56290,18 +37696,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(365)] + public static extern unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[365]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Delete a contiguous group of display lists @@ -56317,18 +37716,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDeleteLists")] - public static + [Slot(367)] + public static extern void DeleteLists(Int32 list, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (Int32)range, EntryPoints[367]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Delete a contiguous group of display lists @@ -56345,18 +37737,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDeleteLists")] - public static + [Slot(367)] + public static extern void DeleteLists(UInt32 list, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (Int32)range, EntryPoints[367]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Deletes a program object @@ -56367,18 +37752,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static + [Slot(374)] + public static extern void DeleteProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[374]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Deletes a program object @@ -56390,18 +37768,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static + [Slot(374)] + public static extern void DeleteProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[374]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -56417,23 +37788,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(375)] + public static extern void DeleteProgramPipeline(Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[375]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -56450,23 +37809,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(375)] + public static extern void DeleteProgramPipeline(UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[375]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -56482,24 +37829,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(375)] + public static extern void DeleteProgramPipelines(Int32 n, Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[375]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -56515,24 +37849,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(375)] + public static extern void DeleteProgramPipelines(Int32 n, ref Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[375]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -56549,18 +37870,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(375)] + public static extern unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[375]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -56577,24 +37891,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(375)] + public static extern void DeleteProgramPipelines(Int32 n, UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[375]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -56611,24 +37912,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(375)] + public static extern void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[375]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -56645,18 +37933,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(375)] + public static extern unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[375]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -56672,23 +37953,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(379)] + public static extern void DeleteQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[379]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -56705,23 +37974,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(379)] + public static extern void DeleteQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[379]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -56737,24 +37994,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(379)] + public static extern void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[379]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -56770,24 +38014,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(379)] + public static extern void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[379]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -56804,18 +38035,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(379)] + public static extern unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[379]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -56832,24 +38056,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(379)] + public static extern void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[379]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -56866,24 +38077,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(379)] + public static extern void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[379]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -56900,18 +38098,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(379)] + public static extern unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[379]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -56927,23 +38118,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(381)] + public static extern void DeleteRenderbuffer(Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[381]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -56960,23 +38139,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(381)] + public static extern void DeleteRenderbuffer(UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[381]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -56992,24 +38159,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(381)] + public static extern void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[381]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -57025,24 +38179,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(381)] + public static extern void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[381]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -57059,18 +38200,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(381)] + public static extern unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[381]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -57087,24 +38221,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(381)] + public static extern void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[381]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -57121,24 +38242,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(381)] + public static extern void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[381]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -57155,18 +38263,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(381)] + public static extern unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[381]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -57182,23 +38283,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(383)] + public static extern void DeleteSampler(Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - UInt32* samplers_ptr = (UInt32*)&samplers; - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[383]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -57215,23 +38304,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(383)] + public static extern void DeleteSampler(UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - UInt32* samplers_ptr = (UInt32*)&samplers; - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[383]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -57247,24 +38324,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(383)] + public static extern void DeleteSamplers(Int32 count, Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -57280,24 +38344,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(383)] + public static extern void DeleteSamplers(Int32 count, ref Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -57314,18 +38365,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(383)] + public static extern unsafe void DeleteSamplers(Int32 count, Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)samplers, EntryPoints[383]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -57342,24 +38386,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(383)] + public static extern void DeleteSamplers(Int32 count, UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -57376,24 +38407,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(383)] + public static extern void DeleteSamplers(Int32 count, ref UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -57410,18 +38428,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(383)] + public static extern unsafe void DeleteSamplers(Int32 count, UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)samplers, EntryPoints[383]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Deletes a shader object @@ -57432,18 +38443,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static + [Slot(384)] + public static extern void DeleteShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[384]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Deletes a shader object @@ -57455,18 +38459,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static + [Slot(384)] + public static extern void DeleteShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[384]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Delete a sync object @@ -57477,18 +38474,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glDeleteSync")] - public static + [Slot(385)] + public static extern void DeleteSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, EntryPoints[385]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -57504,23 +38494,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(386)] + public static extern void DeleteTexture(Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[386]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -57537,23 +38515,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(386)] + public static extern void DeleteTexture(UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[386]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -57569,24 +38535,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(386)] + public static extern void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[386]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -57602,24 +38555,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(386)] + public static extern void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[386]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -57636,18 +38576,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(386)] + public static extern unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[386]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -57664,24 +38597,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(386)] + public static extern void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[386]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -57698,24 +38618,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(386)] + public static extern void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[386]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -57732,18 +38639,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(386)] + public static extern unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[386]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -57759,23 +38659,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(388)] + public static extern void DeleteTransformFeedback(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[388]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -57792,23 +38680,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(388)] + public static extern void DeleteTransformFeedback(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[388]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -57824,24 +38700,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(388)] + public static extern void DeleteTransformFeedbacks(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[388]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -57857,24 +38720,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(388)] + public static extern void DeleteTransformFeedbacks(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[388]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -57891,18 +38741,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(388)] + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[388]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -57919,24 +38762,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(388)] + public static extern void DeleteTransformFeedbacks(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[388]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -57953,24 +38783,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(388)] + public static extern void DeleteTransformFeedbacks(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[388]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -57987,18 +38804,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(388)] + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[388]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -58014,23 +38824,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(390)] + public static extern void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[390]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -58047,23 +38845,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(390)] + public static extern void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[390]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -58079,24 +38865,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(390)] + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[390]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -58112,24 +38885,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(390)] + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[390]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -58146,18 +38906,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(390)] + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[390]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -58174,24 +38927,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(390)] + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[390]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -58208,24 +38948,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(390)] + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[390]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -58242,18 +38969,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(390)] + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[390]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the value used for depth buffer comparisons @@ -58264,18 +38984,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthFunc")] - public static + [Slot(395)] + public static extern void DepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.DepthFunction)func, EntryPoints[395]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Enable or disable writing into the depth buffer @@ -58286,18 +38999,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthMask")] - public static + [Slot(396)] + public static extern void DepthMask(bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)flag, EntryPoints[396]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -58313,18 +39019,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthRange")] - public static + [Slot(397)] + public static extern void DepthRange(Double near, Double far) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)near, (Double)far, EntryPoints[397]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -58345,24 +39044,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static + [Slot(398)] + public static extern void DepthRangeArray(Int32 first, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[398]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -58383,24 +39069,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static + [Slot(398)] + public static extern void DepthRangeArray(Int32 first, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[398]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -58422,18 +39095,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static + [Slot(398)] + public static extern unsafe void DepthRangeArray(Int32 first, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v, EntryPoints[398]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -58455,24 +39121,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static + [Slot(398)] + public static extern void DepthRangeArray(UInt32 first, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[398]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -58494,24 +39147,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static + [Slot(398)] + public static extern void DepthRangeArray(UInt32 first, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[398]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -58533,18 +39173,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static + [Slot(398)] + public static extern unsafe void DepthRangeArray(UInt32 first, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v, EntryPoints[398]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -58560,18 +39193,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangef")] - public static + [Slot(400)] + public static extern void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)n, (Single)f, EntryPoints[400]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -58592,18 +39218,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeIndexed")] - public static + [Slot(402)] + public static extern void DepthRangeIndexed(Int32 index, Double n, Double f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)n, (Double)f, EntryPoints[402]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -58625,18 +39244,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeIndexed")] - public static + [Slot(402)] + public static extern void DepthRangeIndexed(UInt32 index, Double n, Double f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)n, (Double)f, EntryPoints[402]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Detaches a shader object from a program object to which it is attached @@ -58652,18 +39264,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static + [Slot(405)] + public static extern void DetachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[405]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Detaches a shader object from a program object to which it is attached @@ -58680,110 +39285,61 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static + [Slot(405)] + public static extern void DetachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[405]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDisable")] - public static + [Slot(407)] + public static extern void Disable(OpenTK.Graphics.OpenGL.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.EnableCap)cap, EntryPoints[407]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDisableClientState")] - public static + [Slot(408)] + public static extern void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, EntryPoints[408]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glDisablei")] - public static + [Slot(411)] + public static extern void Disable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[411]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glDisablei")] - public static + [Slot(411)] + public static extern void Disable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[411]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static + [Slot(417)] + public static extern void DisableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[417]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static + [Slot(417)] + public static extern void DisableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[417]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_compute_shader|VERSION_4_3] /// Launch one or more compute work groups @@ -58804,18 +39360,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_compute_shader|VERSION_4_3", Version = "4.3", EntryPoint = "glDispatchCompute")] - public static + [Slot(419)] + public static extern void DispatchCompute(Int32 num_groups_x, Int32 num_groups_y, Int32 num_groups_z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, EntryPoints[419]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_compute_shader|VERSION_4_3] /// Launch one or more compute work groups @@ -58837,18 +39386,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_compute_shader|VERSION_4_3", Version = "4.3", EntryPoint = "glDispatchCompute")] - public static + [Slot(419)] + public static extern void DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, EntryPoints[419]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_compute_shader|VERSION_4_3] /// Launch one or more compute work groups using parameters stored in a buffer @@ -58859,18 +39401,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_compute_shader|VERSION_4_3", Version = "4.3", EntryPoint = "glDispatchComputeIndirect")] - public static + [Slot(421)] + public static extern void DispatchComputeIndirect(IntPtr indirect) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)indirect, EntryPoints[421]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -58892,18 +39427,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawArrays")] - public static + [Slot(422)] + public static extern void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[422]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -58924,18 +39452,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawArrays")] - public static + [Slot(422)] + public static extern void DrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[422]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -58951,18 +39472,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static + [Slot(424)] + public static extern void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect, EntryPoints[424]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -58978,27 +39492,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static + [Slot(424)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[424]); - } - 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 @@ -59014,27 +39513,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static + [Slot(424)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[424]); - } - 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 @@ -59050,27 +39534,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static + [Slot(424)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[424]); - } - 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 @@ -59086,28 +39555,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static + [Slot(424)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[424]); - indirect = (T1)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a range of elements @@ -59134,18 +39587,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawArraysInstanced")] - public static + [Slot(425)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, EntryPoints[425]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a range of elements @@ -59171,18 +39617,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawArraysInstanced")] - public static + [Slot(425)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, EntryPoints[425]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a range of elements with offset applied to instanced attributes @@ -59213,18 +39652,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawArraysInstancedBaseInstance")] - public static + [Slot(427)] + public static extern void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, Int32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance, EntryPoints[427]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a range of elements with offset applied to instanced attributes @@ -59256,18 +39688,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawArraysInstancedBaseInstance")] - public static + [Slot(427)] + public static extern void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance, EntryPoints[427]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify which color buffers are to be drawn into @@ -59278,18 +39703,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawBuffer")] - public static + [Slot(429)] + public static extern void DrawBuffer(OpenTK.Graphics.OpenGL.DrawBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.DrawBufferMode)mode, EntryPoints[429]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies a list of color buffers to be drawn into @@ -59305,24 +39723,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static + [Slot(430)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[430]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies a list of color buffers to be drawn into @@ -59338,24 +39743,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static + [Slot(430)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[430]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies a list of color buffers to be drawn into @@ -59372,18 +39764,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static + [Slot(430)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[430]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -59409,18 +39794,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(435)] + public static extern void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, Int32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, EntryPoints[435]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -59447,18 +39825,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(435)] + public static extern void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, EntryPoints[435]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -59485,27 +39856,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(435)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[435]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -59532,27 +39888,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(435)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[435]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -59579,27 +39920,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(435)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[435]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -59626,28 +39952,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(435)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[435]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -59673,18 +39983,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(435)] + public static extern void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, Int32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, EntryPoints[435]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -59710,18 +40013,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(435)] + public static extern void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, EntryPoints[435]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -59747,27 +40043,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(435)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[435]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -59793,27 +40074,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(435)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[435]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -59839,27 +40105,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(435)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[435]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -59885,28 +40136,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(435)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[435]); - 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 @@ -59938,18 +40173,11 @@ 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 + [Slot(436)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex, EntryPoints[436]); - #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 @@ -59981,27 +40209,12 @@ 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 + [Slot(436)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[436]); - } - 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 @@ -60033,27 +40246,12 @@ 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 + [Slot(436)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[436]); - } - 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 @@ -60085,27 +40283,12 @@ 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 + [Slot(436)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[436]); - } - 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 @@ -60137,28 +40320,12 @@ 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 + [Slot(436)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[436]); - 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 @@ -60189,18 +40356,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static + [Slot(436)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex, EntryPoints[436]); - #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 @@ -60231,27 +40391,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static + [Slot(436)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[436]); - } - 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 @@ -60282,27 +40427,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static + [Slot(436)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[436]); - } - 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 @@ -60333,27 +40463,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static + [Slot(436)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[436]); - } - 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 @@ -60384,28 +40499,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static + [Slot(436)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[436]); - 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 @@ -60426,18 +40525,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static + [Slot(437)] + public static extern void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect, EntryPoints[437]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render indexed primitives from array data, taking parameters from memory @@ -60458,27 +40550,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static + [Slot(437)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[437]); - } - 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 @@ -60499,27 +40576,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static + [Slot(437)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[437]); - } - 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 @@ -60540,27 +40602,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static + [Slot(437)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[437]); - } - 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 @@ -60581,28 +40628,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static + [Slot(437)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[437]); - indirect = (T2)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -60634,18 +40665,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(438)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, EntryPoints[438]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -60677,27 +40701,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(438)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[438]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -60729,27 +40738,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(438)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[438]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -60781,27 +40775,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(438)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[438]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -60833,28 +40812,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(438)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[438]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -60885,18 +40848,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(438)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, EntryPoints[438]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -60927,27 +40883,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(438)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[438]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -60978,27 +40919,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(438)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[438]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -61029,27 +40955,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(438)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[438]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -61080,28 +40991,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(438)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[438]); - 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 @@ -61137,18 +41032,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(440)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance, EntryPoints[440]); - #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 @@ -61185,18 +41073,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(440)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance, EntryPoints[440]); - #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 @@ -61232,27 +41113,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(440)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[440]); - } - 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 @@ -61289,27 +41155,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(440)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[440]); - } - 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 @@ -61345,27 +41196,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(440)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[440]); - } - 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 @@ -61402,27 +41238,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(440)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[440]); - } - 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 @@ -61458,27 +41279,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(440)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[440]); - } - 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 @@ -61515,27 +41321,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(440)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[440]); - } - 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 @@ -61571,28 +41362,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(440)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[440]); - 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 @@ -61629,28 +41404,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(440)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[440]); - 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 @@ -61687,18 +41446,11 @@ 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 + [Slot(441)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, EntryPoints[441]); - #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 @@ -61735,27 +41487,12 @@ 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 + [Slot(441)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, EntryPoints[441]); - } - 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 @@ -61792,27 +41529,12 @@ 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 + [Slot(441)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, EntryPoints[441]); - } - 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 @@ -61849,27 +41571,12 @@ 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 + [Slot(441)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, EntryPoints[441]); - } - 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 @@ -61906,28 +41613,12 @@ 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 + [Slot(441)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, EntryPoints[441]); - 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 @@ -61963,18 +41654,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static + [Slot(441)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, EntryPoints[441]); - #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 @@ -62010,27 +41694,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static + [Slot(441)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, EntryPoints[441]); - } - 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 @@ -62066,27 +41735,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static + [Slot(441)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, EntryPoints[441]); - } - 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 @@ -62122,27 +41776,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static + [Slot(441)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, EntryPoints[441]); - } - 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 @@ -62178,28 +41817,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static + [Slot(441)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, EntryPoints[441]); - 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 @@ -62240,18 +41863,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(442)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[442]); - #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 @@ -62293,18 +41909,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(442)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[442]); - #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 @@ -62345,27 +41954,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[442]); - } - 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 @@ -62407,27 +42001,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[442]); - } - 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 @@ -62468,27 +42047,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[442]); - } - 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 @@ -62530,27 +42094,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[442]); - } - 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 @@ -62591,27 +42140,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[442]); - } - 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 @@ -62653,27 +42187,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[442]); - } - 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 @@ -62714,28 +42233,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[442]); - 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 @@ -62777,28 +42280,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(442)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[442]); - 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 @@ -62824,18 +42311,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawPixels")] - public static + [Slot(445)] + public static extern 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 - InteropHelper.Call((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels, EntryPoints[445]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Write a block of pixels to the frame buffer @@ -62861,27 +42341,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawPixels")] - public static + [Slot(445)] + 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 - { - InteropHelper.Call((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[445]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Write a block of pixels to the frame buffer @@ -62907,27 +42372,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawPixels")] - public static + [Slot(445)] + 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 - { - InteropHelper.Call((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[445]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Write a block of pixels to the frame buffer @@ -62953,27 +42403,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawPixels")] - public static + [Slot(445)] + 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 - { - InteropHelper.Call((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[445]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Write a block of pixels to the frame buffer @@ -62999,28 +42434,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawPixels")] - public static + [Slot(445)] + 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 - { - InteropHelper.Call((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[445]); - pixels = (T4)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63057,18 +42476,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, EntryPoints[448]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63105,27 +42517,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63162,27 +42559,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63219,27 +42601,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63276,28 +42643,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63335,18 +42686,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, EntryPoints[448]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63384,27 +42728,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63442,27 +42771,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63500,27 +42814,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63558,28 +42857,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63615,18 +42898,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, EntryPoints[448]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63662,27 +42938,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63718,27 +42979,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63774,27 +43020,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63830,28 +43061,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63888,18 +43103,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, EntryPoints[448]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63936,27 +43144,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -63993,27 +43186,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -64050,27 +43228,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -64107,28 +43270,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(448)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[448]); - 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 @@ -64170,18 +43317,11 @@ 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 + [Slot(449)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex, EntryPoints[449]); - #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 @@ -64223,27 +43363,12 @@ 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 + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - } - 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 @@ -64285,27 +43410,12 @@ 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 + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - } - 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 @@ -64347,27 +43457,12 @@ 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 + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - } - 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 @@ -64409,28 +43504,12 @@ 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 + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - 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 @@ -64473,18 +43552,11 @@ 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 + [Slot(449)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex, EntryPoints[449]); - #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 @@ -64527,27 +43599,12 @@ 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 + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - } - 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 @@ -64590,27 +43647,12 @@ 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 + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - } - 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 @@ -64653,27 +43695,12 @@ 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 + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - } - 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 @@ -64716,28 +43743,12 @@ 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 + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - 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 @@ -64778,18 +43789,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(449)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex, EntryPoints[449]); - #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 @@ -64830,27 +43834,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - } - 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 @@ -64891,27 +43880,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - } - 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 @@ -64952,27 +43926,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - } - 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 @@ -65013,28 +43972,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - 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 @@ -65076,18 +44019,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(449)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex, EntryPoints[449]); - #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 @@ -65129,27 +44065,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - } - 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 @@ -65191,27 +44112,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - } - 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 @@ -65253,27 +44159,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - } - 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 @@ -65315,28 +44206,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(449)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[449]); - 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 @@ -65352,18 +44227,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedback")] - public static + [Slot(452)] + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, EntryPoints[452]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Render primitives using a count derived from a transform feedback object @@ -65380,18 +44248,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedback")] - public static + [Slot(452)] + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, EntryPoints[452]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -65412,18 +44273,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackInstanced")] - public static + [Slot(453)] + public static extern void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (Int32)instancecount, EntryPoints[453]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -65445,18 +44299,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackInstanced")] - public static + [Slot(453)] + public static extern void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (Int32)instancecount, EntryPoints[453]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -65477,18 +44324,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedbackStream")] - public static + [Slot(455)] + public static extern void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id, Int32 stream) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (UInt32)stream, EntryPoints[455]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -65510,18 +44350,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedbackStream")] - public static + [Slot(455)] + public static extern void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (UInt32)stream, EntryPoints[455]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -65547,18 +44380,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackStreamInstanced")] - public static + [Slot(456)] + public static extern void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id, Int32 stream, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (UInt32)stream, (Int32)instancecount, EntryPoints[456]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -65585,18 +44411,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackStreamInstanced")] - public static + [Slot(456)] + public static extern void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (UInt32)stream, (Int32)instancecount, EntryPoints[456]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Flag edges as either boundary or nonboundary @@ -65607,18 +44426,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEdgeFlag")] - public static + [Slot(457)] + public static extern void EdgeFlag(bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)flag, EntryPoints[457]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of edge flags @@ -65634,18 +44446,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static + [Slot(459)] + public static extern void EdgeFlagPointer(Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)stride, (IntPtr)pointer, EntryPoints[459]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of edge flags @@ -65661,27 +44466,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static + [Slot(459)] + 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 - { - InteropHelper.Call((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[459]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of edge flags @@ -65697,27 +44487,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static + [Slot(459)] + 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 - { - InteropHelper.Call((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[459]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of edge flags @@ -65733,27 +44508,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static + [Slot(459)] + 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 - { - InteropHelper.Call((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[459]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of edge flags @@ -65769,28 +44529,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static + [Slot(459)] + 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 - { - InteropHelper.Call((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[459]); - 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 @@ -65801,24 +44545,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEdgeFlagv")] - public static + [Slot(462)] + public static extern void EdgeFlag(bool[] flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* flag_ptr = flag) - { - InteropHelper.Call((IntPtr)flag_ptr, EntryPoints[462]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Flag edges as either boundary or nonboundary @@ -65830,18 +44561,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEdgeFlagv")] - public static + [Slot(462)] + public static extern unsafe void EdgeFlag(bool* flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)flag, EntryPoints[462]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Enable or disable server-side GL capabilities @@ -65857,18 +44581,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEnable")] - public static + [Slot(465)] + public static extern void Enable(OpenTK.Graphics.OpenGL.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.EnableCap)cap, EntryPoints[465]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Enable or disable client-side capability @@ -65879,18 +44596,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glEnableClientState")] - public static + [Slot(466)] + public static extern void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, EntryPoints[466]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Enable or disable server-side GL capabilities @@ -65906,18 +44616,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEnablei")] - public static + [Slot(469)] + public static extern void Enable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[469]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Enable or disable server-side GL capabilities @@ -65934,18 +44637,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEnablei")] - public static + [Slot(469)] + public static extern void Enable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[469]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Enable or disable a generic vertex attribute array @@ -65956,18 +44652,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static + [Slot(475)] + public static extern void EnableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[475]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Enable or disable a generic vertex attribute array @@ -65979,125 +44668,68 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static + [Slot(475)] + public static extern void EnableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[475]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEnd")] - public static + [Slot(477)] + public static extern void End() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[477]); - #if DEBUG - GraphicsContext.CurrentContext.ErrorChecking = true; - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEndConditionalRender")] - public static + [Slot(478)] + public static extern void EndConditionalRender() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[478]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEndList")] - public static + [Slot(482)] + public static extern void EndList() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[482]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glEndQuery")] - public static + [Slot(485)] + public static extern void EndQuery(OpenTK.Graphics.OpenGL.QueryTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, EntryPoints[485]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(487)] + public static extern void EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, EntryPoints[487]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(487)] + public static extern void EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, EntryPoints[487]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEndTransformFeedback")] - public static + [Slot(488)] + public static extern void EndTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[488]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -66113,18 +44745,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord1d")] - public static + [Slot(493)] + public static extern void EvalCoord1(Double u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)u, EntryPoints[493]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -66141,18 +44766,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord1dv")] - public static + [Slot(494)] + public static extern unsafe void EvalCoord1(Double* u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)u, EntryPoints[494]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -66168,18 +44786,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord1f")] - public static + [Slot(495)] + public static extern void EvalCoord1(Single u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)u, EntryPoints[495]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -66196,18 +44807,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord1fv")] - public static + [Slot(496)] + public static extern unsafe void EvalCoord1(Single* u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)u, EntryPoints[496]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -66223,18 +44827,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2d")] - public static + [Slot(499)] + public static extern void EvalCoord2(Double u, Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)u, (Double)v, EntryPoints[499]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -66250,24 +44847,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2dv")] - public static + [Slot(500)] + public static extern void EvalCoord2(Double[] u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* u_ptr = u) - { - InteropHelper.Call((IntPtr)u_ptr, EntryPoints[500]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -66283,24 +44867,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2dv")] - public static + [Slot(500)] + public static extern void EvalCoord2(ref Double u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* u_ptr = &u) - { - InteropHelper.Call((IntPtr)u_ptr, EntryPoints[500]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -66317,18 +44888,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2dv")] - public static + [Slot(500)] + public static extern unsafe void EvalCoord2(Double* u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)u, EntryPoints[500]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -66344,18 +44908,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2f")] - public static + [Slot(501)] + public static extern void EvalCoord2(Single u, Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)u, (Single)v, EntryPoints[501]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -66371,24 +44928,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2fv")] - public static + [Slot(502)] + public static extern void EvalCoord2(Single[] u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* u_ptr = u) - { - InteropHelper.Call((IntPtr)u_ptr, EntryPoints[502]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -66404,24 +44948,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2fv")] - public static + [Slot(502)] + public static extern void EvalCoord2(ref Single u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* u_ptr = &u) - { - InteropHelper.Call((IntPtr)u_ptr, EntryPoints[502]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -66438,18 +44969,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2fv")] - public static + [Slot(502)] + public static extern unsafe void EvalCoord2(Single* u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)u, EntryPoints[502]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Compute a one- or two-dimensional grid of points or lines @@ -66465,18 +44989,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalMesh1")] - public static + [Slot(506)] + public static extern void EvalMesh1(OpenTK.Graphics.OpenGL.MeshMode1 mode, Int32 i1, Int32 i2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MeshMode1)mode, (Int32)i1, (Int32)i2, EntryPoints[506]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Compute a one- or two-dimensional grid of points or lines @@ -66492,18 +45009,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalMesh2")] - public static + [Slot(507)] + public static extern void EvalMesh2(OpenTK.Graphics.OpenGL.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MeshMode2)mode, (Int32)i1, (Int32)i2, (Int32)j1, (Int32)j2, EntryPoints[507]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Generate and evaluate a single point in a mesh @@ -66519,18 +45029,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalPoint1")] - public static + [Slot(508)] + public static extern void EvalPoint1(Int32 i) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)i, EntryPoints[508]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Generate and evaluate a single point in a mesh @@ -66546,18 +45049,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalPoint2")] - public static + [Slot(509)] + public static extern void EvalPoint2(Int32 i, Int32 j) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)i, (Int32)j, EntryPoints[509]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Controls feedback mode @@ -66578,24 +45074,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFeedbackBuffer")] - public static + [Slot(512)] + public static extern 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) - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.FeedbackType)type, (IntPtr)buffer_ptr, EntryPoints[512]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Controls feedback mode @@ -66616,25 +45099,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFeedbackBuffer")] - public static + [Slot(512)] + public static extern 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) - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.FeedbackType)type, (IntPtr)buffer_ptr, EntryPoints[512]); - buffer = *buffer_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Controls feedback mode @@ -66656,18 +45125,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFeedbackBuffer")] - public static + [Slot(512)] + public static extern unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] Single* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.FeedbackType)type, (IntPtr)buffer, EntryPoints[512]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Create a new sync object and insert it into the GL command stream @@ -66684,18 +45146,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use SyncCondition overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glFenceSync")] - public static + [Slot(514)] + public static extern IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.SyncCondition)condition, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, EntryPoints[514]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Create a new sync object and insert it into the GL command stream @@ -66713,18 +45168,11 @@ 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 + [Slot(514)] + public static extern IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.SyncCondition)condition, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, EntryPoints[514]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Create a new sync object and insert it into the GL command stream @@ -66740,52 +45188,31 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glFenceSync")] - public static + [Slot(514)] + public static extern IntPtr FenceSync(OpenTK.Graphics.OpenGL.SyncCondition condition, OpenTK.Graphics.OpenGL.WaitSyncFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.SyncCondition)condition, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, EntryPoints[514]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Block until all GL execution is complete /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFinish")] - public static + [Slot(516)] + public static extern void Finish() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[516]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Force execution of GL commands in finite time /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFlush")] - public static + [Slot(522)] + public static extern void Flush() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[522]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_map_buffer_range|VERSION_3_0] /// Indicate modifications to a range of a mapped buffer @@ -66806,18 +45233,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_map_buffer_range|VERSION_3_0", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")] - public static + [Slot(523)] + public static extern void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)length, EntryPoints[523]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current fog coordinates @@ -66828,18 +45248,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordd")] - public static + [Slot(531)] + public static extern void FogCoord(Double coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)coord, EntryPoints[531]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current fog coordinates @@ -66851,18 +45264,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoorddv")] - public static + [Slot(533)] + public static extern unsafe void FogCoord(Double* coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coord, EntryPoints[533]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current fog coordinates @@ -66873,18 +45279,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordf")] - public static + [Slot(535)] + public static extern void FogCoord(Single coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)coord, EntryPoints[535]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current fog coordinates @@ -66896,18 +45295,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordfv")] - public static + [Slot(538)] + public static extern unsafe void FogCoord(Single* coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coord, EntryPoints[538]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Define an array of fog coordinates @@ -66928,18 +45320,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static + [Slot(542)] + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[542]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Define an array of fog coordinates @@ -66960,27 +45345,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static + [Slot(542)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[542]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Define an array of fog coordinates @@ -67001,27 +45371,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static + [Slot(542)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[542]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Define an array of fog coordinates @@ -67042,27 +45397,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static + [Slot(542)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[542]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Define an array of fog coordinates @@ -67083,28 +45423,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static + [Slot(542)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[542]); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify fog parameters @@ -67120,18 +45444,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFogf")] - public static + [Slot(545)] + public static extern void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogParameter)pname, (Single)param, EntryPoints[545]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify fog parameters @@ -67147,24 +45464,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFogfv")] - public static + [Slot(547)] + public static extern void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogParameter)pname, (IntPtr)@params_ptr, EntryPoints[547]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify fog parameters @@ -67181,18 +45485,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFogfv")] - public static + [Slot(547)] + public static extern unsafe void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogParameter)pname, (IntPtr)@params, EntryPoints[547]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify fog parameters @@ -67208,18 +45505,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFogi")] - public static + [Slot(548)] + public static extern void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogParameter)pname, (Int32)param, EntryPoints[548]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify fog parameters @@ -67235,24 +45525,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFogiv")] - public static + [Slot(549)] + public static extern void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogParameter)pname, (IntPtr)@params_ptr, EntryPoints[549]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify fog parameters @@ -67269,18 +45546,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFogiv")] - public static + [Slot(549)] + public static extern unsafe void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogParameter)pname, (IntPtr)@params, EntryPoints[549]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Set a named parameter of a framebuffer @@ -67301,18 +45571,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glFramebufferParameteri")] - public static + [Slot(567)] + public static extern void FramebufferParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferDefaultParameter)pname, (Int32)param, EntryPoints[567]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -67338,18 +45601,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] - public static + [Slot(569)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[569]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -67376,18 +45632,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] - public static + [Slot(569)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[569]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -67418,18 +45667,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glFramebufferTexture")] - public static + [Slot(571)] + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, EntryPoints[571]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -67461,111 +45703,62 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glFramebufferTexture")] - public static + [Slot(571)] + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, EntryPoints[571]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(572)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[572]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(572)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[572]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(574)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[574]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(574)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[574]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(576)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset, EntryPoints[576]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(576)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset, EntryPoints[576]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -67596,18 +45789,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static + [Slot(582)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[582]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -67639,18 +45825,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static + [Slot(582)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[582]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define front- and back-facing polygons @@ -67661,18 +45840,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFrontFace")] - public static + [Slot(588)] + public static extern void FrontFace(OpenTK.Graphics.OpenGL.FrontFaceDirection mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FrontFaceDirection)mode, EntryPoints[588]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a perspective matrix @@ -67693,18 +45865,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFrustum")] - public static + [Slot(589)] + public static extern void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar, EntryPoints[589]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -67720,25 +45885,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(593)] + public static extern Int32 GenBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* buffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[593]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -67754,24 +45905,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(593)] + public static extern void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[593]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -67787,25 +45925,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(593)] + public static extern void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[593]); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -67822,18 +45946,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(593)] + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[593]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -67850,24 +45967,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(593)] + public static extern void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[593]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -67884,25 +45988,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(593)] + public static extern void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[593]); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -67919,18 +46009,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(593)] + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[593]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate mipmaps for a specified texture target @@ -67941,18 +46024,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenerateMipmap")] - public static + [Slot(595)] + public static extern void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GenerateMipmapTarget)target, EntryPoints[595]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -67968,25 +46044,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(602)] + public static extern Int32 GenFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* framebuffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[602]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -68002,24 +46064,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(602)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[602]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -68035,25 +46084,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(602)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[602]); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -68070,18 +46105,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(602)] + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[602]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -68098,24 +46126,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(602)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[602]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -68132,25 +46147,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(602)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[602]); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -68167,18 +46168,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(602)] + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[602]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Generate a contiguous set of empty display lists @@ -68189,18 +46183,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGenLists")] - public static + [Slot(604)] + public static extern Int32 GenLists(Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((Int32)range, EntryPoints[604]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -68216,25 +46203,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(609)] + public static extern Int32 GenProgramPipeline() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* pipelines_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[609]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -68250,24 +46223,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(609)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[609]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -68283,25 +46243,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(609)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[609]); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -68318,18 +46264,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(609)] + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[609]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -68346,24 +46285,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(609)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[609]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -68380,25 +46306,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(609)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[609]); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -68415,18 +46327,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(609)] + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[609]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -68442,25 +46347,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(613)] + public static extern Int32 GenQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[613]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -68476,24 +46367,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(613)] + public static extern void GenQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[613]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -68509,25 +46387,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(613)] + public static extern void GenQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[613]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -68544,18 +46408,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(613)] + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[613]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -68572,24 +46429,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(613)] + public static extern void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[613]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -68606,25 +46450,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(613)] + public static extern void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[613]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -68641,18 +46471,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(613)] + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[613]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -68668,25 +46491,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(615)] + public static extern Int32 GenRenderbuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* renderbuffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[615]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -68702,24 +46511,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(615)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[615]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -68735,25 +46531,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(615)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[615]); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -68770,18 +46552,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(615)] + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[615]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -68798,24 +46573,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(615)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[615]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -68832,25 +46594,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(615)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[615]); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -68867,18 +46615,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(615)] + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[615]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -68894,25 +46635,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(617)] + public static extern Int32 GenSampler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - Int32 retval; - Int32* samplers_ptr = &retval; - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[617]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -68928,24 +46655,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(617)] + public static extern void GenSamplers(Int32 count, [OutAttribute] Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[617]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -68961,25 +46675,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(617)] + public static extern void GenSamplers(Int32 count, [OutAttribute] out Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[617]); - samplers = *samplers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -68996,18 +46696,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(617)] + public static extern unsafe void GenSamplers(Int32 count, [OutAttribute] Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)samplers, EntryPoints[617]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -69024,24 +46717,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(617)] + public static extern void GenSamplers(Int32 count, [OutAttribute] UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[617]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -69058,25 +46738,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(617)] + public static extern void GenSamplers(Int32 count, [OutAttribute] out UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[617]); - samplers = *samplers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -69093,18 +46759,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(617)] + public static extern unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)samplers, EntryPoints[617]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -69120,25 +46779,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(619)] + public static extern Int32 GenTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* textures_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[619]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -69154,24 +46799,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(619)] + public static extern void GenTextures(Int32 n, [OutAttribute] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[619]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -69187,25 +46819,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(619)] + public static extern void GenTextures(Int32 n, [OutAttribute] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[619]); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -69222,18 +46840,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(619)] + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[619]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -69250,24 +46861,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(619)] + public static extern void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[619]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -69284,25 +46882,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(619)] + public static extern void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[619]); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -69319,18 +46903,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(619)] + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[619]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -69346,25 +46923,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(621)] + public static extern Int32 GenTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[621]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -69380,24 +46943,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(621)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[621]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -69413,25 +46963,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(621)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[621]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -69448,18 +46984,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(621)] + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[621]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -69476,24 +47005,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(621)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[621]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -69510,25 +47026,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(621)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[621]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -69545,18 +47047,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(621)] + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[621]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -69572,25 +47067,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(623)] + public static extern Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[623]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -69606,24 +47087,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(623)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[623]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -69639,25 +47107,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(623)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[623]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -69674,18 +47128,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(623)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[623]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -69702,24 +47149,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(623)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[623]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -69736,25 +47170,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(623)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[623]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -69771,18 +47191,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(623)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[623]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -69808,24 +47221,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static + [Slot(626)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (IntPtr)@params_ptr, EntryPoints[626]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -69851,25 +47251,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static + [Slot(626)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (IntPtr)@params_ptr, EntryPoints[626]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -69896,18 +47282,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static + [Slot(626)] + public static extern unsafe void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (IntPtr)@params, EntryPoints[626]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -69934,24 +47313,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static + [Slot(626)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (IntPtr)@params_ptr, EntryPoints[626]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -69978,25 +47344,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static + [Slot(626)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (IntPtr)@params_ptr, EntryPoints[626]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -70023,18 +47375,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static + [Slot(626)] + public static extern unsafe void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (IntPtr)@params, EntryPoints[626]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -70075,29 +47420,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(627)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[627]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -70139,18 +47466,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(627)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[627]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -70192,29 +47512,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(627)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[627]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -70256,18 +47558,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(627)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[627]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -70303,25 +47598,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static + [Slot(629)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[629]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -70358,18 +47639,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static + [Slot(629)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length, (StringBuilder)name, EntryPoints[629]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -70406,25 +47680,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static + [Slot(629)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[629]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -70461,18 +47721,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static + [Slot(629)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length, (StringBuilder)name, EntryPoints[629]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -70503,24 +47756,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static + [Slot(630)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (IntPtr)values_ptr, EntryPoints[630]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -70551,25 +47791,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static + [Slot(630)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (IntPtr)values_ptr, EntryPoints[630]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -70601,18 +47827,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static + [Slot(630)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (IntPtr)values, EntryPoints[630]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -70644,24 +47863,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static + [Slot(630)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (IntPtr)values_ptr, EntryPoints[630]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -70693,25 +47899,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static + [Slot(630)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (IntPtr)values_ptr, EntryPoints[630]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -70743,18 +47935,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static + [Slot(630)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (IntPtr)values, EntryPoints[630]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -70790,25 +47975,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static + [Slot(631)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[631]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -70845,18 +48016,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static + [Slot(631)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length, (StringBuilder)name, EntryPoints[631]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -70893,25 +48057,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static + [Slot(631)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[631]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -70948,18 +48098,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static + [Slot(631)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length, (StringBuilder)name, EntryPoints[631]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -71000,29 +48143,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(632)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[632]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -71064,18 +48189,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(632)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[632]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -71117,29 +48235,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(632)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[632]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -71181,18 +48281,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(632)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[632]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -71218,24 +48311,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(634)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[634]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -71261,25 +48341,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(634)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[634]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -71306,18 +48372,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(634)] + public static extern unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (IntPtr)@params, EntryPoints[634]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -71344,24 +48403,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(634)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[634]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -71388,25 +48434,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(634)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[634]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -71433,18 +48465,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(634)] + public static extern unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (IntPtr)@params, EntryPoints[634]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -71475,25 +48500,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static + [Slot(635)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)uniformBlockName, EntryPoints[635]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -71525,18 +48536,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static + [Slot(635)] + public static extern unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (IntPtr)length, (StringBuilder)uniformBlockName, EntryPoints[635]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -71568,25 +48572,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static + [Slot(635)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)uniformBlockName, EntryPoints[635]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -71618,18 +48608,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static + [Slot(635)] + public static extern unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (IntPtr)length, (StringBuilder)uniformBlockName, EntryPoints[635]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -71660,25 +48643,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static + [Slot(636)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)uniformName, EntryPoints[636]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -71710,18 +48679,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static + [Slot(636)] + public static extern unsafe void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (IntPtr)length, (StringBuilder)uniformName, EntryPoints[636]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -71753,25 +48715,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static + [Slot(636)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)uniformName, EntryPoints[636]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -71803,18 +48751,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static + [Slot(636)] + public static extern unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (IntPtr)length, (StringBuilder)uniformName, EntryPoints[636]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -71845,25 +48786,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(637)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[637]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -71894,26 +48821,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(637)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[637]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -71945,18 +48857,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(637)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (IntPtr)@params, EntryPoints[637]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -71988,25 +48893,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(637)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[637]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -72038,26 +48929,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(637)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[637]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -72089,18 +48965,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(637)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (IntPtr)@params, EntryPoints[637]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -72126,26 +48995,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(642)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[642]); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -72171,27 +49025,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(642)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[642]); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -72218,18 +49056,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(642)] + public static extern unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count, (IntPtr)shaders, EntryPoints[642]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -72256,26 +49087,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(642)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[642]); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -72302,27 +49118,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(642)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[642]); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -72349,18 +49149,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(642)] + public static extern unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count, (IntPtr)shaders, EntryPoints[642]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the location of an attribute variable @@ -72376,18 +49169,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static + [Slot(643)] + public static extern Int32 GetAttribLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[643]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the location of an attribute variable @@ -72404,218 +49190,96 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static + [Slot(643)] + public static extern Int32 GetAttribLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[643]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static + [Slot(645)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[645]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static + [Slot(645)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[645]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static + [Slot(645)] + public static extern unsafe void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[645]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static + [Slot(645)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[645]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static + [Slot(645)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[645]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static + [Slot(645)] + public static extern unsafe void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[645]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(647)] + public static extern bool GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[647]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(647)] + public static extern void GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[647]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(647)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[647]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(647)] + public static extern unsafe void GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data, EntryPoints[647]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] /// Return parameters of a buffer object @@ -72636,24 +49300,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] - public static + [Slot(648)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[648]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] /// Return parameters of a buffer object @@ -72674,25 +49325,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] - public static + [Slot(648)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[648]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] /// Return parameters of a buffer object @@ -72714,18 +49351,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] - public static + [Slot(648)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (IntPtr)@params, EntryPoints[648]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a buffer object @@ -72746,24 +49376,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(649)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[649]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a buffer object @@ -72784,25 +49401,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(649)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[649]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a buffer object @@ -72824,18 +49427,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(649)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (IntPtr)@params, EntryPoints[649]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -72856,18 +49452,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(652)] + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params, EntryPoints[652]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -72888,27 +49477,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(652)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[652]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -72929,27 +49503,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(652)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[652]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -72970,27 +49529,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(652)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[652]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -73011,28 +49555,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(652)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[652]); - @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 @@ -73058,18 +49586,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static + [Slot(654)] + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[654]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -73095,27 +49616,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static + [Slot(654)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[654]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -73141,27 +49647,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static + [Slot(654)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[654]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -73187,27 +49678,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static + [Slot(654)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[654]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -73233,28 +49709,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static + [Slot(654)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[654]); - 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 @@ -73270,24 +49730,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetClipPlane")] - public static + [Slot(656)] + public static extern void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = equation) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (IntPtr)equation_ptr, EntryPoints[656]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the coefficients of the specified clipping plane @@ -73303,25 +49750,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetClipPlane")] - public static + [Slot(656)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (IntPtr)equation_ptr, EntryPoints[656]); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the coefficients of the specified clipping plane @@ -73338,18 +49771,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetClipPlane")] - public static + [Slot(656)] + public static extern unsafe void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (IntPtr)equation, EntryPoints[656]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve contents of a color lookup table @@ -73375,18 +49801,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static + [Slot(659)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table, EntryPoints[659]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve contents of a color lookup table @@ -73412,27 +49831,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static + [Slot(659)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[659]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve contents of a color lookup table @@ -73458,27 +49862,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static + [Slot(659)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[659]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve contents of a color lookup table @@ -73504,27 +49893,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static + [Slot(659)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[659]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve contents of a color lookup table @@ -73550,28 +49924,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static + [Slot(659)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[659]); - table = (T3)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get color lookup table parameters @@ -73592,24 +49950,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameterfv")] - public static + [Slot(661)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[661]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get color lookup table parameters @@ -73630,25 +49975,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameterfv")] - public static + [Slot(661)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[661]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get color lookup table parameters @@ -73670,18 +50001,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameterfv")] - public static + [Slot(661)] + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (IntPtr)@params, EntryPoints[661]); - #if DEBUG - } - #endif - } + ; + /// /// Get color lookup table parameters @@ -73702,24 +50026,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameteriv")] - public static + [Slot(664)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[664]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get color lookup table parameters @@ -73740,25 +50051,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameteriv")] - public static + [Slot(664)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[664]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get color lookup table parameters @@ -73780,18 +50077,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameteriv")] - public static + [Slot(664)] + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (IntPtr)@params, EntryPoints[664]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Return a compressed texture image @@ -73812,18 +50102,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static + [Slot(674)] + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img, EntryPoints[674]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Return a compressed texture image @@ -73844,27 +50127,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static + [Slot(674)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[674]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Return a compressed texture image @@ -73885,27 +50153,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static + [Slot(674)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[674]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Return a compressed texture image @@ -73926,27 +50179,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static + [Slot(674)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[674]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Return a compressed texture image @@ -73967,28 +50205,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static + [Slot(674)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[674]); - img = (T2)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get current 1D or 2D convolution filter kernel @@ -74014,18 +50236,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static + [Slot(677)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image, EntryPoints[677]); - #if DEBUG - } - #endif - } + ; + /// /// Get current 1D or 2D convolution filter kernel @@ -74051,27 +50266,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static + [Slot(677)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[677]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get current 1D or 2D convolution filter kernel @@ -74097,27 +50297,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static + [Slot(677)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[677]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get current 1D or 2D convolution filter kernel @@ -74143,27 +50328,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static + [Slot(677)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[677]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get current 1D or 2D convolution filter kernel @@ -74189,28 +50359,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static + [Slot(677)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[677]); - image = (T3)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get convolution parameters @@ -74231,24 +50385,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameterfv")] - public static + [Slot(679)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[679]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get convolution parameters @@ -74269,25 +50410,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameterfv")] - public static + [Slot(679)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[679]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get convolution parameters @@ -74309,18 +50436,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameterfv")] - public static + [Slot(679)] + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (IntPtr)@params, EntryPoints[679]); - #if DEBUG - } - #endif - } + ; + /// /// Get convolution parameters @@ -74341,24 +50461,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameteriv")] - public static + [Slot(681)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[681]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get convolution parameters @@ -74379,25 +50486,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameteriv")] - public static + [Slot(681)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[681]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get convolution parameters @@ -74419,18 +50512,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameteriv")] - public static + [Slot(681)] + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (IntPtr)@params, EntryPoints[681]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -74476,28 +50562,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(684)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[684]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -74543,34 +50612,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(684)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[684]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -74617,18 +50663,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(684)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[684]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -74675,28 +50714,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(684)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[684]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -74743,34 +50765,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(684)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[684]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -74817,428 +50816,191 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(684)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[684]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(689)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[689]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(689)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[689]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(689)] + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[689]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(689)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[689]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(689)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[689]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(689)] + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[689]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static + [Slot(692)] + public static extern Double GetDouble(OpenTK.Graphics.OpenGL.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Double retval; - Double* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[692]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static + [Slot(692)] + public static extern void GetDouble(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[692]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static + [Slot(692)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[692]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static + [Slot(692)] + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data, EntryPoints[692]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return error information /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetError")] - public static + [Slot(693)] + public static extern OpenTK.Graphics.OpenGL.ErrorCode GetError() - { - return InteropHelper.CallReturn(EntryPoints[693]); - } + ; + /// [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 + [Slot(698)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[698]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(698)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[698]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(698)] + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[698]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(698)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[698]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(698)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[698]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(698)] + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[698]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(701)] + public static extern Single GetFloat(OpenTK.Graphics.OpenGL.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[701]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(701)] + public static extern void GetFloat(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[701]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(701)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[701]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(701)] + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data, EntryPoints[701]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_blend_func_extended|VERSION_3_3] /// Query the bindings of color indices to user-defined varying out variables @@ -75254,18 +51016,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glGetFragDataIndex")] - public static + [Slot(703)] + public static extern Int32 GetFragDataIndex(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[703]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_blend_func_extended|VERSION_3_3] /// Query the bindings of color indices to user-defined varying out variables @@ -75282,18 +51037,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glGetFragDataIndex")] - public static + [Slot(703)] + public static extern Int32 GetFragDataIndex(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[703]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Query the bindings of color numbers to user-defined varying out variables @@ -75309,18 +51057,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static + [Slot(704)] + public static extern Int32 GetFragDataLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[704]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Query the bindings of color numbers to user-defined varying out variables @@ -75337,18 +51078,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static + [Slot(704)] + public static extern Int32 GetFragDataLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[704]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about attachments of a bound framebuffer object @@ -75374,24 +51108,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(710)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[710]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about attachments of a bound framebuffer object @@ -75417,25 +51138,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(710)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[710]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about attachments of a bound framebuffer object @@ -75462,18 +51169,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(710)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (IntPtr)@params, EntryPoints[710]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Retrieve a named parameter from a framebuffer @@ -75494,24 +51194,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glGetFramebufferParameteriv")] - public static + [Slot(712)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferDefaultParameter)pname, (IntPtr)@params_ptr, EntryPoints[712]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Retrieve a named parameter from a framebuffer @@ -75532,25 +51219,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glGetFramebufferParameteriv")] - public static + [Slot(712)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferDefaultParameter)pname, (IntPtr)@params_ptr, EntryPoints[712]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Retrieve a named parameter from a framebuffer @@ -75572,18 +51245,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glGetFramebufferParameteriv")] - public static + [Slot(712)] + public static extern unsafe void GetFramebufferParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferDefaultParameter)pname, (IntPtr)@params, EntryPoints[712]); - #if DEBUG - } - #endif - } + ; + /// /// Get histogram table @@ -75614,18 +51280,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static + [Slot(716)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values, EntryPoints[716]); - #if DEBUG - } - #endif - } + ; + /// /// Get histogram table @@ -75656,27 +51315,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static + [Slot(716)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[716]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram table @@ -75707,27 +51351,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static + [Slot(716)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[716]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram table @@ -75758,27 +51387,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static + [Slot(716)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[716]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram table @@ -75809,28 +51423,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static + [Slot(716)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[716]); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram parameters @@ -75851,24 +51449,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameterfv")] - public static + [Slot(718)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[718]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram parameters @@ -75889,25 +51474,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameterfv")] - public static + [Slot(718)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[718]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram parameters @@ -75929,18 +51500,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameterfv")] - public static + [Slot(718)] + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (IntPtr)@params, EntryPoints[718]); - #if DEBUG - } - #endif - } + ; + /// /// Get histogram parameters @@ -75961,24 +51525,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameteriv")] - public static + [Slot(720)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[720]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram parameters @@ -75999,25 +51550,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameteriv")] - public static + [Slot(720)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[720]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram parameters @@ -76039,665 +51576,292 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameteriv")] - public static + [Slot(720)] + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (IntPtr)@params, EntryPoints[720]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(729)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[729]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(729)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[729]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(729)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[729]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(729)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[729]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(729)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[729]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(729)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[729]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [Obsolete("Use GetIndexedPName overload instead")] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(729)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[729]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [Obsolete("Use GetIndexedPName overload instead")] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(729)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[729]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [Obsolete("Use GetIndexedPName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(729)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, Int32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[729]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [Obsolete("Use GetIndexedPName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(729)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[729]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [Obsolete("Use GetIndexedPName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(729)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[729]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [Obsolete("Use GetIndexedPName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(729)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, UInt32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[729]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static + [Slot(730)] + public static extern Int64 GetInteger64(OpenTK.Graphics.OpenGL.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[730]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(730)] + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[730]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(730)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[730]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(730)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data, EntryPoints[730]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static + [Slot(730)] + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[730]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static + [Slot(730)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[730]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(730)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data, EntryPoints[730]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(731)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[731]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(731)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[731]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(731)] + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[731]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(731)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[731]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(731)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[731]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(731)] + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[731]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(735)] + public static extern Int32 GetInteger(OpenTK.Graphics.OpenGL.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[735]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(735)] + public static extern void GetInteger(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[735]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(735)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data_ptr, EntryPoints[735]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(735)] + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPName)pname, (IntPtr)data, EntryPoints[735]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(736)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[736]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(736)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[736]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(736)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params, EntryPoints[736]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_internalformat_query|VERSION_4_2] /// Retrieve information about implementation-dependent support for internal formats @@ -76728,24 +51892,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_internalformat_query|VERSION_4_2", Version = "4.2", EntryPoint = "glGetInternalformativ")] - public static + [Slot(737)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[737]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_internalformat_query|VERSION_4_2] /// Retrieve information about implementation-dependent support for internal formats @@ -76776,25 +51927,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_internalformat_query|VERSION_4_2", Version = "4.2", EntryPoint = "glGetInternalformativ")] - public static + [Slot(737)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[737]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_internalformat_query|VERSION_4_2] /// Retrieve information about implementation-dependent support for internal formats @@ -76826,18 +51963,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_internalformat_query|VERSION_4_2", Version = "4.2", EntryPoint = "glGetInternalformativ")] - public static + [Slot(737)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params, EntryPoints[737]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return light source parameter values @@ -76858,24 +51988,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static + [Slot(741)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (IntPtr)@params_ptr, EntryPoints[741]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return light source parameter values @@ -76896,25 +52013,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static + [Slot(741)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (IntPtr)@params_ptr, EntryPoints[741]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return light source parameter values @@ -76936,18 +52039,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static + [Slot(741)] + public static extern unsafe void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (IntPtr)@params, EntryPoints[741]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return light source parameter values @@ -76968,24 +52064,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetLightiv")] - public static + [Slot(742)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (IntPtr)@params_ptr, EntryPoints[742]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return light source parameter values @@ -77006,25 +52089,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetLightiv")] - public static + [Slot(742)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (IntPtr)@params_ptr, EntryPoints[742]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return light source parameter values @@ -77046,18 +52115,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetLightiv")] - public static + [Slot(742)] + public static extern unsafe void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (IntPtr)@params, EntryPoints[742]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -77078,24 +52140,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapdv")] - public static + [Slot(753)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (IntPtr)v_ptr, EntryPoints[753]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -77116,25 +52165,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapdv")] - public static + [Slot(753)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (IntPtr)v_ptr, EntryPoints[753]); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -77156,18 +52191,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapdv")] - public static + [Slot(753)] + public static extern unsafe void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (IntPtr)v, EntryPoints[753]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -77188,24 +52216,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapfv")] - public static + [Slot(754)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (IntPtr)v_ptr, EntryPoints[754]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -77226,25 +52241,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapfv")] - public static + [Slot(754)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (IntPtr)v_ptr, EntryPoints[754]); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -77266,18 +52267,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapfv")] - public static + [Slot(754)] + public static extern unsafe void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (IntPtr)v, EntryPoints[754]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -77298,24 +52292,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapiv")] - public static + [Slot(755)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (IntPtr)v_ptr, EntryPoints[755]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -77336,25 +52317,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapiv")] - public static + [Slot(755)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (IntPtr)v_ptr, EntryPoints[755]); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -77376,18 +52343,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapiv")] - public static + [Slot(755)] + public static extern unsafe void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (IntPtr)v, EntryPoints[755]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return material parameters @@ -77408,24 +52368,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static + [Slot(759)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[759]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return material parameters @@ -77446,25 +52393,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static + [Slot(759)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[759]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return material parameters @@ -77486,18 +52419,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static + [Slot(759)] + public static extern unsafe void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params, EntryPoints[759]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return material parameters @@ -77518,24 +52444,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMaterialiv")] - public static + [Slot(760)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[760]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return material parameters @@ -77556,25 +52469,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMaterialiv")] - public static + [Slot(760)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[760]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return material parameters @@ -77596,18 +52495,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMaterialiv")] - public static + [Slot(760)] + public static extern unsafe void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params, EntryPoints[760]); - #if DEBUG - } - #endif - } + ; + /// /// Get minimum and maximum pixel values @@ -77638,18 +52530,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static + [Slot(763)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values, EntryPoints[763]); - #if DEBUG - } - #endif - } + ; + /// /// Get minimum and maximum pixel values @@ -77680,27 +52565,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static + [Slot(763)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[763]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get minimum and maximum pixel values @@ -77731,27 +52601,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static + [Slot(763)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[763]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get minimum and maximum pixel values @@ -77782,27 +52637,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static + [Slot(763)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[763]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get minimum and maximum pixel values @@ -77833,28 +52673,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static + [Slot(763)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[763]); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get minmax parameters @@ -77875,24 +52699,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameterfv")] - public static + [Slot(765)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[765]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get minmax parameters @@ -77913,25 +52724,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameterfv")] - public static + [Slot(765)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[765]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get minmax parameters @@ -77953,18 +52750,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameterfv")] - public static + [Slot(765)] + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (IntPtr)@params, EntryPoints[765]); - #if DEBUG - } - #endif - } + ; + /// /// Get minmax parameters @@ -77985,24 +52775,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameteriv")] - public static + [Slot(767)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[767]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get minmax parameters @@ -78023,25 +52800,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameteriv")] - public static + [Slot(767)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[767]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get minmax parameters @@ -78063,18 +52826,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameteriv")] - public static + [Slot(767)] + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (IntPtr)@params, EntryPoints[767]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -78095,24 +52851,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static + [Slot(769)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[769]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -78133,25 +52876,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static + [Slot(769)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[769]); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -78173,18 +52902,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static + [Slot(769)] + public static extern unsafe void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, Int32 index, [OutAttribute] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (IntPtr)val, EntryPoints[769]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -78206,24 +52928,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static + [Slot(769)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[769]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -78245,25 +52954,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static + [Slot(769)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[769]); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -78285,18 +52980,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static + [Slot(769)] + public static extern unsafe void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (IntPtr)val, EntryPoints[769]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -78327,24 +53015,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static + [Slot(818)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[818]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -78375,25 +53050,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static + [Slot(818)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[818]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -78425,18 +53086,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static + [Slot(818)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[818]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -78468,24 +53122,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static + [Slot(818)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[818]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -78517,25 +53158,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static + [Slot(818)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[818]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -78567,18 +53194,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static + [Slot(818)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[818]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -78604,24 +53224,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[824]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -78647,25 +53254,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[824]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -78692,18 +53285,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[824]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -78729,33 +53315,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[824]); - } - 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 @@ -78781,34 +53346,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[824]); - 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 @@ -78835,27 +53378,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[824]); - } - 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 @@ -78881,33 +53409,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[824]); - } - 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 @@ -78933,34 +53440,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[824]); - 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 @@ -78987,27 +53472,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[824]); - } - 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 @@ -79033,33 +53503,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[824]); - } - 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 @@ -79085,34 +53534,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[824]); - 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 @@ -79139,27 +53566,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[824]); - } - 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 @@ -79185,34 +53597,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[824]); - 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 @@ -79238,35 +53628,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[824]); - 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 @@ -79293,28 +53660,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(824)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[824]); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79330,24 +53681,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapfv")] - public static + [Slot(847)] + public static extern Single GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* values_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values_ptr, EntryPoints[847]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79363,24 +53701,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapfv")] - public static + [Slot(847)] + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = values) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values_ptr, EntryPoints[847]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79396,25 +53721,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapfv")] - public static + [Slot(847)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values_ptr, EntryPoints[847]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79431,18 +53742,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapfv")] - public static + [Slot(847)] + public static extern unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values, EntryPoints[847]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79458,24 +53762,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static + [Slot(848)] + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = values) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values_ptr, EntryPoints[848]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79491,25 +53782,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static + [Slot(848)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values_ptr, EntryPoints[848]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79526,18 +53803,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static + [Slot(848)] + public static extern unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values, EntryPoints[848]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79554,24 +53824,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static + [Slot(848)] + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = values) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values_ptr, EntryPoints[848]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79588,25 +53845,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static + [Slot(848)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values_ptr, EntryPoints[848]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79623,18 +53866,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static + [Slot(848)] + public static extern unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values, EntryPoints[848]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79650,24 +53886,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static + [Slot(849)] + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = values) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values_ptr, EntryPoints[849]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79683,25 +53906,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static + [Slot(849)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values_ptr, EntryPoints[849]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79718,18 +53927,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static + [Slot(849)] + public static extern unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values, EntryPoints[849]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79746,24 +53948,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static + [Slot(849)] + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = values) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values_ptr, EntryPoints[849]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79780,25 +53969,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static + [Slot(849)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values_ptr, EntryPoints[849]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -79815,77 +53990,36 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static + [Slot(849)] + public static extern unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (IntPtr)values, EntryPoints[849]); - #if DEBUG - } - #endif - } + ; + /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")] - public static + [Slot(850)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (IntPtr)values_ptr, EntryPoints[850]); - } - } - #if DEBUG - } - #endif - } + ; + /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")] - public static + [Slot(850)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (IntPtr)values_ptr, EntryPoints[850]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")] - public static + [Slot(850)] + public static extern unsafe void GetPixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, [OutAttribute] int* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (IntPtr)values, EntryPoints[850]); - #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 @@ -79901,18 +54035,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3", Version = "1.1", EntryPoint = "glGetPointerv")] - public static + [Slot(857)] + public static extern void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params, EntryPoints[857]); - #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 @@ -79928,27 +54055,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3", Version = "1.1", EntryPoint = "glGetPointerv")] - public static + [Slot(857)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[857]); - } - 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 @@ -79964,27 +54076,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3", Version = "1.1", EntryPoint = "glGetPointerv")] - public static + [Slot(857)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[857]); - } - 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 @@ -80000,27 +54097,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3", Version = "1.1", EntryPoint = "glGetPointerv")] - public static + [Slot(857)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[857]); - } - 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 @@ -80036,28 +54118,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3", Version = "1.1", EntryPoint = "glGetPointerv")] - public static + [Slot(857)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[857]); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the polygon stipple pattern @@ -80068,24 +54134,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPolygonStipple")] - public static + [Slot(860)] + public static extern Byte GetPolygonStipple() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Byte retval; - Byte* mask_ptr = &retval; - InteropHelper.Call((IntPtr)mask_ptr, EntryPoints[860]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the polygon stipple pattern @@ -80096,24 +54149,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPolygonStipple")] - public static + [Slot(860)] + public static extern void GetPolygonStipple([OutAttribute] Byte[] mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* mask_ptr = mask) - { - InteropHelper.Call((IntPtr)mask_ptr, EntryPoints[860]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the polygon stipple pattern @@ -80124,25 +54164,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPolygonStipple")] - public static + [Slot(860)] + public static extern void GetPolygonStipple([OutAttribute] out Byte mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* mask_ptr = &mask) - { - InteropHelper.Call((IntPtr)mask_ptr, EntryPoints[860]); - mask = *mask_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return the polygon stipple pattern @@ -80154,18 +54180,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPolygonStipple")] - public static + [Slot(860)] + public static extern unsafe void GetPolygonStipple([OutAttribute] Byte* mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)mask, EntryPoints[860]); - #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 @@ -80196,27 +54215,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[861]); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #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 @@ -80247,36 +54250,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - 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 @@ -80307,36 +54286,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - 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 @@ -80367,36 +54322,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - 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 @@ -80427,37 +54358,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - 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 @@ -80489,18 +54395,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary, EntryPoints[861]); - #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 @@ -80532,27 +54431,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - } - 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 @@ -80584,27 +54468,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - } - 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 @@ -80636,27 +54505,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - } - 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 @@ -80688,28 +54542,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - 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 @@ -80741,27 +54579,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[861]); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #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 @@ -80793,36 +54615,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - 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 @@ -80854,36 +54652,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - 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 @@ -80915,36 +54689,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - 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 @@ -80976,37 +54726,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - 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 @@ -81038,18 +54763,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary, EntryPoints[861]); - #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 @@ -81081,27 +54799,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - } - 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 @@ -81133,27 +54836,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - } - 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 @@ -81185,27 +54873,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - } - 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 @@ -81237,28 +54910,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(861)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[861]); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a program object @@ -81284,25 +54941,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(866)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[866]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a program object @@ -81329,18 +54972,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(866)] + public static extern unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[866]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a program object @@ -81367,25 +55003,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(866)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[866]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a program object @@ -81412,18 +55034,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(866)] + public static extern unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[866]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -81449,24 +55064,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static + [Slot(867)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (IntPtr)@params_ptr, EntryPoints[867]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -81492,25 +55094,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static + [Slot(867)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (IntPtr)@params_ptr, EntryPoints[867]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -81537,18 +55125,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static + [Slot(867)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (IntPtr)@params, EntryPoints[867]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -81575,24 +55156,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static + [Slot(867)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (IntPtr)@params_ptr, EntryPoints[867]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -81619,25 +55187,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static + [Slot(867)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (IntPtr)@params_ptr, EntryPoints[867]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -81664,18 +55218,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static + [Slot(867)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (IntPtr)@params, EntryPoints[867]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -81696,24 +55243,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(868)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[868]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -81734,25 +55268,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(868)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[868]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -81774,18 +55294,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(868)] + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[868]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -81807,24 +55320,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use GetProgramParameterName overload instead")] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(868)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[868]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -81846,25 +55346,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use GetProgramParameterName overload instead")] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(868)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[868]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -81887,18 +55373,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use GetProgramParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(868)] + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[868]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -81920,24 +55399,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(868)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[868]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -81959,25 +55425,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(868)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[868]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -81999,18 +55451,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(868)] + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[868]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -82033,24 +55478,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use GetProgramParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(868)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[868]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -82073,25 +55505,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use GetProgramParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(868)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[868]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -82114,18 +55532,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use GetProgramParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(868)] + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[868]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -82151,25 +55562,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static + [Slot(879)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[879]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -82196,18 +55593,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static + [Slot(879)] + public static extern unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[879]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -82234,25 +55624,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static + [Slot(879)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[879]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -82279,18 +55655,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static + [Slot(879)] + public static extern unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[879]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -82311,24 +55680,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static + [Slot(881)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (IntPtr)@params_ptr, EntryPoints[881]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -82349,25 +55705,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static + [Slot(881)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (IntPtr)@params_ptr, EntryPoints[881]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -82389,18 +55731,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static + [Slot(881)] + public static extern unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (IntPtr)@params, EntryPoints[881]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -82422,24 +55757,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static + [Slot(881)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (IntPtr)@params_ptr, EntryPoints[881]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -82461,25 +55783,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static + [Slot(881)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (IntPtr)@params_ptr, EntryPoints[881]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -82501,18 +55809,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static + [Slot(881)] + public static extern unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (IntPtr)@params, EntryPoints[881]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the index of a named resource within a program @@ -82533,18 +55834,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceIndex")] - public static + [Slot(883)] + public static extern Int32 GetProgramResourceIndex(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name, EntryPoints[883]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the index of a named resource within a program @@ -82566,18 +55860,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceIndex")] - public static + [Slot(883)] + public static extern Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name, EntryPoints[883]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -82593,26 +55880,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static + [Slot(884)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (IntPtr)props_ptr, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)@params_ptr, EntryPoints[884]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -82628,28 +55900,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static + [Slot(884)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (IntPtr)props_ptr, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)@params_ptr, EntryPoints[884]); - length = *length_ptr; - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -82666,18 +55921,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static + [Slot(884)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (IntPtr)props, (Int32)bufSize, (IntPtr)length, (IntPtr)@params, EntryPoints[884]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -82694,26 +55942,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static + [Slot(884)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (IntPtr)props_ptr, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)@params_ptr, EntryPoints[884]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -82730,28 +55963,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static + [Slot(884)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (IntPtr)props_ptr, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)@params_ptr, EntryPoints[884]); - length = *length_ptr; - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -82768,18 +55984,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static + [Slot(884)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (IntPtr)props, (Int32)bufSize, (IntPtr)length, (IntPtr)@params, EntryPoints[884]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the location of a named resource within a program @@ -82800,18 +56009,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocation")] - public static + [Slot(885)] + public static extern Int32 GetProgramResourceLocation(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name, EntryPoints[885]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the location of a named resource within a program @@ -82833,18 +56035,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocation")] - public static + [Slot(885)] + public static extern Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name, EntryPoints[885]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the fragment color index of a named variable within a program @@ -82865,18 +56060,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocationIndex")] - public static + [Slot(886)] + public static extern Int32 GetProgramResourceLocationIndex(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name, EntryPoints[886]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the fragment color index of a named variable within a program @@ -82898,18 +56086,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocationIndex")] - public static + [Slot(886)] + public static extern Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name, EntryPoints[886]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -82945,24 +56126,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static + [Slot(887)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[887]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -82998,25 +56166,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static + [Slot(887)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[887]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -83053,18 +56207,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static + [Slot(887)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (IntPtr)length, (StringBuilder)name, EntryPoints[887]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -83101,24 +56248,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static + [Slot(887)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[887]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -83155,25 +56289,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static + [Slot(887)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[887]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -83210,18 +56330,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static + [Slot(887)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (IntPtr)length, (StringBuilder)name, EntryPoints[887]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -83247,25 +56360,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static + [Slot(888)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (IntPtr)values_ptr, EntryPoints[888]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -83292,18 +56391,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static + [Slot(888)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (IntPtr)values, EntryPoints[888]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -83330,25 +56422,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static + [Slot(888)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (IntPtr)values_ptr, EntryPoints[888]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -83375,18 +56453,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static + [Slot(888)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (IntPtr)values, EntryPoints[888]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -83412,24 +56483,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static + [Slot(892)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[892]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -83455,25 +56513,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static + [Slot(892)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[892]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -83500,18 +56544,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static + [Slot(892)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (IntPtr)@params, EntryPoints[892]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -83538,24 +56575,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static + [Slot(892)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[892]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -83582,25 +56606,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static + [Slot(892)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[892]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -83627,18 +56637,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static + [Slot(892)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (IntPtr)@params, EntryPoints[892]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object target @@ -83659,24 +56662,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static + [Slot(893)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[893]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object target @@ -83697,25 +56687,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static + [Slot(893)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[893]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object target @@ -83737,18 +56713,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static + [Slot(893)] + public static extern unsafe void GetQuery(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.QueryTarget)target, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (IntPtr)@params, EntryPoints[893]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -83769,24 +56738,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static + [Slot(895)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[895]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -83807,25 +56763,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static + [Slot(895)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[895]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -83847,18 +56789,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static + [Slot(895)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[895]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -83880,24 +56815,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static + [Slot(895)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[895]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -83919,25 +56841,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static + [Slot(895)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[895]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -83959,18 +56867,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static + [Slot(895)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[895]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -83991,24 +56892,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static + [Slot(897)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[897]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -84029,25 +56917,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static + [Slot(897)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[897]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -84069,18 +56943,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static + [Slot(897)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[897]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -84102,24 +56969,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static + [Slot(897)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[897]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -84141,25 +56995,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static + [Slot(897)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[897]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -84181,18 +57021,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static + [Slot(897)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[897]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -84214,24 +57047,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjectui64v")] - public static + [Slot(899)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[899]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -84253,25 +57073,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjectui64v")] - public static + [Slot(899)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[899]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -84293,18 +57099,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjectui64v")] - public static + [Slot(899)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[899]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -84326,24 +57125,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(901)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[901]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -84365,25 +57151,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(901)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[901]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -84405,18 +57177,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(901)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[901]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about a bound renderbuffer object @@ -84437,24 +57202,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(903)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[903]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about a bound renderbuffer object @@ -84475,25 +57227,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(903)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[903]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about a bound renderbuffer object @@ -84515,18 +57253,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(903)] + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (IntPtr)@params, EntryPoints[903]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -84547,24 +57278,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(905)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[905]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -84585,25 +57303,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(905)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[905]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -84625,18 +57329,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(905)] + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[905]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -84658,24 +57355,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(905)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[905]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -84697,25 +57381,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(905)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[905]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -84737,199 +57407,90 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(905)] + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[905]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(906)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params_ptr, EntryPoints[906]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(906)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params_ptr, EntryPoints[906]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(906)] + public static extern unsafe void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params, EntryPoints[906]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(906)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params_ptr, EntryPoints[906]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(906)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params_ptr, EntryPoints[906]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(906)] + public static extern unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params, EntryPoints[906]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(907)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params_ptr, EntryPoints[907]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(907)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params_ptr, EntryPoints[907]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(907)] + public static extern unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (IntPtr)@params, EntryPoints[907]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -84950,24 +57511,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(908)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[908]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -84988,25 +57536,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(908)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[908]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -85028,18 +57562,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(908)] + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[908]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -85061,24 +57588,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(908)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[908]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -85100,25 +57614,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(908)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[908]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -85140,18 +57640,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(908)] + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[908]); - #if DEBUG - } - #endif - } + ; + /// /// Get separable convolution filter kernel images @@ -85187,18 +57680,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static + [Slot(909)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span, EntryPoints[909]); - #if DEBUG - } - #endif - } + ; + /// /// Get separable convolution filter kernel images @@ -85234,33 +57720,14 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static + [Slot(909)] + 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 - { - InteropHelper.Call((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(), EntryPoints[909]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get separable convolution filter kernel images @@ -85296,33 +57763,14 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static + [Slot(909)] + 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 - { - InteropHelper.Call((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(), EntryPoints[909]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get separable convolution filter kernel images @@ -85358,33 +57806,14 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static + [Slot(909)] + 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 - { - InteropHelper.Call((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(), EntryPoints[909]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get separable convolution filter kernel images @@ -85420,36 +57849,14 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static + [Slot(909)] + 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 - { - InteropHelper.Call((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(), EntryPoints[909]); - 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 @@ -85475,25 +57882,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(911)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[911]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a shader object @@ -85520,18 +57913,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(911)] + public static extern unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[911]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a shader object @@ -85558,25 +57944,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(911)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[911]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a shader object @@ -85603,18 +57975,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(911)] + public static extern unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[911]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a shader object @@ -85635,24 +58000,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(912)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[912]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a shader object @@ -85673,25 +58025,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(912)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[912]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a shader object @@ -85713,18 +58051,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(912)] + public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (IntPtr)@params, EntryPoints[912]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a shader object @@ -85746,24 +58077,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(912)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[912]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a shader object @@ -85785,25 +58103,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(912)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[912]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a shader object @@ -85825,18 +58129,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(912)] + public static extern unsafe void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (IntPtr)@params, EntryPoints[912]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -85862,25 +58159,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(913)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ShaderPrecision)precisiontype, (IntPtr)range_ptr, (IntPtr)precision_ptr, EntryPoints[913]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -85906,27 +58189,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(913)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ShaderPrecision)precisiontype, (IntPtr)range_ptr, (IntPtr)precision_ptr, EntryPoints[913]); - range = *range_ptr; - precision = *precision_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -85953,18 +58220,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(913)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ShaderPrecision)precisiontype, (IntPtr)range, (IntPtr)precision, EntryPoints[913]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the source code string from a shader object @@ -85990,25 +58250,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(914)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[914]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the source code string from a shader object @@ -86035,18 +58281,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(914)] + public static extern unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)source, EntryPoints[914]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the source code string from a shader object @@ -86073,25 +58312,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(914)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[914]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the source code string from a shader object @@ -86118,18 +58343,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(914)] + public static extern unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)source, EntryPoints[914]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a string describing the current GL connection @@ -86145,18 +58363,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetString")] - public static + [Slot(917)] + public static extern String GetString(OpenTK.Graphics.OpenGL.StringName name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.StringName)name, EntryPoints[917])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Return a string describing the current GL connection @@ -86173,18 +58384,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use StringNameIndexed overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static + [Slot(918)] + public static extern String GetString(OpenTK.Graphics.OpenGL.StringName name, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.StringNameIndexed)name, (UInt32)index, EntryPoints[918])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Return a string describing the current GL connection @@ -86202,18 +58406,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use StringNameIndexed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static + [Slot(918)] + public static extern String GetString(OpenTK.Graphics.OpenGL.StringName name, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.StringNameIndexed)name, (UInt32)index, EntryPoints[918])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Return a string describing the current GL connection @@ -86229,18 +58426,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static + [Slot(918)] + public static extern String GetString(OpenTK.Graphics.OpenGL.StringNameIndexed name, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.StringNameIndexed)name, (UInt32)index, EntryPoints[918])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Return a string describing the current GL connection @@ -86257,18 +58447,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static + [Slot(918)] + public static extern String GetString(OpenTK.Graphics.OpenGL.StringNameIndexed name, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.StringNameIndexed)name, (UInt32)index, EntryPoints[918])); } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -86289,18 +58472,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineIndex")] - public static + [Slot(919)] + public static extern Int32 GetSubroutineIndex(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name, EntryPoints[919]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -86322,18 +58498,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineIndex")] - public static + [Slot(919)] + public static extern Int32 GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name, EntryPoints[919]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -86354,18 +58523,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineUniformLocation")] - public static + [Slot(920)] + public static extern Int32 GetSubroutineUniformLocation(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name, EntryPoints[920]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -86387,18 +58549,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineUniformLocation")] - public static + [Slot(920)] + public static extern Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name, EntryPoints[920]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -86430,26 +58585,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use SyncParameterName overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static + [Slot(921)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[921]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -86481,27 +58621,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use SyncParameterName overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static + [Slot(921)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[921]); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -86534,18 +58658,11 @@ 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 + [Slot(921)] + public static extern 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 - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length, (IntPtr)values, EntryPoints[921]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -86576,26 +58693,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static + [Slot(921)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[921]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -86626,27 +58728,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static + [Slot(921)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[921]); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -86678,18 +58764,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static + [Slot(921)] + public static extern 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 - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length, (IntPtr)values, EntryPoints[921]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture environment parameters @@ -86710,24 +58789,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static + [Slot(924)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[924]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture environment parameters @@ -86748,25 +58814,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static + [Slot(924)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[924]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture environment parameters @@ -86788,18 +58840,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static + [Slot(924)] + public static extern unsafe void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[924]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture environment parameters @@ -86820,24 +58865,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static + [Slot(925)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[925]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture environment parameters @@ -86858,25 +58890,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static + [Slot(925)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[925]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture environment parameters @@ -86898,18 +58916,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static + [Slot(925)] + public static extern unsafe void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[925]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -86930,24 +58941,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGendv")] - public static + [Slot(928)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[928]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -86968,25 +58966,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGendv")] - public static + [Slot(928)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[928]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -87008,18 +58992,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGendv")] - public static + [Slot(928)] + public static extern unsafe void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params, EntryPoints[928]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -87040,24 +59017,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGenfv")] - public static + [Slot(929)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[929]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -87078,25 +59042,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGenfv")] - public static + [Slot(929)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[929]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -87118,18 +59068,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGenfv")] - public static + [Slot(929)] + public static extern unsafe void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params, EntryPoints[929]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -87150,24 +59093,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGeniv")] - public static + [Slot(930)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[930]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -87188,25 +59118,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGeniv")] - public static + [Slot(930)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[930]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -87228,18 +59144,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGeniv")] - public static + [Slot(930)] + public static extern unsafe void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params, EntryPoints[930]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a texture image @@ -87270,18 +59179,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static + [Slot(932)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels, EntryPoints[932]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a texture image @@ -87312,27 +59214,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static + [Slot(932)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[932]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a texture image @@ -87363,27 +59250,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static + [Slot(932)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[932]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a texture image @@ -87414,27 +59286,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static + [Slot(932)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[932]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a texture image @@ -87465,28 +59322,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static + [Slot(932)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[932]); - 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 @@ -87512,24 +59353,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] - public static + [Slot(933)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[933]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -87555,25 +59383,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] - public static + [Slot(933)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[933]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -87600,18 +59414,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] - public static + [Slot(933)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[933]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -87637,24 +59444,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] - public static + [Slot(934)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[934]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -87680,25 +59474,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] - public static + [Slot(934)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[934]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -87725,18 +59505,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] - public static + [Slot(934)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[934]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -87757,24 +59530,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(936)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[936]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -87795,25 +59555,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(936)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[936]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -87835,138 +59581,63 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(936)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[936]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static + [Slot(937)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[937]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static + [Slot(937)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[937]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static + [Slot(937)] + public static extern unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[937]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static + [Slot(939)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[939]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static + [Slot(939)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[939]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static + [Slot(939)] + public static extern unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[939]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -87987,24 +59658,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(941)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[941]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -88025,25 +59683,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(941)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[941]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -88065,18 +59709,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(941)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[941]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -88117,29 +59754,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(956)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[956]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -88180,29 +59799,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(956)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[956]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -88244,18 +59845,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(956)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[956]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -88297,18 +59891,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(956)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[956]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -88350,29 +59937,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(956)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[956]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -88414,29 +59983,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(956)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[956]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -88478,18 +60029,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(956)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[956]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -88531,18 +60075,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(956)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[956]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -88558,18 +60095,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformBlockIndex")] - public static + [Slot(959)] + public static extern Int32 GetUniformBlockIndex(Int32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)uniformBlockName, EntryPoints[959]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -88586,18 +60116,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformBlockIndex")] - public static + [Slot(959)] + public static extern Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)uniformBlockName, EntryPoints[959]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -88618,24 +60141,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static + [Slot(961)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[961]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -88656,25 +60166,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static + [Slot(961)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[961]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -88696,18 +60192,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static + [Slot(961)] + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[961]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -88729,24 +60218,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static + [Slot(961)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[961]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -88768,25 +60244,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static + [Slot(961)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[961]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -88808,18 +60270,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static + [Slot(961)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[961]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -88840,24 +60295,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(962)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[962]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -88878,25 +60320,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(962)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[962]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -88918,18 +60346,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(962)] + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[962]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -88951,24 +60372,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(962)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[962]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -88990,25 +60398,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(962)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[962]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -89030,18 +60424,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(962)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[962]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -89067,24 +60454,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static + [Slot(965)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices_ptr, EntryPoints[965]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -89110,25 +60484,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static + [Slot(965)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices_ptr, EntryPoints[965]); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -89155,18 +60515,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static + [Slot(965)] + public static extern unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices, EntryPoints[965]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -89193,24 +60546,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static + [Slot(965)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices_ptr, EntryPoints[965]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -89237,25 +60577,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static + [Slot(965)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices_ptr, EntryPoints[965]); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -89282,18 +60608,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static + [Slot(965)] + public static extern unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices, EntryPoints[965]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -89314,24 +60633,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(966)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[966]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -89352,25 +60658,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(966)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[966]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -89392,18 +60684,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(966)] + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[966]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -89425,24 +60710,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(966)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[966]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -89464,25 +60736,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(966)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[966]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -89504,18 +60762,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(966)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[966]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the location of a uniform variable @@ -89531,18 +60782,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static + [Slot(968)] + public static extern Int32 GetUniformLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[968]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the location of a uniform variable @@ -89559,18 +60803,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static + [Slot(968)] + public static extern Int32 GetUniformLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[968]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -89591,25 +60828,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static + [Slot(971)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (IntPtr)@params_ptr, EntryPoints[971]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -89631,18 +60854,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static + [Slot(971)] + public static extern unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (IntPtr)@params, EntryPoints[971]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -89664,25 +60880,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static + [Slot(971)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (IntPtr)@params_ptr, EntryPoints[971]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -89704,18 +60906,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static + [Slot(971)] + public static extern unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (IntPtr)@params, EntryPoints[971]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Returns the value of a uniform variable @@ -89737,24 +60932,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static + [Slot(973)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[973]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Returns the value of a uniform variable @@ -89776,25 +60958,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static + [Slot(973)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[973]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Returns the value of a uniform variable @@ -89816,18 +60984,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static + [Slot(973)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[973]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -89848,24 +61009,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static + [Slot(988)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[988]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -89886,25 +61034,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static + [Slot(988)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[988]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -89926,18 +61060,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static + [Slot(988)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[988]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -89959,24 +61086,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static + [Slot(988)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[988]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -89998,25 +61112,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static + [Slot(988)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[988]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -90038,18 +61138,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static + [Slot(988)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[988]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -90070,24 +61163,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(991)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[991]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -90108,25 +61188,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(991)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[991]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -90148,18 +61214,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(991)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[991]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -90181,24 +61240,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(991)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[991]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -90220,25 +61266,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(991)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[991]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -90260,134 +61292,64 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(991)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[991]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static + [Slot(994)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[994]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static + [Slot(994)] + public static extern unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[994]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static + [Slot(994)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[994]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static + [Slot(994)] + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[994]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static + [Slot(996)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[996]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static + [Slot(996)] + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[996]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -90408,24 +61370,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(998)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[998]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -90446,25 +61395,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(998)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[998]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -90486,18 +61421,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(998)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[998]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -90519,24 +61447,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(998)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[998]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -90558,25 +61473,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(998)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[998]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -90598,138 +61499,63 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(998)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[998]); - #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 = "glGetVertexAttribLdv")] - public static + [Slot(1001)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[1001]); - } - } - #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 = "glGetVertexAttribLdv")] - public static + [Slot(1001)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[1001]); - @params = *@params_ptr; - } - } - #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 = "glGetVertexAttribLdv")] - public static + [Slot(1001)] + public static extern unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[1001]); - #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 = "glGetVertexAttribLdv")] - public static + [Slot(1001)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[1001]); - } - } - #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 = "glGetVertexAttribLdv")] - public static + [Slot(1001)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[1001]); - @params = *@params_ptr; - } - } - #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 = "glGetVertexAttribLdv")] - public static + [Slot(1001)] + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[1001]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -90750,18 +61576,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(1006)] + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer, EntryPoints[1006]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -90782,27 +61601,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(1006)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1006]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -90823,27 +61627,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(1006)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1006]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -90864,27 +61653,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(1006)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1006]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -90905,28 +61679,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(1006)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1006]); - 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 @@ -90948,18 +61706,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(1006)] + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer, EntryPoints[1006]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -90981,27 +61732,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(1006)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1006]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -91023,27 +61759,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(1006)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1006]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -91065,27 +61786,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(1006)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1006]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -91107,28 +61813,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(1006)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1006]); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify implementation-specific hints @@ -91144,18 +61834,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glHint")] - public static + [Slot(1025)] + public static extern void Hint(OpenTK.Graphics.OpenGL.HintTarget target, OpenTK.Graphics.OpenGL.HintMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.HintTarget)target, (OpenTK.Graphics.OpenGL.HintMode)mode, EntryPoints[1025]); - #if DEBUG - } - #endif - } + ; + /// /// Define histogram table @@ -91181,18 +61864,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glHistogram")] - public static + [Slot(1027)] + public static extern void Histogram(OpenTK.Graphics.OpenGL.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.HistogramTarget)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink, EntryPoints[1027]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -91206,18 +61882,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexd")] - public static + [Slot(1035)] + public static extern void Index(Double c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)c, EntryPoints[1035]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -91232,18 +61901,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexdv")] - public static + [Slot(1036)] + public static extern unsafe void Index(Double* c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)c, EntryPoints[1036]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -91257,18 +61919,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexf")] - public static + [Slot(1037)] + public static extern void Index(Single c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)c, EntryPoints[1037]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -91283,18 +61938,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexfv")] - public static + [Slot(1040)] + public static extern unsafe void Index(Single* c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)c, EntryPoints[1040]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -91308,18 +61956,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexi")] - public static + [Slot(1041)] + public static extern void Index(Int32 c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)c, EntryPoints[1041]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -91334,18 +61975,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexiv")] - public static + [Slot(1042)] + public static extern unsafe void Index(Int32* c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)c, EntryPoints[1042]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Control the writing of individual bits in the color index buffers @@ -91356,18 +61990,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexMask")] - public static + [Slot(1043)] + public static extern void IndexMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[1043]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Control the writing of individual bits in the color index buffers @@ -91379,18 +62006,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexMask")] - public static + [Slot(1043)] + public static extern void IndexMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[1043]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of color indexes @@ -91411,18 +62031,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexPointer")] - public static + [Slot(1045)] + public static extern void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[1045]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of color indexes @@ -91443,27 +62056,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexPointer")] - public static + [Slot(1045)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1045]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of color indexes @@ -91484,27 +62082,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexPointer")] - public static + [Slot(1045)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1045]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of color indexes @@ -91525,27 +62108,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexPointer")] - public static + [Slot(1045)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1045]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of color indexes @@ -91566,28 +62134,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexPointer")] - public static + [Slot(1045)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1045]); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -91601,18 +62153,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexs")] - public static + [Slot(1048)] + public static extern void Index(Int16 c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)c, EntryPoints[1048]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -91627,18 +62172,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexsv")] - public static + [Slot(1049)] + public static extern unsafe void Index(Int16* c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)c, EntryPoints[1049]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Set the current color index @@ -91652,18 +62190,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexub")] - public static + [Slot(1050)] + public static extern void Index(Byte c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Byte)c, EntryPoints[1050]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Set the current color index @@ -91678,35 +62209,21 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexubv")] - public static + [Slot(1051)] + public static extern unsafe void Index(Byte* c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)c, EntryPoints[1051]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Initialize the name stack /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glInitNames")] - public static + [Slot(1054)] + public static extern void InitNames() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1054]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Simultaneously specify and enable several interleaved arrays @@ -91722,18 +62239,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static + [Slot(1058)] + public static extern void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer, EntryPoints[1058]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Simultaneously specify and enable several interleaved arrays @@ -91749,27 +62259,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static + [Slot(1058)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1058]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Simultaneously specify and enable several interleaved arrays @@ -91785,27 +62280,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static + [Slot(1058)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1058]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Simultaneously specify and enable several interleaved arrays @@ -91821,27 +62301,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static + [Slot(1058)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1058]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Simultaneously specify and enable several interleaved arrays @@ -91857,28 +62322,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static + [Slot(1058)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1058]); - 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 @@ -91889,18 +62338,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferData")] - public static + [Slot(1060)] + public static extern void InvalidateBufferData(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, EntryPoints[1060]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content of a buffer object's data store @@ -91912,18 +62354,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferData")] - public static + [Slot(1060)] + public static extern void InvalidateBufferData(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, EntryPoints[1060]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a buffer object's data store @@ -91944,18 +62379,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferSubData")] - public static + [Slot(1061)] + public static extern void InvalidateBufferSubData(Int32 buffer, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)length, EntryPoints[1061]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a buffer object's data store @@ -91977,18 +62405,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferSubData")] - public static + [Slot(1061)] + public static extern void InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)length, EntryPoints[1061]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content some or all of a framebuffer object's attachments @@ -92009,24 +62430,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateFramebuffer")] - public static + [Slot(1062)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[1062]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content some or all of a framebuffer object's attachments @@ -92047,24 +62455,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateFramebuffer")] - public static + [Slot(1062)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[1062]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content some or all of a framebuffer object's attachments @@ -92086,18 +62481,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateFramebuffer")] - public static + [Slot(1062)] + public static extern unsafe void InvalidateFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments, EntryPoints[1062]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -92138,24 +62526,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateSubFramebuffer")] - public static + [Slot(1063)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments_ptr = attachments) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[1063]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -92196,24 +62571,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateSubFramebuffer")] - public static + [Slot(1063)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments_ptr = &attachments) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[1063]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -92255,18 +62617,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateSubFramebuffer")] - public static + [Slot(1063)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[1063]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the entirety a texture image @@ -92282,18 +62637,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexImage")] - public static + [Slot(1064)] + public static extern void InvalidateTexImage(Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (Int32)level, EntryPoints[1064]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the entirety a texture image @@ -92310,18 +62658,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexImage")] - public static + [Slot(1064)] + public static extern void InvalidateTexImage(UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (Int32)level, EntryPoints[1064]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a texture image @@ -92367,18 +62708,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexSubImage")] - public static + [Slot(1065)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[1065]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a texture image @@ -92425,18 +62759,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexSubImage")] - public static + [Slot(1065)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[1065]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Determine if a name corresponds to a buffer object @@ -92447,18 +62774,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsBuffer")] - public static + [Slot(1067)] + public static extern bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[1067]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Determine if a name corresponds to a buffer object @@ -92470,18 +62790,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsBuffer")] - public static + [Slot(1067)] + public static extern bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[1067]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Test whether a capability is enabled @@ -92497,18 +62810,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIsEnabled")] - public static + [Slot(1070)] + public static extern bool IsEnabled(OpenTK.Graphics.OpenGL.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.EnableCap)cap, EntryPoints[1070]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Test whether a capability is enabled @@ -92524,18 +62830,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glIsEnabledi")] - public static + [Slot(1071)] + public static extern bool IsEnabled(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[1071]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Test whether a capability is enabled @@ -92552,18 +62851,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glIsEnabledi")] - public static + [Slot(1071)] + public static extern bool IsEnabled(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[1071]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a framebuffer object @@ -92574,18 +62866,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsFramebuffer")] - public static + [Slot(1075)] + public static extern bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, EntryPoints[1075]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a framebuffer object @@ -92597,18 +62882,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsFramebuffer")] - public static + [Slot(1075)] + public static extern bool IsFramebuffer(UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, EntryPoints[1075]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Determine if a name corresponds to a display list @@ -92619,18 +62897,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIsList")] - public static + [Slot(1079)] + public static extern bool IsList(Int32 list) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)list, EntryPoints[1079]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Determine if a name corresponds to a display list @@ -92642,18 +62913,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIsList")] - public static + [Slot(1079)] + public static extern bool IsList(UInt32 list) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)list, EntryPoints[1079]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Determines if a name corresponds to a program object @@ -92664,18 +62928,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static + [Slot(1088)] + public static extern bool IsProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[1088]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Determines if a name corresponds to a program object @@ -92687,18 +62944,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static + [Slot(1088)] + public static extern bool IsProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[1088]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Determine if a name corresponds to a program pipeline object @@ -92709,18 +62959,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glIsProgramPipeline")] - public static + [Slot(1091)] + public static extern bool IsProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)pipeline, EntryPoints[1091]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Determine if a name corresponds to a program pipeline object @@ -92732,18 +62975,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glIsProgramPipeline")] - public static + [Slot(1091)] + public static extern bool IsProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)pipeline, EntryPoints[1091]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Determine if a name corresponds to a query object @@ -92754,18 +62990,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsQuery")] - public static + [Slot(1093)] + public static extern bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[1093]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Determine if a name corresponds to a query object @@ -92777,18 +63006,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsQuery")] - public static + [Slot(1093)] + public static extern bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[1093]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a renderbuffer object @@ -92799,18 +63021,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsRenderbuffer")] - public static + [Slot(1095)] + public static extern bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)renderbuffer, EntryPoints[1095]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a renderbuffer object @@ -92822,18 +63037,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsRenderbuffer")] - public static + [Slot(1095)] + public static extern bool IsRenderbuffer(UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)renderbuffer, EntryPoints[1095]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Determine if a name corresponds to a sampler object @@ -92844,18 +63052,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glIsSampler")] - public static + [Slot(1097)] + public static extern bool IsSampler(Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)sampler, EntryPoints[1097]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Determine if a name corresponds to a sampler object @@ -92867,18 +63068,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glIsSampler")] - public static + [Slot(1097)] + public static extern bool IsSampler(UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)sampler, EntryPoints[1097]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Determines if a name corresponds to a shader object @@ -92889,18 +63083,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static + [Slot(1098)] + public static extern bool IsShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)shader, EntryPoints[1098]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Determines if a name corresponds to a shader object @@ -92912,18 +63099,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static + [Slot(1098)] + public static extern bool IsShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)shader, EntryPoints[1098]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Determine if a name corresponds to a sync object @@ -92934,18 +63114,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glIsSync")] - public static + [Slot(1099)] + public static extern bool IsSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, EntryPoints[1099]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Determine if a name corresponds to a texture @@ -92956,18 +63129,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIsTexture")] - public static + [Slot(1100)] + public static extern bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[1100]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Determine if a name corresponds to a texture @@ -92979,18 +63145,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIsTexture")] - public static + [Slot(1100)] + public static extern bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[1100]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Determine if a name corresponds to a transform feedback object @@ -93001,18 +63160,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glIsTransformFeedback")] - public static + [Slot(1104)] + public static extern bool IsTransformFeedback(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[1104]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Determine if a name corresponds to a transform feedback object @@ -93024,18 +63176,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glIsTransformFeedback")] - public static + [Slot(1104)] + public static extern bool IsTransformFeedback(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[1104]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Determine if a name corresponds to a vertex array object @@ -93046,18 +63191,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static + [Slot(1107)] + public static extern bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[1107]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Determine if a name corresponds to a vertex array object @@ -93069,18 +63207,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static + [Slot(1107)] + public static extern bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[1107]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set light source parameters @@ -93101,18 +63232,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightf")] - public static + [Slot(1112)] + public static extern void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single)param, EntryPoints[1112]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set light source parameters @@ -93133,24 +63257,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightfv")] - public static + [Slot(1113)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (IntPtr)@params_ptr, EntryPoints[1113]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set light source parameters @@ -93172,18 +63283,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightfv")] - public static + [Slot(1113)] + public static extern unsafe void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (IntPtr)@params, EntryPoints[1113]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set light source parameters @@ -93204,18 +63308,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLighti")] - public static + [Slot(1114)] + public static extern void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32)param, EntryPoints[1114]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set light source parameters @@ -93236,24 +63333,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightiv")] - public static + [Slot(1115)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (IntPtr)@params_ptr, EntryPoints[1115]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set light source parameters @@ -93275,18 +63359,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightiv")] - public static + [Slot(1115)] + public static extern unsafe void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (IntPtr)@params, EntryPoints[1115]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the lighting model parameters @@ -93302,18 +63379,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightModelf")] - public static + [Slot(1116)] + public static extern void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Single)param, EntryPoints[1116]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the lighting model parameters @@ -93329,24 +63399,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightModelfv")] - public static + [Slot(1117)] + public static extern void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (IntPtr)@params_ptr, EntryPoints[1117]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the lighting model parameters @@ -93363,18 +63420,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightModelfv")] - public static + [Slot(1117)] + public static extern unsafe void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (IntPtr)@params, EntryPoints[1117]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the lighting model parameters @@ -93390,18 +63440,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightModeli")] - public static + [Slot(1118)] + public static extern void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Int32)param, EntryPoints[1118]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the lighting model parameters @@ -93417,24 +63460,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightModeliv")] - public static + [Slot(1119)] + public static extern void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (IntPtr)@params_ptr, EntryPoints[1119]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the lighting model parameters @@ -93451,18 +63481,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightModeliv")] - public static + [Slot(1119)] + public static extern unsafe void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (IntPtr)@params, EntryPoints[1119]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the line stipple pattern @@ -93478,18 +63501,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLineStipple")] - public static + [Slot(1124)] + public static extern void LineStipple(Int32 factor, Int16 pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)factor, (UInt16)pattern, EntryPoints[1124]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the line stipple pattern @@ -93506,18 +63522,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLineStipple")] - public static + [Slot(1124)] + public static extern void LineStipple(Int32 factor, UInt16 pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)factor, (UInt16)pattern, EntryPoints[1124]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the width of rasterized lines @@ -93528,18 +63537,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLineWidth")] - public static + [Slot(1125)] + public static extern void LineWidth(Single width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)width, EntryPoints[1125]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Links a program object @@ -93550,18 +63552,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static + [Slot(1127)] + public static extern void LinkProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[1127]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Links a program object @@ -93573,18 +63568,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static + [Slot(1127)] + public static extern void LinkProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[1127]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the display-list base for glCallLists @@ -93595,18 +63583,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glListBase")] - public static + [Slot(1129)] + public static extern void ListBase(Int32 @base) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)@base, EntryPoints[1129]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the display-list base for glCallLists @@ -93618,35 +63599,21 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glListBase")] - public static + [Slot(1129)] + public static extern void ListBase(UInt32 @base) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)@base, EntryPoints[1129]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1134)] + public static extern void LoadIdentity() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1134]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Replace the current matrix with the specified matrix @@ -93657,24 +63624,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadMatrixd")] - public static + [Slot(1136)] + public static extern void LoadMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1136]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Replace the current matrix with the specified matrix @@ -93685,24 +63639,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadMatrixd")] - public static + [Slot(1136)] + public static extern void LoadMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1136]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Replace the current matrix with the specified matrix @@ -93714,18 +63655,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadMatrixd")] - public static + [Slot(1136)] + public static extern unsafe void LoadMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1136]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Replace the current matrix with the specified matrix @@ -93736,24 +63670,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static + [Slot(1137)] + public static extern void LoadMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1137]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Replace the current matrix with the specified matrix @@ -93764,24 +63685,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static + [Slot(1137)] + public static extern void LoadMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1137]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Replace the current matrix with the specified matrix @@ -93793,18 +63701,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static + [Slot(1137)] + public static extern unsafe void LoadMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1137]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Load a name onto the name stack @@ -93815,18 +63716,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadName")] - public static + [Slot(1139)] + public static extern void LoadName(Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)name, EntryPoints[1139]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Load a name onto the name stack @@ -93838,18 +63732,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadName")] - public static + [Slot(1139)] + public static extern void LoadName(UInt32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)name, EntryPoints[1139]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Replace the current matrix with the specified row-major ordered matrix @@ -93860,24 +63747,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] - public static + [Slot(1141)] + public static extern void LoadTransposeMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1141]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Replace the current matrix with the specified row-major ordered matrix @@ -93888,24 +63762,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] - public static + [Slot(1141)] + public static extern void LoadTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1141]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Replace the current matrix with the specified row-major ordered matrix @@ -93917,18 +63778,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] - public static + [Slot(1141)] + public static extern unsafe void LoadTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1141]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Replace the current matrix with the specified row-major ordered matrix @@ -93939,24 +63793,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] - public static + [Slot(1143)] + public static extern void LoadTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1143]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Replace the current matrix with the specified row-major ordered matrix @@ -93967,24 +63808,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] - public static + [Slot(1143)] + public static extern void LoadTransposeMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1143]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Replace the current matrix with the specified row-major ordered matrix @@ -93996,18 +63824,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] - public static + [Slot(1143)] + public static extern unsafe void LoadTransposeMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1143]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a logical pixel operation for rendering @@ -94018,18 +63839,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLogicOp")] - public static + [Slot(1147)] + public static extern void LogicOp(OpenTK.Graphics.OpenGL.LogicOp opcode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.LogicOp)opcode, EntryPoints[1147]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a one-dimensional evaluator @@ -94060,24 +63874,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap1d")] - public static + [Slot(1160)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (IntPtr)points_ptr, EntryPoints[1160]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a one-dimensional evaluator @@ -94108,24 +63909,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap1d")] - public static + [Slot(1160)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (IntPtr)points_ptr, EntryPoints[1160]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a one-dimensional evaluator @@ -94157,18 +63945,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap1d")] - public static + [Slot(1160)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (IntPtr)points, EntryPoints[1160]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a one-dimensional evaluator @@ -94199,24 +63980,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap1f")] - public static + [Slot(1161)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (IntPtr)points_ptr, EntryPoints[1161]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a one-dimensional evaluator @@ -94247,24 +64015,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap1f")] - public static + [Slot(1161)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (IntPtr)points_ptr, EntryPoints[1161]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a one-dimensional evaluator @@ -94296,18 +64051,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap1f")] - public static + [Slot(1161)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (IntPtr)points, EntryPoints[1161]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a two-dimensional evaluator @@ -94353,24 +64101,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap2d")] - public static + [Slot(1163)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points_ptr, EntryPoints[1163]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a two-dimensional evaluator @@ -94416,24 +64151,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap2d")] - public static + [Slot(1163)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points_ptr, EntryPoints[1163]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a two-dimensional evaluator @@ -94480,18 +64202,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap2d")] - public static + [Slot(1163)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points, EntryPoints[1163]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a two-dimensional evaluator @@ -94537,24 +64252,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap2f")] - public static + [Slot(1164)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points_ptr, EntryPoints[1164]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a two-dimensional evaluator @@ -94600,24 +64302,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap2f")] - public static + [Slot(1164)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points_ptr, EntryPoints[1164]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a two-dimensional evaluator @@ -94664,18 +64353,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap2f")] - public static + [Slot(1164)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (IntPtr)points, EntryPoints[1164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Map a buffer object's data store @@ -94691,18 +64373,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glMapBuffer")] - public static + [Slot(1166)] + public static extern IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferAccess)access, EntryPoints[1166]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_map_buffer_range|VERSION_3_0] /// Map a section of a buffer object's data store @@ -94728,18 +64403,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_map_buffer_range|VERSION_3_0", Version = "3.0", EntryPoint = "glMapBufferRange")] - public static + [Slot(1168)] + public static extern 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 InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL.BufferAccessMask)access, EntryPoints[1168]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a one- or two-dimensional mesh @@ -94765,18 +64433,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMapGrid1d")] - public static + [Slot(1170)] + public static extern void MapGrid1(Int32 un, Double u1, Double u2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)un, (Double)u1, (Double)u2, EntryPoints[1170]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a one- or two-dimensional mesh @@ -94802,18 +64463,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMapGrid1f")] - public static + [Slot(1171)] + public static extern void MapGrid1(Int32 un, Single u1, Single u2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)un, (Single)u1, (Single)u2, EntryPoints[1171]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a one- or two-dimensional mesh @@ -94839,18 +64493,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMapGrid2d")] - public static + [Slot(1173)] + public static extern void MapGrid2(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)un, (Double)u1, (Double)u2, (Int32)vn, (Double)v1, (Double)v2, EntryPoints[1173]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Define a one- or two-dimensional mesh @@ -94876,18 +64523,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMapGrid2f")] - public static + [Slot(1174)] + public static extern void MapGrid2(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)un, (Single)u1, (Single)u2, (Int32)vn, (Single)v1, (Single)v2, EntryPoints[1174]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify material parameters for the lighting model @@ -94908,18 +64548,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMaterialf")] - public static + [Slot(1186)] + public static extern void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single)param, EntryPoints[1186]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify material parameters for the lighting model @@ -94940,24 +64573,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMaterialfv")] - public static + [Slot(1187)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[1187]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify material parameters for the lighting model @@ -94979,18 +64599,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMaterialfv")] - public static + [Slot(1187)] + public static extern unsafe void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params, EntryPoints[1187]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify material parameters for the lighting model @@ -95011,18 +64624,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMateriali")] - public static + [Slot(1188)] + public static extern void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32)param, EntryPoints[1188]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify material parameters for the lighting model @@ -95043,24 +64649,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMaterialiv")] - public static + [Slot(1189)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[1189]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify material parameters for the lighting model @@ -95082,18 +64675,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMaterialiv")] - public static + [Slot(1189)] + public static extern unsafe void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params, EntryPoints[1189]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify which matrix is the current matrix @@ -95104,18 +64690,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMatrixMode")] - public static + [Slot(1202)] + public static extern void MatrixMode(OpenTK.Graphics.OpenGL.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, EntryPoints[1202]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_image_load_store|VERSION_4_2] /// Defines a barrier ordering memory transactions @@ -95126,18 +64705,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_image_load_store|VERSION_4_2", Version = "4.2", EntryPoint = "glMemoryBarrier")] - public static + [Slot(1216)] + public static extern void MemoryBarrier(OpenTK.Graphics.OpenGL.MemoryBarrierFlags barriers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MemoryBarrierFlags)barriers, EntryPoints[1216]); - #if DEBUG - } - #endif - } + ; + /// /// Define minmax table @@ -95158,18 +64730,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glMinmax")] - public static + [Slot(1218)] + public static extern void Minmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink, EntryPoints[1218]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specifies minimum rate at which sample shaing takes place @@ -95180,18 +64745,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glMinSampleShading")] - public static + [Slot(1220)] + public static extern void MinSampleShading(Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)value, EntryPoints[1220]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -95218,25 +64776,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static + [Slot(1222)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)drawcount, EntryPoints[1222]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -95263,25 +64807,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static + [Slot(1222)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)drawcount, EntryPoints[1222]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -95309,18 +64839,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static + [Slot(1222)] + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first, (IntPtr)count, (Int32)drawcount, EntryPoints[1222]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -95346,25 +64869,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static + [Slot(1222)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)drawcount, EntryPoints[1222]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -95390,25 +64899,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static + [Slot(1222)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)drawcount, EntryPoints[1222]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -95435,18 +64930,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static + [Slot(1222)] + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first, (IntPtr)count, (Int32)drawcount, EntryPoints[1222]); - #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 @@ -95472,18 +64960,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static + [Slot(1224)] + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect, (Int32)drawcount, (Int32)stride, EntryPoints[1224]); - #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 @@ -95509,27 +64990,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static + [Slot(1224)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[1224]); - } - 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 @@ -95555,27 +65021,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static + [Slot(1224)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[1224]); - } - 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 @@ -95601,27 +65052,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static + [Slot(1224)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[1224]); - } - 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 @@ -95647,28 +65083,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static + [Slot(1224)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[1224]); - 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 @@ -95700,24 +65120,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, EntryPoints[1229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -95749,33 +65156,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -95807,33 +65193,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -95865,33 +65230,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -95923,34 +65267,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - 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 @@ -95982,24 +65304,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, EntryPoints[1229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96031,33 +65340,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96089,33 +65377,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96147,33 +65414,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96205,34 +65451,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - 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 @@ -96265,18 +65489,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, EntryPoints[1229]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96309,27 +65526,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96362,27 +65564,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96415,27 +65602,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96468,28 +65640,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - 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 @@ -96520,24 +65676,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, EntryPoints[1229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96568,33 +65711,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96625,33 +65747,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96682,33 +65783,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96739,34 +65819,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - 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 @@ -96797,24 +65855,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, EntryPoints[1229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96845,33 +65890,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96902,33 +65926,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -96959,33 +65962,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -97016,34 +65998,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - 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 @@ -97075,18 +66035,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, EntryPoints[1229]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -97118,27 +66071,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -97170,27 +66108,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -97222,27 +66145,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -97274,28 +66182,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(1229)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[1229]); - 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 @@ -97332,25 +66224,11 @@ 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 + [Slot(1230)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - } - #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 @@ -97387,34 +66265,12 @@ 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 + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - 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 @@ -97451,34 +66307,12 @@ 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 + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - 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 @@ -97515,34 +66349,12 @@ 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 + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - 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 @@ -97579,35 +66391,12 @@ 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 + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - 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 @@ -97644,25 +66433,11 @@ 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 + [Slot(1230)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - } - #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 @@ -97699,34 +66474,12 @@ 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 + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - 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 @@ -97763,34 +66516,12 @@ 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 + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - 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 @@ -97827,34 +66558,12 @@ 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 + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - 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 @@ -97891,35 +66600,12 @@ 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 + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - 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 @@ -97957,18 +66643,11 @@ 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 + [Slot(1230)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (IntPtr)basevertex, EntryPoints[1230]); - #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 @@ -98006,27 +66685,12 @@ 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 + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex, EntryPoints[1230]); - } - 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 @@ -98064,27 +66728,12 @@ 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 + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex, EntryPoints[1230]); - } - 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 @@ -98122,27 +66771,12 @@ 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 + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex, EntryPoints[1230]); - } - 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 @@ -98180,28 +66814,12 @@ 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 + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex, EntryPoints[1230]); - 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 @@ -98237,25 +66855,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - } - #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 @@ -98291,34 +66895,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - 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 @@ -98354,34 +66936,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - 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 @@ -98417,34 +66977,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - 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 @@ -98480,35 +67018,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - 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 @@ -98544,25 +67059,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - } - #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 @@ -98598,34 +67099,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - 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 @@ -98661,34 +67140,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - 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 @@ -98724,34 +67181,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - } - 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 @@ -98787,35 +67222,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[1230]); - 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 @@ -98852,18 +67264,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (IntPtr)basevertex, EntryPoints[1230]); - #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 @@ -98900,27 +67305,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex, EntryPoints[1230]); - } - 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 @@ -98957,27 +67347,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex, EntryPoints[1230]); - } - 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 @@ -99014,27 +67389,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex, EntryPoints[1230]); - } - 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 @@ -99071,28 +67431,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(1230)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex, EntryPoints[1230]); - 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 @@ -99123,18 +67467,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static + [Slot(1232)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect, (Int32)drawcount, (Int32)stride, EntryPoints[1232]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render indexed primitives from array data, taking parameters from memory @@ -99165,27 +67502,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static + [Slot(1232)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[1232]); - } - 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 @@ -99216,27 +67538,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static + [Slot(1232)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[1232]); - } - 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 @@ -99267,27 +67574,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static + [Slot(1232)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[1232]); - } - 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 @@ -99318,28 +67610,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static + [Slot(1232)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[1232]); - indirect = (T2)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99355,18 +67631,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1d")] - public static + [Slot(1242)] + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, EntryPoints[1242]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99383,18 +67652,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1dv")] - public static + [Slot(1244)] + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1244]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99410,18 +67672,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1f")] - public static + [Slot(1246)] + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, EntryPoints[1246]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99438,18 +67693,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1fv")] - public static + [Slot(1248)] + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1248]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99465,18 +67713,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1i")] - public static + [Slot(1252)] + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, EntryPoints[1252]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99493,18 +67734,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1iv")] - public static + [Slot(1254)] + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1254]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99520,18 +67754,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1s")] - public static + [Slot(1256)] + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, EntryPoints[1256]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99548,18 +67775,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1sv")] - public static + [Slot(1258)] + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1258]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99575,18 +67795,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2d")] - public static + [Slot(1264)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, EntryPoints[1264]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99602,24 +67815,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] - public static + [Slot(1266)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1266]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99635,24 +67835,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] - public static + [Slot(1266)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1266]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99669,18 +67856,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] - public static + [Slot(1266)] + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1266]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99696,18 +67876,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2f")] - public static + [Slot(1268)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, EntryPoints[1268]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99723,24 +67896,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] - public static + [Slot(1270)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1270]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99756,24 +67916,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] - public static + [Slot(1270)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1270]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99790,18 +67937,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] - public static + [Slot(1270)] + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1270]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99817,18 +67957,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2i")] - public static + [Slot(1274)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, EntryPoints[1274]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99844,24 +67977,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] - public static + [Slot(1276)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1276]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99877,24 +67997,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] - public static + [Slot(1276)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1276]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99911,18 +68018,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] - public static + [Slot(1276)] + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1276]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99938,18 +68038,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2s")] - public static + [Slot(1278)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, EntryPoints[1278]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99965,24 +68058,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] - public static + [Slot(1280)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1280]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -99998,24 +68078,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] - public static + [Slot(1280)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1280]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100032,18 +68099,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] - public static + [Slot(1280)] + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1280]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100059,18 +68119,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3d")] - public static + [Slot(1286)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r, EntryPoints[1286]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100086,24 +68139,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] - public static + [Slot(1288)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1288]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100119,24 +68159,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] - public static + [Slot(1288)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1288]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100153,18 +68180,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] - public static + [Slot(1288)] + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1288]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100180,18 +68200,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3f")] - public static + [Slot(1290)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r, EntryPoints[1290]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100207,24 +68220,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] - public static + [Slot(1292)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1292]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100240,24 +68240,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] - public static + [Slot(1292)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1292]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100274,18 +68261,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] - public static + [Slot(1292)] + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1292]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100301,18 +68281,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3i")] - public static + [Slot(1296)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, EntryPoints[1296]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100328,24 +68301,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] - public static + [Slot(1298)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1298]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100361,24 +68321,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] - public static + [Slot(1298)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1298]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100395,18 +68342,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] - public static + [Slot(1298)] + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1298]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100422,18 +68362,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3s")] - public static + [Slot(1300)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, EntryPoints[1300]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100449,24 +68382,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] - public static + [Slot(1302)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1302]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100482,24 +68402,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] - public static + [Slot(1302)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1302]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100516,18 +68423,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] - public static + [Slot(1302)] + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1302]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100543,18 +68443,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4d")] - public static + [Slot(1308)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q, EntryPoints[1308]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100570,24 +68463,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] - public static + [Slot(1310)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1310]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100603,24 +68483,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] - public static + [Slot(1310)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1310]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100637,18 +68504,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] - public static + [Slot(1310)] + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1310]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100664,18 +68524,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4f")] - public static + [Slot(1312)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q, EntryPoints[1312]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100691,24 +68544,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] - public static + [Slot(1314)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1314]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100724,24 +68564,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] - public static + [Slot(1314)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1314]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100758,18 +68585,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] - public static + [Slot(1314)] + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1314]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100785,18 +68605,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4i")] - public static + [Slot(1318)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q, EntryPoints[1318]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100812,24 +68625,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] - public static + [Slot(1320)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1320]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100845,24 +68645,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] - public static + [Slot(1320)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1320]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100879,18 +68666,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] - public static + [Slot(1320)] + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1320]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100906,18 +68686,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4s")] - public static + [Slot(1322)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q, EntryPoints[1322]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100933,24 +68706,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] - public static + [Slot(1324)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1324]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -100966,24 +68726,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] - public static + [Slot(1324)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1324]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -101000,270 +68747,151 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] - public static + [Slot(1324)] + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1324]); - #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 + [Slot(1328)] + public static extern void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1328]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1328)] + public static extern void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1328]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1329)] + public static extern unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1329]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1329)] + public static extern unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1329]); - #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 = "glMultiTexCoordP2ui")] - public static + [Slot(1330)] + public static extern void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1330]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1330)] + public static extern void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1330]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1331)] + public static extern unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1331]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1331)] + public static extern unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1331]); - #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 = "glMultiTexCoordP3ui")] - public static + [Slot(1332)] + public static extern void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1332]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1332)] + public static extern void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1332]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1333)] + public static extern unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1333]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1333)] + public static extern unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1333]); - #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 = "glMultiTexCoordP4ui")] - public static + [Slot(1334)] + public static extern void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1334]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1334)] + public static extern void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1334]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1335)] + public static extern unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1335]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1335)] + public static extern unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1335]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix with the specified matrix @@ -101274,24 +68902,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMultMatrixd")] - public static + [Slot(1360)] + public static extern void MultMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1360]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix with the specified matrix @@ -101302,24 +68917,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMultMatrixd")] - public static + [Slot(1360)] + public static extern void MultMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1360]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix with the specified matrix @@ -101331,18 +68933,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMultMatrixd")] - public static + [Slot(1360)] + public static extern unsafe void MultMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1360]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix with the specified matrix @@ -101353,24 +68948,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static + [Slot(1361)] + public static extern void MultMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1361]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix with the specified matrix @@ -101381,24 +68963,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static + [Slot(1361)] + public static extern void MultMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1361]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix with the specified matrix @@ -101410,18 +68979,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static + [Slot(1361)] + public static extern unsafe void MultMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1361]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Multiply the current matrix with the specified row-major ordered matrix @@ -101432,24 +68994,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] - public static + [Slot(1363)] + public static extern void MultTransposeMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1363]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Multiply the current matrix with the specified row-major ordered matrix @@ -101460,24 +69009,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] - public static + [Slot(1363)] + public static extern void MultTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1363]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Multiply the current matrix with the specified row-major ordered matrix @@ -101489,18 +69025,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] - public static + [Slot(1363)] + public static extern unsafe void MultTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1363]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Multiply the current matrix with the specified row-major ordered matrix @@ -101511,24 +69040,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] - public static + [Slot(1365)] + public static extern void MultTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1365]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Multiply the current matrix with the specified row-major ordered matrix @@ -101539,24 +69055,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] - public static + [Slot(1365)] + public static extern void MultTransposeMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1365]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3][deprecated: v3.2] /// Multiply the current matrix with the specified row-major ordered matrix @@ -101568,18 +69071,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] - public static + [Slot(1365)] + public static extern unsafe void MultTransposeMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1365]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Create or replace a display list @@ -101595,18 +69091,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNewList")] - public static + [Slot(1396)] + public static extern void NewList(Int32 list, OpenTK.Graphics.OpenGL.ListMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListMode)mode, EntryPoints[1396]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Create or replace a display list @@ -101623,18 +69112,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNewList")] - public static + [Slot(1396)] + public static extern void NewList(UInt32 list, OpenTK.Graphics.OpenGL.ListMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListMode)mode, EntryPoints[1396]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -101648,18 +69130,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3b")] - public static + [Slot(1398)] + public static extern void Normal3(Byte nx, Byte ny, Byte nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)nx, (SByte)ny, (SByte)nz, EntryPoints[1398]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -101674,18 +69149,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3b")] - public static + [Slot(1398)] + public static extern void Normal3(SByte nx, SByte ny, SByte nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)nx, (SByte)ny, (SByte)nz, EntryPoints[1398]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -101699,24 +69167,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3bv")] - public static + [Slot(1399)] + public static extern void Normal3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1399]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -101730,24 +69185,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3bv")] - public static + [Slot(1399)] + public static extern void Normal3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1399]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -101762,18 +69204,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3bv")] - public static + [Slot(1399)] + public static extern unsafe void Normal3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1399]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -101788,24 +69223,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3bv")] - public static + [Slot(1399)] + public static extern void Normal3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1399]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -101820,24 +69242,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3bv")] - public static + [Slot(1399)] + public static extern void Normal3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1399]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -101852,18 +69261,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3bv")] - public static + [Slot(1399)] + public static extern unsafe void Normal3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1399]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -101877,18 +69279,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3d")] - public static + [Slot(1400)] + public static extern void Normal3(Double nx, Double ny, Double nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)nx, (Double)ny, (Double)nz, EntryPoints[1400]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -101902,24 +69297,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3dv")] - public static + [Slot(1401)] + public static extern void Normal3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1401]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -101933,24 +69315,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3dv")] - public static + [Slot(1401)] + public static extern void Normal3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1401]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -101965,18 +69334,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3dv")] - public static + [Slot(1401)] + public static extern unsafe void Normal3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1401]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -101990,18 +69352,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3f")] - public static + [Slot(1402)] + public static extern void Normal3(Single nx, Single ny, Single nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)nx, (Single)ny, (Single)nz, EntryPoints[1402]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -102015,24 +69370,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3fv")] - public static + [Slot(1403)] + public static extern void Normal3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1403]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -102046,24 +69388,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3fv")] - public static + [Slot(1403)] + public static extern void Normal3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1403]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -102078,18 +69407,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3fv")] - public static + [Slot(1403)] + public static extern unsafe void Normal3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1403]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -102103,18 +69425,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3i")] - public static + [Slot(1408)] + public static extern void Normal3(Int32 nx, Int32 ny, Int32 nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)nx, (Int32)ny, (Int32)nz, EntryPoints[1408]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -102128,24 +69443,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3iv")] - public static + [Slot(1409)] + public static extern void Normal3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1409]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -102159,24 +69461,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3iv")] - public static + [Slot(1409)] + public static extern void Normal3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1409]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -102191,18 +69480,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3iv")] - public static + [Slot(1409)] + public static extern unsafe void Normal3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1409]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -102216,18 +69498,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3s")] - public static + [Slot(1410)] + public static extern void Normal3(Int16 nx, Int16 ny, Int16 nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)nx, (Int16)ny, (Int16)nz, EntryPoints[1410]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -102241,24 +69516,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3sv")] - public static + [Slot(1411)] + public static extern void Normal3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1411]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -102272,24 +69534,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3sv")] - public static + [Slot(1411)] + public static extern void Normal3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1411]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -102304,81 +69553,46 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3sv")] - public static + [Slot(1411)] + public static extern unsafe void Normal3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1411]); - #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 = "glNormalP3ui")] - public static + [Slot(1415)] + public static extern void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1415]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1415)] + public static extern void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1415]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1416)] + public static extern unsafe void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1416]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1416)] + public static extern unsafe void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1416]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of normals @@ -102399,18 +69613,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glNormalPointer")] - public static + [Slot(1417)] + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[1417]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of normals @@ -102431,27 +69638,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glNormalPointer")] - public static + [Slot(1417)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1417]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of normals @@ -102472,27 +69664,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glNormalPointer")] - public static + [Slot(1417)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1417]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of normals @@ -102513,27 +69690,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glNormalPointer")] - public static + [Slot(1417)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1417]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of normals @@ -102554,28 +69716,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glNormalPointer")] - public static + [Slot(1417)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1417]); - 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 @@ -102601,18 +69747,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectLabel")] - public static + [Slot(1431)] + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[1431]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a named object identified within a namespace @@ -102639,18 +69778,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectLabel")] - public static + [Slot(1431)] + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[1431]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -102671,18 +69803,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(1433)] + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)length, (String)label, EntryPoints[1433]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -102703,27 +69828,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(1433)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[1433]); - } - 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 @@ -102744,27 +69854,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(1433)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[1433]); - } - 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 @@ -102785,27 +69880,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(1433)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[1433]); - } - 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 @@ -102826,28 +69906,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(1433)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[1433]); - 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 @@ -102868,18 +69932,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glOrtho")] - public static + [Slot(1437)] + public static extern void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar, EntryPoints[1437]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Place a marker in the feedback buffer @@ -102890,18 +69947,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPassThrough")] - public static + [Slot(1441)] + public static extern void PassThrough(Single token) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)token, EntryPoints[1441]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -102922,24 +69972,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameterfv")] - public static + [Slot(1443)] + public static extern void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = values) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PatchParameterFloat)pname, (IntPtr)values_ptr, EntryPoints[1443]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -102960,24 +69997,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameterfv")] - public static + [Slot(1443)] + public static extern void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, ref Single values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = &values) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PatchParameterFloat)pname, (IntPtr)values_ptr, EntryPoints[1443]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -102999,18 +70023,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameterfv")] - public static + [Slot(1443)] + public static extern unsafe void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PatchParameterFloat)pname, (IntPtr)values, EntryPoints[1443]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -103031,35 +70048,21 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameteri")] - public static + [Slot(1444)] + public static extern void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterInt pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PatchParameterInt)pname, (Int32)value, EntryPoints[1444]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1463)] + public static extern void PauseTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1463]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103080,24 +70083,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapfv")] - public static + [Slot(1466)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values_ptr, EntryPoints[1466]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103118,24 +70108,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapfv")] - public static + [Slot(1466)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values_ptr, EntryPoints[1466]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103157,18 +70134,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapfv")] - public static + [Slot(1466)] + public static extern unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values, EntryPoints[1466]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103189,24 +70159,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static + [Slot(1467)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values_ptr, EntryPoints[1467]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103227,24 +70184,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static + [Slot(1467)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values_ptr, EntryPoints[1467]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103266,18 +70210,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static + [Slot(1467)] + public static extern unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values, EntryPoints[1467]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103299,24 +70236,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static + [Slot(1467)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values_ptr, EntryPoints[1467]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103338,24 +70262,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static + [Slot(1467)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values_ptr, EntryPoints[1467]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103377,18 +70288,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static + [Slot(1467)] + public static extern unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values, EntryPoints[1467]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103409,24 +70313,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static + [Slot(1468)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values_ptr, EntryPoints[1468]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103447,24 +70338,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static + [Slot(1468)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values_ptr, EntryPoints[1468]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103486,18 +70364,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static + [Slot(1468)] + public static extern unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values, EntryPoints[1468]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103519,24 +70390,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static + [Slot(1468)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values_ptr, EntryPoints[1468]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103558,24 +70416,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static + [Slot(1468)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values_ptr, EntryPoints[1468]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -103597,76 +70442,36 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static + [Slot(1468)] + public static extern unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (IntPtr)values, EntryPoints[1468]); - #if DEBUG - } - #endif - } + ; + /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")] - public static + [Slot(1469)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (IntPtr)values_ptr, EntryPoints[1469]); - } - } - #if DEBUG - } - #endif - } + ; + /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")] - public static + [Slot(1469)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (IntPtr)values_ptr, EntryPoints[1469]); - } - } - #if DEBUG - } - #endif - } + ; + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")] - public static + [Slot(1469)] + public static extern unsafe void PixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, int* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (IntPtr)values, EntryPoints[1469]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set pixel storage modes @@ -103682,18 +70487,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelStoref")] - public static + [Slot(1470)] + public static extern void PixelStore(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelStoreParameter)pname, (Single)param, EntryPoints[1470]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set pixel storage modes @@ -103709,33 +70507,19 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelStorei")] - public static + [Slot(1471)] + public static extern void PixelStore(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelStoreParameter)pname, (Int32)param, EntryPoints[1471]); - #if DEBUG - } - #endif - } + ; + /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelStorex")] - public static + [Slot(1472)] + public static extern void PixelStorex(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param, EntryPoints[1472]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set pixel transfer modes @@ -103754,18 +70538,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelTransferf")] - public static + [Slot(1478)] + public static extern void PixelTransfer(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelTransferParameter)pname, (Single)param, EntryPoints[1478]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set pixel transfer modes @@ -103784,18 +70561,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelTransferi")] - public static + [Slot(1479)] + public static extern void PixelTransfer(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PixelTransferParameter)pname, (Int32)param, EntryPoints[1479]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the pixel zoom factors @@ -103806,18 +70576,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelZoom")] - public static + [Slot(1485)] + public static extern void PixelZoom(Single xfactor, Single yfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)xfactor, (Single)yfactor, EntryPoints[1485]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify point parameters @@ -103838,18 +70601,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterf")] - public static + [Slot(1490)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Single)param, EntryPoints[1490]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify point parameters @@ -103870,24 +70626,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterfv")] - public static + [Slot(1494)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PointParameterName)pname, (IntPtr)@params_ptr, EntryPoints[1494]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify point parameters @@ -103909,18 +70652,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterfv")] - public static + [Slot(1494)] + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PointParameterName)pname, (IntPtr)@params, EntryPoints[1494]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify point parameters @@ -103941,18 +70677,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteri")] - public static + [Slot(1498)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Int32)param, EntryPoints[1498]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify point parameters @@ -103973,24 +70702,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteriv")] - public static + [Slot(1500)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PointParameterName)pname, (IntPtr)@params_ptr, EntryPoints[1500]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify point parameters @@ -104012,18 +70728,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteriv")] - public static + [Slot(1500)] + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PointParameterName)pname, (IntPtr)@params, EntryPoints[1500]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the diameter of rasterized points @@ -104034,18 +70743,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPointSize")] - public static + [Slot(1504)] + public static extern void PointSize(Single size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)size, EntryPoints[1504]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Select a polygon rasterization mode @@ -104061,18 +70763,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPolygonMode")] - public static + [Slot(1508)] + public static extern void PolygonMode(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.PolygonMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.PolygonMode)mode, EntryPoints[1508]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Set the scale and units used to calculate depth values @@ -104088,18 +70783,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPolygonOffset")] - public static + [Slot(1509)] + public static extern void PolygonOffset(Single factor, Single units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)factor, (Single)units, EntryPoints[1509]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the polygon stippling pattern @@ -104110,24 +70798,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPolygonStipple")] - public static + [Slot(1512)] + public static extern void PolygonStipple(Byte[] mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* mask_ptr = mask) - { - InteropHelper.Call((IntPtr)mask_ptr, EntryPoints[1512]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the polygon stippling pattern @@ -104138,24 +70813,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPolygonStipple")] - public static + [Slot(1512)] + public static extern void PolygonStipple(ref Byte mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* mask_ptr = &mask) - { - InteropHelper.Call((IntPtr)mask_ptr, EntryPoints[1512]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the polygon stippling pattern @@ -104167,95 +70829,53 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPolygonStipple")] - public static + [Slot(1512)] + public static extern unsafe void PolygonStipple(Byte* mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)mask, EntryPoints[1512]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPopAttrib")] - public static + [Slot(1513)] + public static extern void PopAttrib() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1513]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPopClientAttrib")] - public static + [Slot(1514)] + public static extern void PopClientAttrib() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1514]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1515)] + public static extern void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1515]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPopMatrix")] - public static + [Slot(1518)] + public static extern void PopMatrix() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1518]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPopName")] - public static + [Slot(1519)] + public static extern void PopName() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1519]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Specify the primitive restart index @@ -104266,18 +70886,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] - public static + [Slot(1522)] + public static extern void PrimitiveRestartIndex(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[1522]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Specify the primitive restart index @@ -104289,18 +70902,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] - public static + [Slot(1522)] + public static extern void PrimitiveRestartIndex(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[1522]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Set texture residence priority @@ -104321,25 +70927,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static + [Slot(1525)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[1525]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Set texture residence priority @@ -104360,25 +70952,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static + [Slot(1525)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[1525]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Set texture residence priority @@ -104400,18 +70978,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static + [Slot(1525)] + public static extern unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, (IntPtr)priorities, EntryPoints[1525]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Set texture residence priority @@ -104433,25 +71004,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static + [Slot(1525)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[1525]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Set texture residence priority @@ -104473,25 +71030,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static + [Slot(1525)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[1525]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Set texture residence priority @@ -104513,18 +71056,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static + [Slot(1525)] + public static extern unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, (IntPtr)priorities, EntryPoints[1525]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -104550,18 +71086,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(1528)] + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length, EntryPoints[1528]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -104587,27 +71116,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(1528)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1528]); - } - 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 @@ -104633,27 +71147,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(1528)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1528]); - } - 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 @@ -104679,27 +71178,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(1528)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1528]); - } - 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 @@ -104725,28 +71209,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(1528)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1528]); - 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 @@ -104773,18 +71241,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(1528)] + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length, EntryPoints[1528]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -104811,27 +71272,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(1528)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1528]); - } - 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 @@ -104858,27 +71304,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(1528)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1528]); - } - 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 @@ -104905,27 +71336,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(1528)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1528]); - } - 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 @@ -104952,28 +71368,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(1528)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1528]); - 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 @@ -104994,18 +71394,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramParameteri")] - public static + [Slot(1562)] + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameterName)pname, (Int32)value, EntryPoints[1562]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Specify a parameter for a program object @@ -105027,18 +71420,11 @@ 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 + [Slot(1562)] + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.Version32 pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameterName)pname, (Int32)value, EntryPoints[1562]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Specify a parameter for a program object @@ -105060,18 +71446,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramParameteri")] - public static + [Slot(1562)] + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameterName)pname, (Int32)value, EntryPoints[1562]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Specify a parameter for a program object @@ -105094,18 +71473,11 @@ 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 + [Slot(1562)] + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.Version32 pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameterName)pname, (Int32)value, EntryPoints[1562]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105144,18 +71516,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1d")] - public static + [Slot(1569)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Double v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, EntryPoints[1569]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105195,18 +71560,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1d")] - public static + [Slot(1569)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Double v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, EntryPoints[1569]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105245,24 +71603,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static + [Slot(1571)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1571]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105302,18 +71647,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static + [Slot(1571)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1571]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105353,24 +71691,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static + [Slot(1571)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1571]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105410,18 +71735,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static + [Slot(1571)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1571]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105460,18 +71778,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1f")] - public static + [Slot(1573)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, EntryPoints[1573]); - #if DEBUG - } - #endif - } + ; + /// [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 +71822,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1f")] - public static + [Slot(1573)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, EntryPoints[1573]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105561,24 +71865,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static + [Slot(1575)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1575]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105618,18 +71909,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static + [Slot(1575)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1575]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105669,24 +71953,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static + [Slot(1575)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1575]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 +71997,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static + [Slot(1575)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1575]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105776,18 +72040,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1i")] - public static + [Slot(1577)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, EntryPoints[1577]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105827,18 +72084,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1i")] - public static + [Slot(1577)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, EntryPoints[1577]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105877,24 +72127,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static + [Slot(1581)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1581]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105934,18 +72171,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static + [Slot(1581)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1581]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105985,24 +72215,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static + [Slot(1581)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1581]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106042,18 +72259,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static + [Slot(1581)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1581]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106093,18 +72303,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1ui")] - public static + [Slot(1583)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, EntryPoints[1583]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106144,24 +72347,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1uiv")] - public static + [Slot(1587)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1587]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106201,18 +72391,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1uiv")] - public static + [Slot(1587)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1587]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106251,18 +72434,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2d")] - public static + [Slot(1589)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Double v0, Double v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, (Double)v1, EntryPoints[1589]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106302,18 +72478,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2d")] - public static + [Slot(1589)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Double v0, Double v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, (Double)v1, EntryPoints[1589]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106352,24 +72521,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static + [Slot(1591)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1591]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106408,24 +72564,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static + [Slot(1591)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1591]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106465,18 +72608,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static + [Slot(1591)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1591]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106516,24 +72652,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static + [Slot(1591)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1591]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106573,24 +72696,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static + [Slot(1591)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1591]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106630,18 +72740,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static + [Slot(1591)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1591]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106680,18 +72783,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2f")] - public static + [Slot(1593)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, EntryPoints[1593]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106731,18 +72827,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2f")] - public static + [Slot(1593)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, EntryPoints[1593]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106781,24 +72870,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static + [Slot(1595)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1595]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106837,24 +72913,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static + [Slot(1595)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1595]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106894,18 +72957,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static + [Slot(1595)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1595]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106945,24 +73001,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static + [Slot(1595)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1595]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107002,24 +73045,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static + [Slot(1595)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1595]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107059,18 +73089,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static + [Slot(1595)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1595]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107109,18 +73132,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2i")] - public static + [Slot(1597)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, EntryPoints[1597]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107160,18 +73176,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2i")] - public static + [Slot(1597)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, EntryPoints[1597]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107210,24 +73219,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static + [Slot(1601)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1601]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107267,18 +73263,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static + [Slot(1601)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1601]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107318,24 +73307,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static + [Slot(1601)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1601]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107375,18 +73351,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static + [Slot(1601)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1601]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107426,18 +73395,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2ui")] - public static + [Slot(1603)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, EntryPoints[1603]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107477,24 +73439,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] - public static + [Slot(1607)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1607]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107534,24 +73483,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] - public static + [Slot(1607)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1607]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107591,18 +73527,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] - public static + [Slot(1607)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1607]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107641,18 +73570,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3d")] - public static + [Slot(1609)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Double v0, Double v1, Double v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, EntryPoints[1609]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107692,18 +73614,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3d")] - public static + [Slot(1609)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Double v0, Double v1, Double v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, EntryPoints[1609]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107742,24 +73657,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static + [Slot(1611)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1611]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107798,24 +73700,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static + [Slot(1611)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1611]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107855,18 +73744,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static + [Slot(1611)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1611]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107906,24 +73788,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static + [Slot(1611)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1611]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107963,24 +73832,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static + [Slot(1611)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1611]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108020,18 +73876,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static + [Slot(1611)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1611]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108070,18 +73919,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3f")] - public static + [Slot(1613)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[1613]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108121,18 +73963,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3f")] - public static + [Slot(1613)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[1613]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108171,24 +74006,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static + [Slot(1615)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1615]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108227,24 +74049,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static + [Slot(1615)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1615]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108284,18 +74093,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static + [Slot(1615)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1615]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108335,24 +74137,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static + [Slot(1615)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1615]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108392,24 +74181,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static + [Slot(1615)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1615]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108449,18 +74225,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static + [Slot(1615)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1615]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108499,18 +74268,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3i")] - public static + [Slot(1617)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[1617]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108550,18 +74312,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3i")] - public static + [Slot(1617)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[1617]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108600,24 +74355,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static + [Slot(1621)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1621]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108656,24 +74398,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static + [Slot(1621)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1621]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108713,18 +74442,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static + [Slot(1621)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1621]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108764,24 +74486,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static + [Slot(1621)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1621]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108821,24 +74530,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static + [Slot(1621)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1621]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108878,18 +74574,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static + [Slot(1621)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1621]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108929,18 +74618,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3ui")] - public static + [Slot(1623)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, EntryPoints[1623]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108980,24 +74662,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] - public static + [Slot(1627)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1627]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109037,24 +74706,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] - public static + [Slot(1627)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1627]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109094,18 +74750,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] - public static + [Slot(1627)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1627]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109144,18 +74793,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4d")] - public static + [Slot(1629)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3, EntryPoints[1629]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109195,18 +74837,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4d")] - public static + [Slot(1629)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3, EntryPoints[1629]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109245,24 +74880,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static + [Slot(1631)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1631]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109301,24 +74923,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static + [Slot(1631)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1631]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109358,18 +74967,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static + [Slot(1631)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1631]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109409,24 +75011,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static + [Slot(1631)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1631]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109466,24 +75055,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static + [Slot(1631)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1631]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109523,18 +75099,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static + [Slot(1631)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1631]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109573,18 +75142,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4f")] - public static + [Slot(1633)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[1633]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109624,18 +75186,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4f")] - public static + [Slot(1633)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[1633]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109674,24 +75229,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static + [Slot(1635)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1635]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109730,24 +75272,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static + [Slot(1635)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1635]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109787,18 +75316,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static + [Slot(1635)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1635]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109838,24 +75360,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static + [Slot(1635)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1635]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109895,24 +75404,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static + [Slot(1635)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1635]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -109952,18 +75448,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static + [Slot(1635)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1635]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -110002,18 +75491,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4i")] - public static + [Slot(1637)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[1637]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -110053,18 +75535,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4i")] - public static + [Slot(1637)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[1637]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -110103,24 +75578,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static + [Slot(1641)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1641]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -110159,24 +75621,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static + [Slot(1641)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1641]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -110216,18 +75665,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static + [Slot(1641)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1641]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -110267,24 +75709,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static + [Slot(1641)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1641]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -110324,24 +75753,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static + [Slot(1641)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1641]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -110381,18 +75797,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static + [Slot(1641)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1641]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -110432,18 +75841,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4ui")] - public static + [Slot(1643)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3, EntryPoints[1643]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -110483,24 +75885,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] - public static + [Slot(1647)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1647]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -110540,24 +75929,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] - public static + [Slot(1647)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1647]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -110597,2142 +75973,947 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] - public static + [Slot(1647)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1647]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1653)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1653]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1653)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1653]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1653)] + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1653]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1653)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1653]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1653)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1653]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1653)] + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1653]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1655)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1655]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1655)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1655]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1655)] + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1655]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1655)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1655]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1655)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1655]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1655)] + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1655]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1657)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1657]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1657)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1657]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1657)] + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1657]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1657)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1657]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1657)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1657]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1657)] + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1657]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1659)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1659]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1659)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1659]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1659)] + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1659]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1659)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1659]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1659)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1659]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1659)] + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1659]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1661)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1661]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1661)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1661]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1661)] + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1661]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1661)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1661]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1661)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1661]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1661)] + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1661]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1663)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1663]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1663)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1663]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1663)] + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1663]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1663)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1663]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1663)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1663]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1663)] + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1663]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1665)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1665]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1665)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1665]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1665)] + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1665]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1665)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1665]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1665)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1665]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1665)] + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1665]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1667)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1667]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1667)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1667]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1667)] + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1667]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1667)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1667]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1667)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1667]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1667)] + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1667]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1669)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1669]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1669)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1669]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1669)] + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1669]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1669)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1669]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1669)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1669]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1669)] + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1669]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1671)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1671]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1671)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1671]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1671)] + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1671]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1671)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1671]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1671)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1671]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1671)] + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1671]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1673)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1673]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1673)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1673]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1673)] + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1673]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1673)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1673]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1673)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1673]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1673)] + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1673]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1675)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1675]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1675)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1675]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1675)] + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1675]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1675)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1675]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1675)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1675]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1675)] + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1675]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1677)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1677]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1677)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1677]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1677)] + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1677]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1677)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1677]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1677)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1677]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1677)] + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1677]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1679)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1679]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1679)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1679]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1679)] + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1679]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1679)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1679]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1679)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1679]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1679)] + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1679]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1681)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1681]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1681)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1681]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1681)] + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1681]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1681)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1681]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1681)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1681]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1681)] + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1681]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1683)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1683]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1683)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1683]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1683)] + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1683]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1683)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1683]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1683)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1683]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1683)] + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1683]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1685)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1685]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1685)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1685]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1685)] + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1685]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1685)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1685]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1685)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1685]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1685)] + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1685]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1687)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1687]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1687)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1687]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1687)] + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1687]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1687)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1687]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1687)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1687]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1687)] + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1687]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -112743,18 +76924,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_provoking_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glProvokingVertex")] - public static + [Slot(1692)] + public static extern void ProvokingVertex(OpenTK.Graphics.OpenGL.ProvokingVertexMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ProvokingVertexMode)mode, EntryPoints[1692]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Push and pop the server attribute stack @@ -112765,18 +76939,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPushAttrib")] - public static + [Slot(1694)] + public static extern void PushAttrib(OpenTK.Graphics.OpenGL.AttribMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AttribMask)mask, EntryPoints[1694]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Push and pop the client attribute stack @@ -112787,18 +76954,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPushClientAttrib")] - public static + [Slot(1695)] + public static extern void PushClientAttrib(OpenTK.Graphics.OpenGL.ClientAttribMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClientAttribMask)mask, EntryPoints[1695]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Push a named debug group into the command stream @@ -112824,18 +76984,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glPushDebugGroup")] - public static + [Slot(1697)] + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL.DebugSourceExternal source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.DebugSourceExternal)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[1697]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Push a named debug group into the command stream @@ -112862,35 +77015,21 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glPushDebugGroup")] - public static + [Slot(1697)] + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL.DebugSourceExternal source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.DebugSourceExternal)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[1697]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1700)] + public static extern void PushMatrix() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1700]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Push and pop the name stack @@ -112901,18 +77040,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPushName")] - public static + [Slot(1701)] + public static extern void PushName(Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)name, EntryPoints[1701]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Push and pop the name stack @@ -112924,18 +77056,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPushName")] - public static + [Slot(1701)] + public static extern void PushName(UInt32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)name, EntryPoints[1701]); - #if DEBUG - } - #endif - } + ; + /// [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. @@ -112951,18 +77076,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glQueryCounter")] - public static + [Slot(1702)] + public static extern void QueryCounter(Int32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.QueryCounterTarget)target, EntryPoints[1702]); - #if DEBUG - } - #endif - } + ; + /// [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. @@ -112979,18 +77097,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glQueryCounter")] - public static + [Slot(1702)] + public static extern void QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.QueryCounterTarget)target, EntryPoints[1702]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113001,18 +77112,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2d")] - public static + [Slot(1704)] + public static extern void RasterPos2(Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, EntryPoints[1704]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113023,24 +77127,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2dv")] - public static + [Slot(1705)] + public static extern void RasterPos2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1705]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113051,24 +77142,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2dv")] - public static + [Slot(1705)] + public static extern void RasterPos2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1705]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113080,18 +77158,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2dv")] - public static + [Slot(1705)] + public static extern unsafe void RasterPos2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1705]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113102,18 +77173,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2f")] - public static + [Slot(1706)] + public static extern void RasterPos2(Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, EntryPoints[1706]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113124,24 +77188,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2fv")] - public static + [Slot(1707)] + public static extern void RasterPos2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1707]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113152,24 +77203,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2fv")] - public static + [Slot(1707)] + public static extern void RasterPos2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1707]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113181,18 +77219,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2fv")] - public static + [Slot(1707)] + public static extern unsafe void RasterPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1707]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113203,18 +77234,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2i")] - public static + [Slot(1708)] + public static extern void RasterPos2(Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, EntryPoints[1708]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113225,24 +77249,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2iv")] - public static + [Slot(1709)] + public static extern void RasterPos2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1709]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113253,24 +77264,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2iv")] - public static + [Slot(1709)] + public static extern void RasterPos2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1709]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113282,18 +77280,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2iv")] - public static + [Slot(1709)] + public static extern unsafe void RasterPos2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1709]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113304,18 +77295,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2s")] - public static + [Slot(1710)] + public static extern void RasterPos2(Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, EntryPoints[1710]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113326,24 +77310,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2sv")] - public static + [Slot(1711)] + public static extern void RasterPos2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1711]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113354,24 +77325,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2sv")] - public static + [Slot(1711)] + public static extern void RasterPos2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1711]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113383,18 +77341,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2sv")] - public static + [Slot(1711)] + public static extern unsafe void RasterPos2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1711]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113405,18 +77356,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3d")] - public static + [Slot(1714)] + public static extern void RasterPos3(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, (Double)z, EntryPoints[1714]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113427,24 +77371,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3dv")] - public static + [Slot(1715)] + public static extern void RasterPos3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1715]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113455,24 +77386,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3dv")] - public static + [Slot(1715)] + public static extern void RasterPos3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1715]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113484,18 +77402,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3dv")] - public static + [Slot(1715)] + public static extern unsafe void RasterPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1715]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113506,18 +77417,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3f")] - public static + [Slot(1716)] + public static extern void RasterPos3(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, (Single)z, EntryPoints[1716]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113528,24 +77432,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3fv")] - public static + [Slot(1717)] + public static extern void RasterPos3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1717]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113556,24 +77447,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3fv")] - public static + [Slot(1717)] + public static extern void RasterPos3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1717]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113585,18 +77463,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3fv")] - public static + [Slot(1717)] + public static extern unsafe void RasterPos3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1717]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113607,18 +77478,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3i")] - public static + [Slot(1718)] + public static extern void RasterPos3(Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)z, EntryPoints[1718]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113629,24 +77493,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3iv")] - public static + [Slot(1719)] + public static extern void RasterPos3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1719]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113657,24 +77508,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3iv")] - public static + [Slot(1719)] + public static extern void RasterPos3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1719]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113686,18 +77524,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3iv")] - public static + [Slot(1719)] + public static extern unsafe void RasterPos3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1719]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113708,18 +77539,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3s")] - public static + [Slot(1720)] + public static extern void RasterPos3(Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, (Int16)z, EntryPoints[1720]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113730,24 +77554,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3sv")] - public static + [Slot(1721)] + public static extern void RasterPos3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1721]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113758,24 +77569,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3sv")] - public static + [Slot(1721)] + public static extern void RasterPos3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1721]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113787,18 +77585,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3sv")] - public static + [Slot(1721)] + public static extern unsafe void RasterPos3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1721]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113809,18 +77600,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4d")] - public static + [Slot(1724)] + public static extern void RasterPos4(Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1724]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113831,24 +77615,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4dv")] - public static + [Slot(1725)] + public static extern void RasterPos4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1725]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113859,24 +77630,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4dv")] - public static + [Slot(1725)] + public static extern void RasterPos4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1725]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113888,18 +77646,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4dv")] - public static + [Slot(1725)] + public static extern unsafe void RasterPos4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1725]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113910,18 +77661,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4f")] - public static + [Slot(1726)] + public static extern void RasterPos4(Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1726]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113932,24 +77676,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4fv")] - public static + [Slot(1727)] + public static extern void RasterPos4(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1727]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113960,24 +77691,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4fv")] - public static + [Slot(1727)] + public static extern void RasterPos4(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1727]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -113989,18 +77707,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4fv")] - public static + [Slot(1727)] + public static extern unsafe void RasterPos4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1727]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -114011,18 +77722,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4i")] - public static + [Slot(1728)] + public static extern void RasterPos4(Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[1728]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -114033,24 +77737,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4iv")] - public static + [Slot(1729)] + public static extern void RasterPos4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1729]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -114061,24 +77752,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4iv")] - public static + [Slot(1729)] + public static extern void RasterPos4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1729]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -114090,18 +77768,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4iv")] - public static + [Slot(1729)] + public static extern unsafe void RasterPos4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1729]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -114112,18 +77783,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4s")] - public static + [Slot(1730)] + public static extern void RasterPos4(Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, (Int16)z, (Int16)w, EntryPoints[1730]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -114134,24 +77798,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4sv")] - public static + [Slot(1731)] + public static extern void RasterPos4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1731]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -114162,24 +77813,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4sv")] - public static + [Slot(1731)] + public static extern void RasterPos4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1731]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -114191,18 +77829,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4sv")] - public static + [Slot(1731)] + public static extern unsafe void RasterPos4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1731]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Select a color buffer source for pixels @@ -114213,18 +77844,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadBuffer")] - public static + [Slot(1734)] + public static extern void ReadBuffer(OpenTK.Graphics.OpenGL.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ReadBufferMode)mode, EntryPoints[1734]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -114255,18 +77879,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(1737)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels, EntryPoints[1737]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -114297,27 +77914,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(1737)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[1737]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -114348,27 +77950,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(1737)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[1737]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -114399,27 +77986,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(1737)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[1737]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -114450,28 +78022,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(1737)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[1737]); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114487,18 +78043,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectd")] - public static + [Slot(1738)] + public static extern void Rect(Double x1, Double y1, Double x2, Double y2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x1, (Double)y1, (Double)x2, (Double)y2, EntryPoints[1738]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114514,25 +78063,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectdv")] - public static + [Slot(1739)] + public static extern 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) - { - InteropHelper.Call((IntPtr)v1_ptr, (IntPtr)v2_ptr, EntryPoints[1739]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114548,25 +78083,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectdv")] - public static + [Slot(1739)] + public static extern 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) - { - InteropHelper.Call((IntPtr)v1_ptr, (IntPtr)v2_ptr, EntryPoints[1739]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114583,18 +78104,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectdv")] - public static + [Slot(1739)] + public static extern unsafe void Rect(Double* v1, Double* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v1, (IntPtr)v2, EntryPoints[1739]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114610,18 +78124,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectf")] - public static + [Slot(1740)] + public static extern void Rect(Single x1, Single y1, Single x2, Single y2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x1, (Single)y1, (Single)x2, (Single)y2, EntryPoints[1740]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114637,25 +78144,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectfv")] - public static + [Slot(1741)] + public static extern 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) - { - InteropHelper.Call((IntPtr)v1_ptr, (IntPtr)v2_ptr, EntryPoints[1741]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114671,25 +78164,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectfv")] - public static + [Slot(1741)] + public static extern 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) - { - InteropHelper.Call((IntPtr)v1_ptr, (IntPtr)v2_ptr, EntryPoints[1741]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114706,18 +78185,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectfv")] - public static + [Slot(1741)] + public static extern unsafe void Rect(Single* v1, Single* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v1, (IntPtr)v2, EntryPoints[1741]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114733,18 +78205,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRecti")] - public static + [Slot(1742)] + public static extern void Rect(Int32 x1, Int32 y1, Int32 x2, Int32 y2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x1, (Int32)y1, (Int32)x2, (Int32)y2, EntryPoints[1742]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114760,25 +78225,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectiv")] - public static + [Slot(1743)] + public static extern 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) - { - InteropHelper.Call((IntPtr)v1_ptr, (IntPtr)v2_ptr, EntryPoints[1743]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114794,25 +78245,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectiv")] - public static + [Slot(1743)] + public static extern 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) - { - InteropHelper.Call((IntPtr)v1_ptr, (IntPtr)v2_ptr, EntryPoints[1743]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114829,33 +78266,19 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectiv")] - public static + [Slot(1743)] + public static extern unsafe void Rect(Int32* v1, Int32* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v1, (IntPtr)v2, EntryPoints[1743]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRects")] - public static + [Slot(1744)] + public static extern void Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x1, (Int16)y1, (Int16)x2, (Int16)y2, EntryPoints[1744]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114871,25 +78294,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectsv")] - public static + [Slot(1745)] + public static extern 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) - { - InteropHelper.Call((IntPtr)v1_ptr, (IntPtr)v2_ptr, EntryPoints[1745]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114905,25 +78314,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectsv")] - public static + [Slot(1745)] + public static extern 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) - { - InteropHelper.Call((IntPtr)v1_ptr, (IntPtr)v2_ptr, EntryPoints[1745]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -114940,35 +78335,21 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectsv")] - public static + [Slot(1745)] + public static extern unsafe void Rect(Int16* v1, Int16* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v1, (IntPtr)v2, EntryPoints[1745]); - #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 + [Slot(1749)] + public static extern void ReleaseShaderCompiler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1749]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -114994,18 +78375,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorage")] - public static + [Slot(1750)] + public static extern void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height, EntryPoints[1750]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -115036,18 +78410,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")] - public static + [Slot(1752)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height, EntryPoints[1752]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set rasterization mode @@ -115058,18 +78425,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRenderMode")] - public static + [Slot(1755)] + public static extern Int32 RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.RenderingMode)mode, EntryPoints[1755]); - #if DEBUG - } - #endif - } + ; + /// /// Reset histogram table entries to zero @@ -115080,18 +78440,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glResetHistogram")] - public static + [Slot(1780)] + public static extern void ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.HistogramTarget)target, EntryPoints[1780]); - #if DEBUG - } - #endif - } + ; + /// /// Reset minmax table entries to initial values @@ -115102,35 +78455,21 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glResetMinmax")] - public static + [Slot(1782)] + public static extern void ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MinmaxTarget)target, EntryPoints[1782]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1785)] + public static extern void ResumeTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1785]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a rotation matrix @@ -115146,18 +78485,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRotated")] - public static + [Slot(1787)] + public static extern void Rotate(Double angle, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)angle, (Double)x, (Double)y, (Double)z, EntryPoints[1787]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a rotation matrix @@ -115173,18 +78505,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRotatef")] - public static + [Slot(1788)] + public static extern void Rotate(Single angle, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)angle, (Single)x, (Single)y, (Single)z, EntryPoints[1788]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify multisample coverage parameters @@ -115200,18 +78525,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glSampleCoverage")] - public static + [Slot(1790)] + public static extern void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)value, (bool)invert, EntryPoints[1790]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Set the value of a sub-word of the sample mask @@ -115227,18 +78545,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glSampleMaski")] - public static + [Slot(1796)] + public static extern void SampleMask(Int32 index, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)mask, EntryPoints[1796]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Set the value of a sub-word of the sample mask @@ -115255,18 +78566,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glSampleMaski")] - public static + [Slot(1796)] + public static extern void SampleMask(UInt32 index, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)mask, EntryPoints[1796]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -115292,18 +78596,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterf")] - public static + [Slot(1801)] + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single)param, EntryPoints[1801]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -115330,18 +78627,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterf")] - public static + [Slot(1801)] + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single)param, EntryPoints[1801]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -115367,24 +78657,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(1802)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[1802]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -115411,18 +78688,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(1802)] + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param, EntryPoints[1802]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -115449,24 +78719,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(1802)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[1802]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -115493,18 +78750,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(1802)] + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param, EntryPoints[1802]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -115530,18 +78780,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteri")] - public static + [Slot(1803)] + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32)param, EntryPoints[1803]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -115568,196 +78811,90 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteri")] - public static + [Slot(1803)] + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32)param, EntryPoints[1803]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1804)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[1804]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1804)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[1804]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1804)] + public static extern unsafe void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param, EntryPoints[1804]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1804)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[1804]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1804)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[1804]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1804)] + public static extern unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param, EntryPoints[1804]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1805)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[1805]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1805)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[1805]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1805)] + public static extern unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, UInt32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param, EntryPoints[1805]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -115783,24 +78920,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(1806)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[1806]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -115827,18 +78951,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(1806)] + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param, EntryPoints[1806]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -115865,24 +78982,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(1806)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[1806]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -115909,18 +79013,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(1806)] + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (IntPtr)param, EntryPoints[1806]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a general scaling matrix @@ -115931,18 +79028,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glScaled")] - public static + [Slot(1807)] + public static extern void Scale(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, (Double)z, EntryPoints[1807]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a general scaling matrix @@ -115953,18 +79043,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glScalef")] - public static + [Slot(1808)] + public static extern void Scale(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, (Single)z, EntryPoints[1808]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define the scissor box @@ -115980,18 +79063,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glScissor")] - public static + [Slot(1810)] + public static extern void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[1810]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -116012,24 +79088,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static + [Slot(1811)] + public static extern void ScissorArray(Int32 first, Int32 count, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[1811]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -116050,24 +79113,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static + [Slot(1811)] + public static extern void ScissorArray(Int32 first, Int32 count, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[1811]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -116089,18 +79139,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static + [Slot(1811)] + public static extern unsafe void ScissorArray(Int32 first, Int32 count, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v, EntryPoints[1811]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -116122,24 +79165,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static + [Slot(1811)] + public static extern void ScissorArray(UInt32 first, Int32 count, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[1811]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -116161,24 +79191,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static + [Slot(1811)] + public static extern void ScissorArray(UInt32 first, Int32 count, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[1811]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -116200,18 +79217,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static + [Slot(1811)] + public static extern unsafe void ScissorArray(UInt32 first, Int32 count, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v, EntryPoints[1811]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -116237,18 +79247,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexed")] - public static + [Slot(1812)] + public static extern void ScissorIndexed(Int32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height, EntryPoints[1812]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -116275,18 +79278,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexed")] - public static + [Slot(1812)] + public static extern void ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height, EntryPoints[1812]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -116312,24 +79308,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static + [Slot(1813)] + public static extern void ScissorIndexed(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[1813]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -116355,24 +79338,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static + [Slot(1813)] + public static extern void ScissorIndexed(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[1813]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -116399,18 +79369,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static + [Slot(1813)] + public static extern unsafe void ScissorIndexed(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[1813]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -116437,24 +79400,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static + [Slot(1813)] + public static extern void ScissorIndexed(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[1813]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -116481,24 +79431,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static + [Slot(1813)] + public static extern void ScissorIndexed(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[1813]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -116525,18 +79462,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static + [Slot(1813)] + public static extern unsafe void ScissorIndexed(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[1813]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116548,18 +79478,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3b")] - public static + [Slot(1814)] + public static extern void SecondaryColor3(SByte red, SByte green, SByte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)red, (SByte)green, (SByte)blue, EntryPoints[1814]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116571,24 +79494,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] - public static + [Slot(1816)] + public static extern void SecondaryColor3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1816]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116600,24 +79510,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] - public static + [Slot(1816)] + public static extern void SecondaryColor3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1816]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116629,18 +79526,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] - public static + [Slot(1816)] + public static extern unsafe void SecondaryColor3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1816]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116651,18 +79541,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3d")] - public static + [Slot(1818)] + public static extern void SecondaryColor3(Double red, Double green, Double blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)red, (Double)green, (Double)blue, EntryPoints[1818]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116673,24 +79556,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] - public static + [Slot(1820)] + public static extern void SecondaryColor3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1820]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116701,24 +79571,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] - public static + [Slot(1820)] + public static extern void SecondaryColor3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1820]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116730,18 +79587,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] - public static + [Slot(1820)] + public static extern unsafe void SecondaryColor3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1820]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116752,18 +79602,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3f")] - public static + [Slot(1822)] + public static extern void SecondaryColor3(Single red, Single green, Single blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, EntryPoints[1822]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116774,24 +79617,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] - public static + [Slot(1824)] + public static extern void SecondaryColor3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1824]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116802,24 +79632,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] - public static + [Slot(1824)] + public static extern void SecondaryColor3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1824]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116831,18 +79648,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] - public static + [Slot(1824)] + public static extern unsafe void SecondaryColor3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1824]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116853,18 +79663,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3i")] - public static + [Slot(1828)] + public static extern void SecondaryColor3(Int32 red, Int32 green, Int32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)red, (Int32)green, (Int32)blue, EntryPoints[1828]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116875,24 +79678,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] - public static + [Slot(1830)] + public static extern void SecondaryColor3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1830]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116903,24 +79693,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] - public static + [Slot(1830)] + public static extern void SecondaryColor3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1830]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116932,18 +79709,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] - public static + [Slot(1830)] + public static extern unsafe void SecondaryColor3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1830]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116954,18 +79724,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3s")] - public static + [Slot(1832)] + public static extern void SecondaryColor3(Int16 red, Int16 green, Int16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)red, (Int16)green, (Int16)blue, EntryPoints[1832]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -116976,24 +79739,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] - public static + [Slot(1834)] + public static extern void SecondaryColor3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1834]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117004,24 +79754,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] - public static + [Slot(1834)] + public static extern void SecondaryColor3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1834]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117033,18 +79770,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] - public static + [Slot(1834)] + public static extern unsafe void SecondaryColor3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1834]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117055,18 +79785,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3ub")] - public static + [Slot(1836)] + public static extern void SecondaryColor3(Byte red, Byte green, Byte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Byte)red, (Byte)green, (Byte)blue, EntryPoints[1836]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117077,24 +79800,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] - public static + [Slot(1838)] + public static extern void SecondaryColor3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1838]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117105,24 +79815,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] - public static + [Slot(1838)] + public static extern void SecondaryColor3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1838]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117134,18 +79831,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] - public static + [Slot(1838)] + public static extern unsafe void SecondaryColor3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1838]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117157,18 +79847,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3ui")] - public static + [Slot(1840)] + public static extern void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)red, (UInt32)green, (UInt32)blue, EntryPoints[1840]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117180,24 +79863,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] - public static + [Slot(1842)] + public static extern void SecondaryColor3(UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1842]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117209,24 +79879,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] - public static + [Slot(1842)] + public static extern void SecondaryColor3(ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1842]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117238,18 +79895,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] - public static + [Slot(1842)] + public static extern unsafe void SecondaryColor3(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1842]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117261,18 +79911,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3us")] - public static + [Slot(1844)] + public static extern void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt16)red, (UInt16)green, (UInt16)blue, EntryPoints[1844]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117284,24 +79927,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] - public static + [Slot(1846)] + public static extern void SecondaryColor3(UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1846]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117313,24 +79943,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] - public static + [Slot(1846)] + public static extern void SecondaryColor3(ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1846]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -117342,81 +79959,46 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] - public static + [Slot(1846)] + public static extern unsafe void SecondaryColor3(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1846]); - #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 = "glSecondaryColorP3ui")] - public static + [Slot(1849)] + public static extern void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color, EntryPoints[1849]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1849)] + public static extern void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color, EntryPoints[1849]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1850)] + public static extern unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)color, EntryPoints[1850]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1850)] + public static extern unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)color, EntryPoints[1850]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Define an array of secondary colors @@ -117442,18 +80024,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static + [Slot(1851)] + public static extern void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[1851]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Define an array of secondary colors @@ -117479,27 +80054,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static + [Slot(1851)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1851]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Define an array of secondary colors @@ -117525,27 +80085,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static + [Slot(1851)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1851]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Define an array of secondary colors @@ -117571,27 +80116,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static + [Slot(1851)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1851]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Define an array of secondary colors @@ -117617,28 +80147,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static + [Slot(1851)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1851]); - 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 @@ -117654,24 +80168,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static + [Slot(1854)] + public static extern void SelectBuffer(Int32 size, [OutAttribute] Int32[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffer_ptr = buffer) - { - InteropHelper.Call((Int32)size, (IntPtr)buffer_ptr, EntryPoints[1854]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Establish a buffer for selection mode values @@ -117687,25 +80188,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static + [Slot(1854)] + public static extern void SelectBuffer(Int32 size, [OutAttribute] out Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffer_ptr = &buffer) - { - InteropHelper.Call((Int32)size, (IntPtr)buffer_ptr, EntryPoints[1854]); - buffer = *buffer_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Establish a buffer for selection mode values @@ -117722,18 +80209,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static + [Slot(1854)] + public static extern unsafe void SelectBuffer(Int32 size, [OutAttribute] Int32* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)buffer, EntryPoints[1854]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Establish a buffer for selection mode values @@ -117750,24 +80230,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static + [Slot(1854)] + public static extern void SelectBuffer(Int32 size, [OutAttribute] UInt32[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffer_ptr = buffer) - { - InteropHelper.Call((Int32)size, (IntPtr)buffer_ptr, EntryPoints[1854]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Establish a buffer for selection mode values @@ -117784,25 +80251,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static + [Slot(1854)] + public static extern void SelectBuffer(Int32 size, [OutAttribute] out UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffer_ptr = &buffer) - { - InteropHelper.Call((Int32)size, (IntPtr)buffer_ptr, EntryPoints[1854]); - buffer = *buffer_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Establish a buffer for selection mode values @@ -117819,18 +80272,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static + [Slot(1854)] + public static extern unsafe void SelectBuffer(Int32 size, [OutAttribute] UInt32* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)buffer, EntryPoints[1854]); - #if DEBUG - } - #endif - } + ; + /// /// Define a separable two-dimensional convolution filter @@ -117876,18 +80322,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static + [Slot(1856)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1856]); - #if DEBUG - } - #endif - } + ; + /// /// Define a separable two-dimensional convolution filter @@ -117933,30 +80372,13 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static + [Slot(1856)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1856]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a separable two-dimensional convolution filter @@ -118002,30 +80424,13 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static + [Slot(1856)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1856]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a separable two-dimensional convolution filter @@ -118071,30 +80476,13 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static + [Slot(1856)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1856]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a separable two-dimensional convolution filter @@ -118140,32 +80528,13 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static + [Slot(1856)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1856]); - 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 @@ -118176,18 +80545,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glShadeModel")] - public static + [Slot(1864)] + public static extern void ShadeModel(OpenTK.Graphics.OpenGL.ShadingModel mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShadingModel)mode, EntryPoints[1864]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -118218,24 +80580,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[1865]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -118266,33 +80615,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -118323,33 +80651,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -118380,33 +80687,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -118437,34 +80723,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - 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 @@ -118495,24 +80759,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[1865]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -118543,33 +80794,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -118600,33 +80830,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -118657,33 +80866,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -118714,34 +80902,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - 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 @@ -118773,18 +80939,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[1865]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -118816,27 +80975,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -118868,27 +81012,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -118920,27 +81049,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -118972,28 +81086,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - 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 @@ -119025,24 +81123,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[1865]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -119074,33 +81159,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -119132,33 +81196,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -119190,33 +81233,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -119248,34 +81270,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - 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 @@ -119307,24 +81307,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[1865]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -119356,33 +81343,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -119414,33 +81380,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -119472,33 +81417,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -119530,34 +81454,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - 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 @@ -119589,18 +81491,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[1865]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -119632,27 +81527,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -119684,27 +81564,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -119736,27 +81601,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -119788,28 +81638,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(1865)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[1865]); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Replaces the source code in a shader object @@ -119835,24 +81669,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(1869)] + public static extern void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[1869]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Replaces the source code in a shader object @@ -119878,24 +81699,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(1869)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[1869]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Replaces the source code in a shader object @@ -119922,18 +81730,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(1869)] + public static extern unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length, EntryPoints[1869]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Replaces the source code in a shader object @@ -119960,24 +81761,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(1869)] + public static extern void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[1869]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Replaces the source code in a shader object @@ -120004,24 +81792,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(1869)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[1869]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Replaces the source code in a shader object @@ -120048,18 +81823,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(1869)] + public static extern unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length, EntryPoints[1869]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_shader_storage_buffer_object|VERSION_4_3] /// Change an active shader storage block binding @@ -120080,18 +81848,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_storage_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glShaderStorageBlockBinding")] - public static + [Slot(1871)] + public static extern void ShaderStorageBlockBinding(Int32 program, Int32 storageBlockIndex, Int32 storageBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)storageBlockIndex, (UInt32)storageBlockBinding, EntryPoints[1871]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_shader_storage_buffer_object|VERSION_4_3] /// Change an active shader storage block binding @@ -120113,18 +81874,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_storage_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glShaderStorageBlockBinding")] - public static + [Slot(1871)] + public static extern void ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)storageBlockIndex, (UInt32)storageBlockBinding, EntryPoints[1871]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -120145,18 +81899,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static + [Slot(1881)] + public static extern void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[1881]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -120178,18 +81925,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static + [Slot(1881)] + public static extern void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[1881]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Set front and/or back function and reference value for stencil testing @@ -120215,18 +81955,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static + [Slot(1882)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.StencilFace)face, (OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[1882]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Set front and/or back function and reference value for stencil testing @@ -120253,18 +81986,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static + [Slot(1882)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.StencilFace)face, (OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[1882]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Control the front and back writing of individual bits in the stencil planes @@ -120275,18 +82001,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilMask")] - public static + [Slot(1884)] + public static extern void StencilMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[1884]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Control the front and back writing of individual bits in the stencil planes @@ -120298,18 +82017,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilMask")] - public static + [Slot(1884)] + public static extern void StencilMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[1884]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -120325,18 +82037,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static + [Slot(1885)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.StencilFace)face, (UInt32)mask, EntryPoints[1885]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -120353,18 +82058,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static + [Slot(1885)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.StencilFace)face, (UInt32)mask, EntryPoints[1885]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set front and back stencil test actions @@ -120385,18 +82083,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilOp")] - public static + [Slot(1886)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.StencilOp)fail, (OpenTK.Graphics.OpenGL.StencilOp)zfail, (OpenTK.Graphics.OpenGL.StencilOp)zpass, EntryPoints[1886]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Set front and/or back stencil test actions @@ -120422,18 +82113,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static + [Slot(1887)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.StencilFace)face, (OpenTK.Graphics.OpenGL.StencilOp)sfail, (OpenTK.Graphics.OpenGL.StencilOp)dpfail, (OpenTK.Graphics.OpenGL.StencilOp)dppass, EntryPoints[1887]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Attach the storage for a buffer object to the active buffer texture @@ -120454,18 +82138,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glTexBuffer")] - public static + [Slot(1914)] + public static extern void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer, EntryPoints[1914]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Attach the storage for a buffer object to the active buffer texture @@ -120487,18 +82164,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glTexBuffer")] - public static + [Slot(1914)] + public static extern void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer, EntryPoints[1914]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_texture_buffer_range|VERSION_4_3] /// Bind a range of a buffer's data store to a buffer texture @@ -120529,18 +82199,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_buffer_range|VERSION_4_3", Version = "4.3", EntryPoint = "glTexBufferRange")] - public static + [Slot(1917)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[1917]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_texture_buffer_range|VERSION_4_3] /// Bind a range of a buffer's data store to a buffer texture @@ -120572,18 +82235,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_buffer_range|VERSION_4_3", Version = "4.3", EntryPoint = "glTexBufferRange")] - public static + [Slot(1917)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[1917]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120594,18 +82250,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1d")] - public static + [Slot(1922)] + public static extern void TexCoord1(Double s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)s, EntryPoints[1922]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120617,18 +82266,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1dv")] - public static + [Slot(1923)] + public static extern unsafe void TexCoord1(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1923]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120639,18 +82281,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1f")] - public static + [Slot(1924)] + public static extern void TexCoord1(Single s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)s, EntryPoints[1924]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120662,18 +82297,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1fv")] - public static + [Slot(1925)] + public static extern unsafe void TexCoord1(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1925]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120684,18 +82312,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1i")] - public static + [Slot(1928)] + public static extern void TexCoord1(Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)s, EntryPoints[1928]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120707,18 +82328,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1iv")] - public static + [Slot(1929)] + public static extern unsafe void TexCoord1(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1929]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120729,18 +82343,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1s")] - public static + [Slot(1930)] + public static extern void TexCoord1(Int16 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)s, EntryPoints[1930]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120752,18 +82359,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1sv")] - public static + [Slot(1931)] + public static extern unsafe void TexCoord1(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1931]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120774,18 +82374,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2d")] - public static + [Slot(1936)] + public static extern void TexCoord2(Double s, Double t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)s, (Double)t, EntryPoints[1936]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120796,24 +82389,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2dv")] - public static + [Slot(1937)] + public static extern void TexCoord2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1937]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120824,24 +82404,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2dv")] - public static + [Slot(1937)] + public static extern void TexCoord2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1937]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120853,18 +82420,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2dv")] - public static + [Slot(1937)] + public static extern unsafe void TexCoord2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1937]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120875,18 +82435,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2f")] - public static + [Slot(1938)] + public static extern void TexCoord2(Single s, Single t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)s, (Single)t, EntryPoints[1938]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120897,24 +82450,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2fv")] - public static + [Slot(1947)] + public static extern void TexCoord2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1947]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120925,24 +82465,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2fv")] - public static + [Slot(1947)] + public static extern void TexCoord2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1947]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120954,18 +82481,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2fv")] - public static + [Slot(1947)] + public static extern unsafe void TexCoord2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1947]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120976,18 +82496,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2i")] - public static + [Slot(1952)] + public static extern void TexCoord2(Int32 s, Int32 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)s, (Int32)t, EntryPoints[1952]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -120998,24 +82511,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2iv")] - public static + [Slot(1953)] + public static extern void TexCoord2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1953]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121026,24 +82526,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2iv")] - public static + [Slot(1953)] + public static extern void TexCoord2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1953]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121055,18 +82542,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2iv")] - public static + [Slot(1953)] + public static extern unsafe void TexCoord2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1953]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121077,18 +82557,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2s")] - public static + [Slot(1954)] + public static extern void TexCoord2(Int16 s, Int16 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)s, (Int16)t, EntryPoints[1954]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121099,24 +82572,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2sv")] - public static + [Slot(1955)] + public static extern void TexCoord2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1955]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121127,24 +82587,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2sv")] - public static + [Slot(1955)] + public static extern void TexCoord2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1955]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121156,18 +82603,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2sv")] - public static + [Slot(1955)] + public static extern unsafe void TexCoord2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1955]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121178,18 +82618,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3d")] - public static + [Slot(1960)] + public static extern void TexCoord3(Double s, Double t, Double r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)s, (Double)t, (Double)r, EntryPoints[1960]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121200,24 +82633,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3dv")] - public static + [Slot(1961)] + public static extern void TexCoord3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1961]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121228,24 +82648,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3dv")] - public static + [Slot(1961)] + public static extern void TexCoord3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1961]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121257,18 +82664,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3dv")] - public static + [Slot(1961)] + public static extern unsafe void TexCoord3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1961]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121279,18 +82679,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3f")] - public static + [Slot(1962)] + public static extern void TexCoord3(Single s, Single t, Single r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)s, (Single)t, (Single)r, EntryPoints[1962]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121301,24 +82694,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3fv")] - public static + [Slot(1963)] + public static extern void TexCoord3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1963]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121329,24 +82709,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3fv")] - public static + [Slot(1963)] + public static extern void TexCoord3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1963]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121358,18 +82725,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3fv")] - public static + [Slot(1963)] + public static extern unsafe void TexCoord3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1963]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121380,18 +82740,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3i")] - public static + [Slot(1966)] + public static extern void TexCoord3(Int32 s, Int32 t, Int32 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)s, (Int32)t, (Int32)r, EntryPoints[1966]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121402,24 +82755,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3iv")] - public static + [Slot(1967)] + public static extern void TexCoord3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1967]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121430,24 +82770,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3iv")] - public static + [Slot(1967)] + public static extern void TexCoord3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1967]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121459,18 +82786,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3iv")] - public static + [Slot(1967)] + public static extern unsafe void TexCoord3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1967]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121481,18 +82801,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3s")] - public static + [Slot(1968)] + public static extern void TexCoord3(Int16 s, Int16 t, Int16 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)s, (Int16)t, (Int16)r, EntryPoints[1968]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121503,24 +82816,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3sv")] - public static + [Slot(1969)] + public static extern void TexCoord3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1969]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121531,24 +82831,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3sv")] - public static + [Slot(1969)] + public static extern void TexCoord3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1969]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121560,18 +82847,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3sv")] - public static + [Slot(1969)] + public static extern unsafe void TexCoord3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1969]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121582,18 +82862,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4d")] - public static + [Slot(1974)] + public static extern void TexCoord4(Double s, Double t, Double r, Double q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)s, (Double)t, (Double)r, (Double)q, EntryPoints[1974]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121604,24 +82877,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4dv")] - public static + [Slot(1975)] + public static extern void TexCoord4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1975]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121632,24 +82892,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4dv")] - public static + [Slot(1975)] + public static extern void TexCoord4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1975]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121661,18 +82908,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4dv")] - public static + [Slot(1975)] + public static extern unsafe void TexCoord4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1975]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121683,18 +82923,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4f")] - public static + [Slot(1976)] + public static extern void TexCoord4(Single s, Single t, Single r, Single q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)s, (Single)t, (Single)r, (Single)q, EntryPoints[1976]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121705,24 +82938,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4fv")] - public static + [Slot(1979)] + public static extern void TexCoord4(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1979]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121733,24 +82953,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4fv")] - public static + [Slot(1979)] + public static extern void TexCoord4(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1979]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121762,18 +82969,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4fv")] - public static + [Slot(1979)] + public static extern unsafe void TexCoord4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1979]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121784,18 +82984,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4i")] - public static + [Slot(1984)] + public static extern void TexCoord4(Int32 s, Int32 t, Int32 r, Int32 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)s, (Int32)t, (Int32)r, (Int32)q, EntryPoints[1984]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121806,24 +82999,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4iv")] - public static + [Slot(1985)] + public static extern void TexCoord4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1985]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121834,24 +83014,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4iv")] - public static + [Slot(1985)] + public static extern void TexCoord4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1985]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121863,18 +83030,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4iv")] - public static + [Slot(1985)] + public static extern unsafe void TexCoord4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1985]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121885,18 +83045,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4s")] - public static + [Slot(1986)] + public static extern void TexCoord4(Int16 s, Int16 t, Int16 r, Int16 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)s, (Int16)t, (Int16)r, (Int16)q, EntryPoints[1986]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121907,24 +83060,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4sv")] - public static + [Slot(1987)] + public static extern void TexCoord4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1987]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121935,24 +83075,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4sv")] - public static + [Slot(1987)] + public static extern void TexCoord4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1987]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -121964,270 +83091,151 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4sv")] - public static + [Slot(1987)] + public static extern unsafe void TexCoord4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1987]); - #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 = "glTexCoordP1ui")] - public static + [Slot(1991)] + public static extern void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1991]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1991)] + public static extern void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1991]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1992)] + public static extern unsafe void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1992]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1992)] + public static extern unsafe void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1992]); - #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 = "glTexCoordP2ui")] - public static + [Slot(1993)] + public static extern void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1993]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1993)] + public static extern void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1993]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1994)] + public static extern unsafe void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1994]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1994)] + public static extern unsafe void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1994]); - #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 = "glTexCoordP3ui")] - public static + [Slot(1995)] + public static extern void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1995]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1995)] + public static extern void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1995]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1996)] + public static extern unsafe void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1996]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1996)] + public static extern unsafe void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1996]); - #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 = "glTexCoordP4ui")] - public static + [Slot(1997)] + public static extern void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1997]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1997)] + public static extern void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords, EntryPoints[1997]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1998)] + public static extern unsafe void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1998]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1998)] + public static extern unsafe void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)coords, EntryPoints[1998]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of texture coordinates @@ -122253,18 +83261,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static + [Slot(1999)] + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[1999]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of texture coordinates @@ -122290,27 +83291,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static + [Slot(1999)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1999]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of texture coordinates @@ -122336,27 +83322,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static + [Slot(1999)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1999]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of texture coordinates @@ -122382,27 +83353,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static + [Slot(1999)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1999]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of texture coordinates @@ -122428,28 +83384,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static + [Slot(1999)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1999]); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set texture environment parameters @@ -122470,18 +83410,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexEnvf")] - public static + [Slot(2003)] + public static extern void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single)param, EntryPoints[2003]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set texture environment parameters @@ -122502,24 +83435,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexEnvfv")] - public static + [Slot(2004)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[2004]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set texture environment parameters @@ -122541,18 +83461,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexEnvfv")] - public static + [Slot(2004)] + public static extern unsafe void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[2004]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set texture environment parameters @@ -122573,18 +83486,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexEnvi")] - public static + [Slot(2005)] + public static extern void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32)param, EntryPoints[2005]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set texture environment parameters @@ -122605,24 +83511,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexEnviv")] - public static + [Slot(2006)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[2006]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Set texture environment parameters @@ -122644,33 +83537,19 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexEnviv")] - public static + [Slot(2006)] + public static extern unsafe void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[2006]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGend")] - public static + [Slot(2010)] + public static extern void TexGend(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double)param, EntryPoints[2010]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -122691,24 +83570,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGendv")] - public static + [Slot(2011)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[2011]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -122729,24 +83595,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGendv")] - public static + [Slot(2011)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[2011]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -122768,18 +83621,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGendv")] - public static + [Slot(2011)] + public static extern unsafe void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params, EntryPoints[2011]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -122800,18 +83646,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGenf")] - public static + [Slot(2012)] + public static extern void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single)param, EntryPoints[2012]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -122832,24 +83671,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGenfv")] - public static + [Slot(2013)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[2013]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -122871,18 +83697,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGenfv")] - public static + [Slot(2013)] + public static extern unsafe void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params, EntryPoints[2013]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -122903,18 +83722,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGeni")] - public static + [Slot(2014)] + public static extern void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32)param, EntryPoints[2014]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -122935,24 +83747,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGeniv")] - public static + [Slot(2015)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[2015]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -122974,18 +83773,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGeniv")] - public static + [Slot(2015)] + public static extern unsafe void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params, EntryPoints[2015]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -123031,18 +83823,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static + [Slot(2018)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2018]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -123088,27 +83873,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static + [Slot(2018)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2018]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -123154,27 +83924,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static + [Slot(2018)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2018]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -123220,27 +83975,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static + [Slot(2018)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2018]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -123286,28 +84026,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static + [Slot(2018)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2018]); - pixels = (T7)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -123358,18 +84082,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(2019)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2019]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -123420,27 +84137,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(2019)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2019]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -123491,27 +84193,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(2019)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2019]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -123562,27 +84249,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(2019)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2019]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -123633,28 +84305,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(2019)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2019]); - 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 @@ -123690,18 +84346,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glTexImage2DMultisample")] - public static + [Slot(2020)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations, EntryPoints[2020]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -123757,18 +84406,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static + [Slot(2022)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2022]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -123824,27 +84466,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static + [Slot(2022)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2022]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -123900,27 +84527,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static + [Slot(2022)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2022]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -123976,27 +84588,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static + [Slot(2022)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2022]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -124052,28 +84649,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static + [Slot(2022)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2022]); - 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 @@ -124109,18 +84690,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glTexImage3DMultisample")] - public static + [Slot(2024)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations, EntryPoints[2024]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -124149,18 +84723,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterf")] - public static + [Slot(2028)] + public static extern void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param, EntryPoints[2028]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -124189,24 +84756,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static + [Slot(2029)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2029]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -124236,18 +84790,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static + [Slot(2029)] + public static extern unsafe void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[2029]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -124276,136 +84823,63 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteri")] - public static + [Slot(2030)] + public static extern void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param, EntryPoints[2030]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static + [Slot(2031)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2031]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static + [Slot(2031)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2031]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static + [Slot(2031)] + public static extern unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[2031]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static + [Slot(2033)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2033]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static + [Slot(2033)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2033]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static + [Slot(2033)] + public static extern unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[2033]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -124434,24 +84908,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static + [Slot(2035)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2035]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -124481,18 +84942,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static + [Slot(2035)] + public static extern unsafe void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[2035]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_texture_storage|VERSION_4_2] /// Simultaneously specify storage for all levels of a one-dimensional texture @@ -124518,18 +84972,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_storage|VERSION_4_2", Version = "4.2", EntryPoint = "glTexStorage1D")] - public static + [Slot(2039)] + public static extern void TexStorage1D(OpenTK.Graphics.OpenGL.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget1d)target, (Int32)levels, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, EntryPoints[2039]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -124560,18 +85007,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_storage|VERSION_4_2", Version = "4.2", EntryPoint = "glTexStorage2D")] - public static + [Slot(2040)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[2040]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_texture_storage_multisample|VERSION_4_3] /// Specify storage for a two-dimensional multisample texture @@ -124607,18 +85047,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_storage_multisample|VERSION_4_3", Version = "4.3", EntryPoint = "glTexStorage2DMultisample")] - public static + [Slot(2041)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTargetMultisample2d)target, (Int32)samples, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations, EntryPoints[2041]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -124654,18 +85087,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_storage|VERSION_4_2", Version = "4.2", EntryPoint = "glTexStorage3D")] - public static + [Slot(2042)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[2042]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_texture_storage_multisample|VERSION_4_3] /// Specify storage for a two-dimensional multisample array texture @@ -124706,18 +85132,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_storage_multisample|VERSION_4_3", Version = "4.3", EntryPoint = "glTexStorage3DMultisample")] - public static + [Slot(2043)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTargetMultisample3d)target, (Int32)samples, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations, EntryPoints[2043]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -124758,18 +85177,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static + [Slot(2045)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels, EntryPoints[2045]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -124810,27 +85222,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static + [Slot(2045)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2045]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -124871,27 +85268,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static + [Slot(2045)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2045]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -124932,27 +85314,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static + [Slot(2045)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2045]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -124993,28 +85360,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static + [Slot(2045)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2045]); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -125065,18 +85416,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static + [Slot(2047)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2047]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -125127,27 +85471,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static + [Slot(2047)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2047]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -125198,27 +85527,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static + [Slot(2047)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2047]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -125269,27 +85583,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static + [Slot(2047)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2047]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -125340,28 +85639,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static + [Slot(2047)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2047]); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -125422,18 +85705,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static + [Slot(2049)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2049]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -125494,27 +85770,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static + [Slot(2049)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2049]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -125575,27 +85836,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static + [Slot(2049)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2049]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -125656,27 +85902,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static + [Slot(2049)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2049]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -125737,28 +85968,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static + [Slot(2049)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2049]); - 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 @@ -125804,18 +86019,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_view|VERSION_4_3", Version = "4.3", EntryPoint = "glTextureView")] - public static + [Slot(2084)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)origtexture, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (UInt32)minlevel, (UInt32)numlevels, (UInt32)minlayer, (UInt32)numlayers, EntryPoints[2084]); - #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 @@ -125862,18 +86070,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_view|VERSION_4_3", Version = "4.3", EntryPoint = "glTextureView")] - public static + [Slot(2084)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)origtexture, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (UInt32)minlevel, (UInt32)numlevels, (UInt32)minlayer, (UInt32)numlayers, EntryPoints[2084]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify values to record in transform feedback buffers @@ -125899,18 +86100,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static + [Slot(2088)] + public static extern void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.TransformFeedbackMode)bufferMode, EntryPoints[2088]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify values to record in transform feedback buffers @@ -125937,18 +86131,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static + [Slot(2088)] + public static extern void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.TransformFeedbackMode)bufferMode, EntryPoints[2088]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a translation matrix @@ -125959,18 +86146,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTranslated")] - public static + [Slot(2092)] + public static extern void Translate(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, (Double)z, EntryPoints[2092]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a translation matrix @@ -125981,18 +86161,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTranslatef")] - public static + [Slot(2093)] + public static extern void Translate(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, (Single)z, EntryPoints[2093]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -126026,18 +86199,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1d")] - public static + [Slot(2095)] + public static extern void Uniform1(Int32 location, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Double)x, EntryPoints[2095]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -126071,24 +86237,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1dv")] - public static + [Slot(2096)] + public static extern void Uniform1(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2096]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -126122,24 +86275,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1dv")] - public static + [Slot(2096)] + public static extern void Uniform1(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2096]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -126174,18 +86314,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1dv")] - public static + [Slot(2096)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2096]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126219,18 +86352,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1f")] - public static + [Slot(2097)] + public static extern void Uniform1(Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, EntryPoints[2097]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126264,24 +86390,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static + [Slot(2099)] + public static extern void Uniform1(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2099]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126315,24 +86428,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static + [Slot(2099)] + public static extern void Uniform1(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2099]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126367,18 +86467,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static + [Slot(2099)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2099]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126412,18 +86505,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1i")] - public static + [Slot(2101)] + public static extern void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, EntryPoints[2101]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126457,24 +86543,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static + [Slot(2105)] + public static extern void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2105]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126508,24 +86581,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static + [Slot(2105)] + public static extern void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2105]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126560,18 +86620,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static + [Slot(2105)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2105]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -126606,18 +86659,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1ui")] - public static + [Slot(2107)] + public static extern void Uniform1(Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, EntryPoints[2107]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -126652,24 +86698,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static + [Slot(2111)] + public static extern void Uniform1(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2111]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -126704,24 +86737,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static + [Slot(2111)] + public static extern void Uniform1(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2111]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -126756,18 +86776,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static + [Slot(2111)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2111]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -126801,18 +86814,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2d")] - public static + [Slot(2113)] + public static extern void Uniform2(Int32 location, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Double)x, (Double)y, EntryPoints[2113]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -126846,24 +86852,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2dv")] - public static + [Slot(2114)] + public static extern void Uniform2(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2114]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -126897,24 +86890,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2dv")] - public static + [Slot(2114)] + public static extern void Uniform2(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2114]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -126949,18 +86929,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2dv")] - public static + [Slot(2114)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2114]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126994,18 +86967,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2f")] - public static + [Slot(2115)] + public static extern void Uniform2(Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, EntryPoints[2115]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -127039,24 +87005,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static + [Slot(2117)] + public static extern void Uniform2(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2117]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -127090,24 +87043,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static + [Slot(2117)] + public static extern void Uniform2(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2117]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -127142,18 +87082,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static + [Slot(2117)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2117]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -127187,18 +87120,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2i")] - public static + [Slot(2119)] + public static extern void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, EntryPoints[2119]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -127232,24 +87158,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static + [Slot(2123)] + public static extern void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2123]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -127284,18 +87197,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static + [Slot(2123)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2123]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -127330,18 +87236,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2ui")] - public static + [Slot(2125)] + public static extern void Uniform2(Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, EntryPoints[2125]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -127376,24 +87275,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static + [Slot(2129)] + public static extern void Uniform2(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2129]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -127428,24 +87314,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static + [Slot(2129)] + public static extern void Uniform2(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2129]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -127480,18 +87353,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static + [Slot(2129)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2129]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -127525,18 +87391,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3d")] - public static + [Slot(2131)] + public static extern void Uniform3(Int32 location, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Double)x, (Double)y, (Double)z, EntryPoints[2131]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -127570,24 +87429,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3dv")] - public static + [Slot(2132)] + public static extern void Uniform3(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2132]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -127621,24 +87467,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3dv")] - public static + [Slot(2132)] + public static extern void Uniform3(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2132]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -127673,18 +87506,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3dv")] - public static + [Slot(2132)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2132]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -127718,18 +87544,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3f")] - public static + [Slot(2133)] + public static extern void Uniform3(Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[2133]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -127763,24 +87582,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static + [Slot(2135)] + public static extern void Uniform3(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2135]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -127814,24 +87620,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static + [Slot(2135)] + public static extern void Uniform3(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2135]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -127866,18 +87659,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static + [Slot(2135)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2135]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -127911,18 +87697,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3i")] - public static + [Slot(2137)] + public static extern void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[2137]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -127956,24 +87735,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static + [Slot(2141)] + public static extern void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2141]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -128007,24 +87773,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static + [Slot(2141)] + public static extern void Uniform3(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2141]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -128059,18 +87812,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static + [Slot(2141)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2141]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -128105,18 +87851,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3ui")] - public static + [Slot(2143)] + public static extern void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, EntryPoints[2143]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -128151,24 +87890,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static + [Slot(2147)] + public static extern void Uniform3(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2147]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -128203,24 +87929,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static + [Slot(2147)] + public static extern void Uniform3(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2147]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -128255,18 +87968,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static + [Slot(2147)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2147]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -128300,18 +88006,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4d")] - public static + [Slot(2149)] + public static extern void Uniform4(Int32 location, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2149]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -128345,24 +88044,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4dv")] - public static + [Slot(2150)] + public static extern void Uniform4(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2150]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -128396,24 +88082,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4dv")] - public static + [Slot(2150)] + public static extern void Uniform4(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2150]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -128448,18 +88121,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4dv")] - public static + [Slot(2150)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2150]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -128493,18 +88159,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4f")] - public static + [Slot(2151)] + public static extern void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[2151]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -128538,24 +88197,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static + [Slot(2153)] + public static extern void Uniform4(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2153]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -128589,24 +88235,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static + [Slot(2153)] + public static extern void Uniform4(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2153]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -128641,18 +88274,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static + [Slot(2153)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2153]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -128686,18 +88312,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4i")] - public static + [Slot(2155)] + public static extern void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[2155]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -128731,24 +88350,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static + [Slot(2159)] + public static extern void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2159]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -128782,24 +88388,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static + [Slot(2159)] + public static extern void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2159]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -128834,18 +88427,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static + [Slot(2159)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2159]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -128880,18 +88466,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4ui")] - public static + [Slot(2161)] + public static extern void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3, EntryPoints[2161]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -128926,24 +88505,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static + [Slot(2165)] + public static extern void Uniform4(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2165]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -128978,24 +88544,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static + [Slot(2165)] + public static extern void Uniform4(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2165]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -129030,18 +88583,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static + [Slot(2165)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2165]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Assign a binding point to an active uniform block @@ -129062,18 +88608,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glUniformBlockBinding")] - public static + [Slot(2167)] + public static extern void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding, EntryPoints[2167]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Assign a binding point to an active uniform block @@ -129095,1062 +88634,461 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glUniformBlockBinding")] - public static + [Slot(2167)] + public static extern void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding, EntryPoints[2167]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2173)] + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2173]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2173)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2173]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2173)] + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2173]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static + [Slot(2174)] + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2174]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static + [Slot(2174)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2174]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static + [Slot(2174)] + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2174]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2176)] + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2176]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2176)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2176]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2176)] + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2176]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static + [Slot(2177)] + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2177]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static + [Slot(2177)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2177]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static + [Slot(2177)] + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2177]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2178)] + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2178]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2178)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2178]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2178)] + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2178]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static + [Slot(2179)] + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2179]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static + [Slot(2179)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2179]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static + [Slot(2179)] + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2179]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2180)] + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2180]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2180)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2180]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2180)] + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2180]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static + [Slot(2181)] + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2181]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static + [Slot(2181)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2181]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static + [Slot(2181)] + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2181]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2183)] + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2183)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2183)] + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2183]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static + [Slot(2184)] + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2184]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static + [Slot(2184)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2184]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static + [Slot(2184)] + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2184]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2185)] + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2185)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2185]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2185)] + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2185]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static + [Slot(2186)] + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2186]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static + [Slot(2186)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2186]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static + [Slot(2186)] + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2186]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2187)] + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2187]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2187)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2187]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2187)] + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2187]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static + [Slot(2188)] + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2188]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static + [Slot(2188)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2188]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static + [Slot(2188)] + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2188]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2190)] + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2190]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2190)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2190]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2190)] + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2190]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static + [Slot(2191)] + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2191]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static + [Slot(2191)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2191]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static + [Slot(2191)] + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2191]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2192)] + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2192]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2192)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2192]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2192)] + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2192]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static + [Slot(2193)] + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2193]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static + [Slot(2193)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[2193]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static + [Slot(2193)] + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[2193]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -130171,24 +89109,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static + [Slot(2194)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (IntPtr)indices_ptr, EntryPoints[2194]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -130209,24 +89134,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static + [Slot(2194)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (IntPtr)indices_ptr, EntryPoints[2194]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -130248,18 +89160,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static + [Slot(2194)] + public static extern unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, Int32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (IntPtr)indices, EntryPoints[2194]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -130281,24 +89186,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static + [Slot(2194)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (IntPtr)indices_ptr, EntryPoints[2194]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -130320,24 +89212,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static + [Slot(2194)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (IntPtr)indices_ptr, EntryPoints[2194]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -130359,33 +89238,19 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static + [Slot(2194)] + public static extern unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, UInt32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (IntPtr)indices, EntryPoints[2194]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glUnmapBuffer")] - public static + [Slot(2198)] + public static extern bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.BufferTarget)target, EntryPoints[2198]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Installs a program object as part of current rendering state @@ -130396,18 +89261,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static + [Slot(2204)] + public static extern void UseProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[2204]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Installs a program object as part of current rendering state @@ -130419,18 +89277,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static + [Slot(2204)] + public static extern void UseProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[2204]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind stages of a program object to a program pipeline @@ -130451,18 +89302,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glUseProgramStages")] - public static + [Slot(2206)] + public static extern void UseProgramStages(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramStageMask)stages, (UInt32)program, EntryPoints[2206]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind stages of a program object to a program pipeline @@ -130484,18 +89328,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glUseProgramStages")] - public static + [Slot(2206)] + public static extern void UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramStageMask)stages, (UInt32)program, EntryPoints[2206]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Validates a program object @@ -130506,18 +89343,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static + [Slot(2209)] + public static extern void ValidateProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[2209]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Validates a program object @@ -130529,18 +89359,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static + [Slot(2209)] + public static extern void ValidateProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[2209]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Validate a program pipeline object against current GL state @@ -130551,18 +89374,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glValidateProgramPipeline")] - public static + [Slot(2211)] + public static extern void ValidateProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[2211]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Validate a program pipeline object against current GL state @@ -130574,18 +89390,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glValidateProgramPipeline")] - public static + [Slot(2211)] + public static extern void ValidateProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[2211]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130596,18 +89405,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2d")] - public static + [Slot(2235)] + public static extern void Vertex2(Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, EntryPoints[2235]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130618,24 +89420,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2dv")] - public static + [Slot(2236)] + public static extern void Vertex2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2236]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130646,24 +89435,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2dv")] - public static + [Slot(2236)] + public static extern void Vertex2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2236]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130675,18 +89451,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2dv")] - public static + [Slot(2236)] + public static extern unsafe void Vertex2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2236]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130697,18 +89466,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2f")] - public static + [Slot(2237)] + public static extern void Vertex2(Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, EntryPoints[2237]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130719,24 +89481,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2fv")] - public static + [Slot(2238)] + public static extern void Vertex2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2238]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130747,24 +89496,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2fv")] - public static + [Slot(2238)] + public static extern void Vertex2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2238]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130776,18 +89512,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2fv")] - public static + [Slot(2238)] + public static extern unsafe void Vertex2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2238]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130798,18 +89527,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2i")] - public static + [Slot(2241)] + public static extern void Vertex2(Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, EntryPoints[2241]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130820,24 +89542,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2iv")] - public static + [Slot(2242)] + public static extern void Vertex2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2242]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130848,24 +89557,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2iv")] - public static + [Slot(2242)] + public static extern void Vertex2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2242]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130877,18 +89573,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2iv")] - public static + [Slot(2242)] + public static extern unsafe void Vertex2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2242]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130899,18 +89588,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2s")] - public static + [Slot(2243)] + public static extern void Vertex2(Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, EntryPoints[2243]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130921,24 +89603,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2sv")] - public static + [Slot(2244)] + public static extern void Vertex2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2244]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130949,24 +89618,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2sv")] - public static + [Slot(2244)] + public static extern void Vertex2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2244]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -130978,18 +89634,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2sv")] - public static + [Slot(2244)] + public static extern unsafe void Vertex2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2244]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131000,18 +89649,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3d")] - public static + [Slot(2249)] + public static extern void Vertex3(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, (Double)z, EntryPoints[2249]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131022,24 +89664,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3dv")] - public static + [Slot(2250)] + public static extern void Vertex3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2250]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131050,24 +89679,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3dv")] - public static + [Slot(2250)] + public static extern void Vertex3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2250]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131079,18 +89695,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3dv")] - public static + [Slot(2250)] + public static extern unsafe void Vertex3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2250]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131101,18 +89710,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3f")] - public static + [Slot(2251)] + public static extern void Vertex3(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, (Single)z, EntryPoints[2251]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131123,24 +89725,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3fv")] - public static + [Slot(2252)] + public static extern void Vertex3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2252]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131151,24 +89740,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3fv")] - public static + [Slot(2252)] + public static extern void Vertex3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2252]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131180,18 +89756,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3fv")] - public static + [Slot(2252)] + public static extern unsafe void Vertex3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2252]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131202,18 +89771,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3i")] - public static + [Slot(2255)] + public static extern void Vertex3(Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)z, EntryPoints[2255]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131224,24 +89786,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3iv")] - public static + [Slot(2256)] + public static extern void Vertex3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2256]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131252,24 +89801,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3iv")] - public static + [Slot(2256)] + public static extern void Vertex3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2256]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131281,18 +89817,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3iv")] - public static + [Slot(2256)] + public static extern unsafe void Vertex3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2256]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131303,18 +89832,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3s")] - public static + [Slot(2257)] + public static extern void Vertex3(Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, (Int16)z, EntryPoints[2257]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131325,24 +89847,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3sv")] - public static + [Slot(2258)] + public static extern void Vertex3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2258]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131353,24 +89862,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3sv")] - public static + [Slot(2258)] + public static extern void Vertex3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2258]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131382,18 +89878,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3sv")] - public static + [Slot(2258)] + public static extern unsafe void Vertex3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2258]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131404,18 +89893,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4d")] - public static + [Slot(2263)] + public static extern void Vertex4(Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2263]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131426,24 +89908,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4dv")] - public static + [Slot(2264)] + public static extern void Vertex4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2264]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131454,24 +89923,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4dv")] - public static + [Slot(2264)] + public static extern void Vertex4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2264]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131483,18 +89939,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4dv")] - public static + [Slot(2264)] + public static extern unsafe void Vertex4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2264]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131505,18 +89954,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4f")] - public static + [Slot(2265)] + public static extern void Vertex4(Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[2265]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131527,24 +89969,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4fv")] - public static + [Slot(2266)] + public static extern void Vertex4(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2266]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131555,24 +89984,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4fv")] - public static + [Slot(2266)] + public static extern void Vertex4(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2266]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131584,18 +90000,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4fv")] - public static + [Slot(2266)] + public static extern unsafe void Vertex4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2266]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131606,18 +90015,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4i")] - public static + [Slot(2269)] + public static extern void Vertex4(Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[2269]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131628,24 +90030,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4iv")] - public static + [Slot(2270)] + public static extern void Vertex4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2270]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131656,24 +90045,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4iv")] - public static + [Slot(2270)] + public static extern void Vertex4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2270]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131685,18 +90061,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4iv")] - public static + [Slot(2270)] + public static extern unsafe void Vertex4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2270]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131707,18 +90076,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4s")] - public static + [Slot(2271)] + public static extern void Vertex4(Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, (Int16)z, (Int16)w, EntryPoints[2271]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131729,24 +90091,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4sv")] - public static + [Slot(2272)] + public static extern void Vertex4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2272]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131757,24 +90106,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4sv")] - public static + [Slot(2272)] + public static extern void Vertex4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2272]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -131786,18 +90122,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4sv")] - public static + [Slot(2272)] + public static extern unsafe void Vertex4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2272]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131833,18 +90162,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1d")] - public static + [Slot(2297)] + public static extern void VertexAttrib1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[2297]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131881,18 +90203,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1d")] - public static + [Slot(2297)] + public static extern void VertexAttrib1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[2297]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131929,18 +90244,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] - public static + [Slot(2300)] + public static extern unsafe void VertexAttrib1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2300]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131977,18 +90285,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] - public static + [Slot(2300)] + public static extern unsafe void VertexAttrib1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2300]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132024,18 +90325,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static + [Slot(2303)] + public static extern void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, EntryPoints[2303]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132072,18 +90366,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static + [Slot(2303)] + public static extern void VertexAttrib1(UInt32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, EntryPoints[2303]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132120,18 +90407,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static + [Slot(2306)] + public static extern unsafe void VertexAttrib1(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2306]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132168,18 +90448,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static + [Slot(2306)] + public static extern unsafe void VertexAttrib1(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2306]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132215,18 +90488,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1s")] - public static + [Slot(2311)] + public static extern void VertexAttrib1(Int32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, EntryPoints[2311]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132263,18 +90529,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1s")] - public static + [Slot(2311)] + public static extern void VertexAttrib1(UInt32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, EntryPoints[2311]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132311,18 +90570,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] - public static + [Slot(2314)] + public static extern unsafe void VertexAttrib1(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2314]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132359,18 +90611,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] - public static + [Slot(2314)] + public static extern unsafe void VertexAttrib1(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2314]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132406,18 +90651,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2d")] - public static + [Slot(2317)] + public static extern void VertexAttrib2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[2317]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132454,18 +90692,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2d")] - public static + [Slot(2317)] + public static extern void VertexAttrib2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[2317]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132501,24 +90732,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static + [Slot(2320)] + public static extern void VertexAttrib2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2320]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132554,24 +90772,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static + [Slot(2320)] + public static extern void VertexAttrib2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2320]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132608,18 +90813,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static + [Slot(2320)] + public static extern unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2320]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132656,24 +90854,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static + [Slot(2320)] + public static extern void VertexAttrib2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2320]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132710,24 +90895,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static + [Slot(2320)] + public static extern void VertexAttrib2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2320]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132764,18 +90936,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static + [Slot(2320)] + public static extern unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2320]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132811,18 +90976,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static + [Slot(2323)] + public static extern void VertexAttrib2(Int32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, EntryPoints[2323]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132859,18 +91017,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static + [Slot(2323)] + public static extern void VertexAttrib2(UInt32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, EntryPoints[2323]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132906,24 +91057,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(2326)] + public static extern void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2326]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132959,24 +91097,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(2326)] + public static extern void VertexAttrib2(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2326]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133013,18 +91138,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(2326)] + public static extern unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2326]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133061,24 +91179,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(2326)] + public static extern void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2326]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133115,24 +91220,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(2326)] + public static extern void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2326]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133169,18 +91261,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(2326)] + public static extern unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2326]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133216,18 +91301,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2s")] - public static + [Slot(2331)] + public static extern void VertexAttrib2(Int32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, EntryPoints[2331]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133264,18 +91342,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2s")] - public static + [Slot(2331)] + public static extern void VertexAttrib2(UInt32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, EntryPoints[2331]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133311,24 +91382,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static + [Slot(2334)] + public static extern void VertexAttrib2(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2334]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133364,24 +91422,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static + [Slot(2334)] + public static extern void VertexAttrib2(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2334]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133418,18 +91463,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static + [Slot(2334)] + public static extern unsafe void VertexAttrib2(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2334]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133466,24 +91504,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static + [Slot(2334)] + public static extern void VertexAttrib2(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2334]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133520,24 +91545,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static + [Slot(2334)] + public static extern void VertexAttrib2(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2334]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133574,18 +91586,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static + [Slot(2334)] + public static extern unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2334]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133621,18 +91626,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3d")] - public static + [Slot(2337)] + public static extern void VertexAttrib3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[2337]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133669,18 +91667,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3d")] - public static + [Slot(2337)] + public static extern void VertexAttrib3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[2337]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133716,24 +91707,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static + [Slot(2340)] + public static extern void VertexAttrib3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2340]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133769,24 +91747,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static + [Slot(2340)] + public static extern void VertexAttrib3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2340]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133823,18 +91788,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static + [Slot(2340)] + public static extern unsafe void VertexAttrib3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2340]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133871,24 +91829,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static + [Slot(2340)] + public static extern void VertexAttrib3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2340]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133925,24 +91870,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static + [Slot(2340)] + public static extern void VertexAttrib3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2340]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133979,18 +91911,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static + [Slot(2340)] + public static extern unsafe void VertexAttrib3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2340]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134026,18 +91951,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static + [Slot(2343)] + public static extern void VertexAttrib3(Int32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, EntryPoints[2343]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134074,18 +91992,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static + [Slot(2343)] + public static extern void VertexAttrib3(UInt32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, EntryPoints[2343]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134121,24 +92032,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(2346)] + public static extern void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2346]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134174,24 +92072,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(2346)] + public static extern void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2346]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134228,18 +92113,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(2346)] + public static extern unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2346]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134276,24 +92154,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(2346)] + public static extern void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2346]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134330,24 +92195,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(2346)] + public static extern void VertexAttrib3(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2346]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134384,18 +92236,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(2346)] + public static extern unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2346]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134431,18 +92276,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3s")] - public static + [Slot(2351)] + public static extern void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, EntryPoints[2351]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134479,18 +92317,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3s")] - public static + [Slot(2351)] + public static extern void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, EntryPoints[2351]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134526,24 +92357,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static + [Slot(2354)] + public static extern void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2354]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134579,24 +92397,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static + [Slot(2354)] + public static extern void VertexAttrib3(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2354]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134633,18 +92438,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static + [Slot(2354)] + public static extern unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2354]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134681,24 +92479,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static + [Slot(2354)] + public static extern void VertexAttrib3(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2354]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134735,24 +92520,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static + [Slot(2354)] + public static extern void VertexAttrib3(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2354]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134789,18 +92561,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static + [Slot(2354)] + public static extern unsafe void VertexAttrib3(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2354]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134837,24 +92602,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static + [Slot(2357)] + public static extern void VertexAttrib4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2357]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134891,24 +92643,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static + [Slot(2357)] + public static extern void VertexAttrib4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2357]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134945,18 +92684,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static + [Slot(2357)] + public static extern unsafe void VertexAttrib4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2357]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134992,18 +92724,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4d")] - public static + [Slot(2359)] + public static extern void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2359]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135040,18 +92765,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4d")] - public static + [Slot(2359)] + public static extern void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2359]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135087,24 +92805,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static + [Slot(2362)] + public static extern void VertexAttrib4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2362]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135140,24 +92845,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static + [Slot(2362)] + public static extern void VertexAttrib4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2362]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135194,18 +92886,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static + [Slot(2362)] + public static extern unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2362]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135242,24 +92927,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static + [Slot(2362)] + public static extern void VertexAttrib4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2362]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135296,24 +92968,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static + [Slot(2362)] + public static extern void VertexAttrib4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2362]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135350,18 +93009,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static + [Slot(2362)] + public static extern unsafe void VertexAttrib4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2362]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135397,18 +93049,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static + [Slot(2365)] + public static extern void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[2365]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135445,18 +93090,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static + [Slot(2365)] + public static extern void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[2365]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135492,24 +93130,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(2368)] + public static extern void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2368]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135545,24 +93170,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(2368)] + public static extern void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2368]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135599,18 +93211,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(2368)] + public static extern unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2368]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135647,24 +93252,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(2368)] + public static extern void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2368]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135701,24 +93293,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(2368)] + public static extern void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2368]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135755,18 +93334,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(2368)] + public static extern unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2368]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135802,24 +93374,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static + [Slot(2373)] + public static extern void VertexAttrib4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2373]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135855,24 +93414,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static + [Slot(2373)] + public static extern void VertexAttrib4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2373]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135909,18 +93455,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static + [Slot(2373)] + public static extern unsafe void VertexAttrib4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2373]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135957,24 +93496,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static + [Slot(2373)] + public static extern void VertexAttrib4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2373]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -136011,24 +93537,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static + [Slot(2373)] + public static extern void VertexAttrib4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2373]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -136065,583 +93578,265 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static + [Slot(2373)] + public static extern unsafe void VertexAttrib4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2373]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static + [Slot(2375)] + public static extern void VertexAttrib4N(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2375]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static + [Slot(2375)] + public static extern void VertexAttrib4N(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2375]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static + [Slot(2375)] + public static extern unsafe void VertexAttrib4N(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2375]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static + [Slot(2377)] + public static extern void VertexAttrib4N(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2377]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static + [Slot(2377)] + public static extern void VertexAttrib4N(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2377]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static + [Slot(2377)] + public static extern unsafe void VertexAttrib4N(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2377]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static + [Slot(2377)] + public static extern void VertexAttrib4N(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2377]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static + [Slot(2377)] + public static extern void VertexAttrib4N(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2377]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static + [Slot(2377)] + public static extern unsafe void VertexAttrib4N(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2377]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static + [Slot(2379)] + public static extern void VertexAttrib4N(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2379]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static + [Slot(2379)] + public static extern void VertexAttrib4N(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2379]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static + [Slot(2379)] + public static extern unsafe void VertexAttrib4N(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2379]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static + [Slot(2379)] + public static extern void VertexAttrib4N(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2379]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static + [Slot(2379)] + public static extern void VertexAttrib4N(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2379]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static + [Slot(2379)] + public static extern unsafe void VertexAttrib4N(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2379]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] - public static + [Slot(2381)] + public static extern void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w, EntryPoints[2381]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] - public static + [Slot(2381)] + public static extern void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w, EntryPoints[2381]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static + [Slot(2383)] + public static extern void VertexAttrib4N(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static + [Slot(2383)] + public static extern void VertexAttrib4N(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static + [Slot(2383)] + public static extern unsafe void VertexAttrib4N(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2383]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static + [Slot(2383)] + public static extern void VertexAttrib4N(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static + [Slot(2383)] + public static extern void VertexAttrib4N(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static + [Slot(2383)] + public static extern unsafe void VertexAttrib4N(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2383]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static + [Slot(2385)] + public static extern void VertexAttrib4N(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2385]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static + [Slot(2385)] + public static extern void VertexAttrib4N(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2385]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static + [Slot(2385)] + public static extern unsafe void VertexAttrib4N(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2385]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static + [Slot(2387)] + public static extern void VertexAttrib4N(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2387]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static + [Slot(2387)] + public static extern void VertexAttrib4N(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2387]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static + [Slot(2387)] + public static extern unsafe void VertexAttrib4N(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2387]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -136677,18 +93872,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4s")] - public static + [Slot(2389)] + public static extern void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w, EntryPoints[2389]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -136725,18 +93913,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4s")] - public static + [Slot(2389)] + public static extern void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w, EntryPoints[2389]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -136772,24 +93953,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static + [Slot(2392)] + public static extern void VertexAttrib4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2392]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -136825,24 +93993,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static + [Slot(2392)] + public static extern void VertexAttrib4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2392]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -136879,18 +94034,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static + [Slot(2392)] + public static extern unsafe void VertexAttrib4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2392]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -136927,24 +94075,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static + [Slot(2392)] + public static extern void VertexAttrib4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2392]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -136981,24 +94116,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static + [Slot(2392)] + public static extern void VertexAttrib4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2392]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -137035,18 +94157,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static + [Slot(2392)] + public static extern unsafe void VertexAttrib4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2392]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -137082,24 +94197,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static + [Slot(2396)] + public static extern void VertexAttrib4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2396]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -137135,24 +94237,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static + [Slot(2396)] + public static extern void VertexAttrib4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2396]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -137189,18 +94278,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static + [Slot(2396)] + public static extern unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2396]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -137237,24 +94319,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static + [Slot(2396)] + public static extern void VertexAttrib4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2396]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -137291,24 +94360,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static + [Slot(2396)] + public static extern void VertexAttrib4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2396]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -137345,18 +94401,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static + [Slot(2396)] + public static extern unsafe void VertexAttrib4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2396]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -137393,24 +94442,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] - public static + [Slot(2399)] + public static extern void VertexAttrib4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2399]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -137447,24 +94483,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] - public static + [Slot(2399)] + public static extern void VertexAttrib4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2399]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -137501,18 +94524,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] - public static + [Slot(2399)] + public static extern unsafe void VertexAttrib4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2399]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -137549,24 +94565,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static + [Slot(2401)] + public static extern void VertexAttrib4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2401]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -137603,24 +94606,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static + [Slot(2401)] + public static extern void VertexAttrib4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2401]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -137657,18 +94647,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static + [Slot(2401)] + public static extern unsafe void VertexAttrib4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2401]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Associate a vertex attribute and a vertex buffer binding @@ -137684,18 +94667,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribBinding")] - public static + [Slot(2404)] + public static extern void VertexAttribBinding(Int32 attribindex, Int32 bindingindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (UInt32)bindingindex, EntryPoints[2404]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Associate a vertex attribute and a vertex buffer binding @@ -137712,18 +94688,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribBinding")] - public static + [Slot(2404)] + public static extern void VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (UInt32)bindingindex, EntryPoints[2404]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -137739,18 +94708,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribDivisor")] - public static + [Slot(2405)] + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[2405]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -137767,18 +94729,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribDivisor")] - public static + [Slot(2405)] + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[2405]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Specify the organization of vertex arrays @@ -137809,18 +94764,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribFormat")] - public static + [Slot(2407)] + public static extern void VertexAttribFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset, EntryPoints[2407]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Specify the organization of vertex arrays @@ -137852,2665 +94800,1242 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribFormat")] - public static + [Slot(2407)] + public static extern void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset, EntryPoints[2407]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1i")] - public static + [Slot(2409)] + public static extern void VertexAttribI1(Int32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, EntryPoints[2409]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1i")] - public static + [Slot(2409)] + public static extern void VertexAttribI1(UInt32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, EntryPoints[2409]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] - public static + [Slot(2411)] + public static extern unsafe void VertexAttribI1(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2411]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] - public static + [Slot(2411)] + public static extern unsafe void VertexAttribI1(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2411]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1ui")] - public static + [Slot(2413)] + public static extern void VertexAttribI1(UInt32 index, UInt32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)x, EntryPoints[2413]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1uiv")] - public static + [Slot(2415)] + public static extern unsafe void VertexAttribI1(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2415]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2i")] - public static + [Slot(2417)] + public static extern void VertexAttribI2(Int32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, EntryPoints[2417]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2i")] - public static + [Slot(2417)] + public static extern void VertexAttribI2(UInt32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, EntryPoints[2417]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static + [Slot(2419)] + public static extern void VertexAttribI2(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2419]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static + [Slot(2419)] + public static extern void VertexAttribI2(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2419]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static + [Slot(2419)] + public static extern unsafe void VertexAttribI2(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2419]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static + [Slot(2419)] + public static extern void VertexAttribI2(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2419]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static + [Slot(2419)] + public static extern void VertexAttribI2(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2419]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static + [Slot(2419)] + public static extern unsafe void VertexAttribI2(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2419]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2ui")] - public static + [Slot(2421)] + public static extern void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)x, (UInt32)y, EntryPoints[2421]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static + [Slot(2423)] + public static extern void VertexAttribI2(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2423]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static + [Slot(2423)] + public static extern void VertexAttribI2(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2423]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static + [Slot(2423)] + public static extern unsafe void VertexAttribI2(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2423]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3i")] - public static + [Slot(2425)] + public static extern void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, EntryPoints[2425]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3i")] - public static + [Slot(2425)] + public static extern void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, EntryPoints[2425]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static + [Slot(2427)] + public static extern void VertexAttribI3(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2427]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static + [Slot(2427)] + public static extern void VertexAttribI3(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2427]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static + [Slot(2427)] + public static extern unsafe void VertexAttribI3(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2427]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static + [Slot(2427)] + public static extern void VertexAttribI3(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2427]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static + [Slot(2427)] + public static extern void VertexAttribI3(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2427]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static + [Slot(2427)] + public static extern unsafe void VertexAttribI3(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2427]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3ui")] - public static + [Slot(2429)] + public static extern void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, EntryPoints[2429]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static + [Slot(2431)] + public static extern void VertexAttribI3(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2431]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static + [Slot(2431)] + public static extern void VertexAttribI3(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2431]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static + [Slot(2431)] + public static extern unsafe void VertexAttribI3(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2431]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static + [Slot(2433)] + public static extern void VertexAttribI4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2433]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static + [Slot(2433)] + public static extern void VertexAttribI4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2433]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static + [Slot(2433)] + public static extern unsafe void VertexAttribI4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2433]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static + [Slot(2435)] + public static extern void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[2435]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static + [Slot(2435)] + public static extern void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[2435]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(2437)] + public static extern void VertexAttribI4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2437]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(2437)] + public static extern void VertexAttribI4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2437]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(2437)] + public static extern unsafe void VertexAttribI4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2437]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(2437)] + public static extern void VertexAttribI4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2437]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(2437)] + public static extern void VertexAttribI4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2437]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(2437)] + public static extern unsafe void VertexAttribI4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2437]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static + [Slot(2439)] + public static extern void VertexAttribI4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2439]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static + [Slot(2439)] + public static extern void VertexAttribI4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2439]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static + [Slot(2439)] + public static extern unsafe void VertexAttribI4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2439]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static + [Slot(2439)] + public static extern void VertexAttribI4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2439]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static + [Slot(2439)] + public static extern void VertexAttribI4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2439]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static + [Slot(2439)] + public static extern unsafe void VertexAttribI4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2439]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static + [Slot(2441)] + public static extern void VertexAttribI4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2441]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static + [Slot(2441)] + public static extern void VertexAttribI4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2441]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static + [Slot(2441)] + public static extern unsafe void VertexAttribI4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2441]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static + [Slot(2441)] + public static extern void VertexAttribI4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2441]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static + [Slot(2441)] + public static extern void VertexAttribI4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2441]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static + [Slot(2441)] + public static extern unsafe void VertexAttribI4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2441]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ui")] - public static + [Slot(2443)] + public static extern void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w, EntryPoints[2443]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static + [Slot(2445)] + public static extern void VertexAttribI4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2445]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static + [Slot(2445)] + public static extern void VertexAttribI4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2445]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static + [Slot(2445)] + public static extern unsafe void VertexAttribI4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2445]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static + [Slot(2447)] + public static extern void VertexAttribI4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2447]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static + [Slot(2447)] + public static extern void VertexAttribI4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2447]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static + [Slot(2447)] + public static extern unsafe void VertexAttribI4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2447]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2449)] + public static extern void VertexAttribIFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (UInt32)relativeoffset, EntryPoints[2449]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2449)] + public static extern void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (UInt32)relativeoffset, EntryPoints[2449]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(2451)] + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2451]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - 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 + [Slot(2451)] + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2451]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [Obsolete("Use VertexAttribIntegerType overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - } - 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 + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - } - 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 + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - } - 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 + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - 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 + [Slot(2451)] + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2451]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - } - 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 + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - } - 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 + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - } - 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 + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - 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 + [Slot(2451)] + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2451]); - #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 + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - } - 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 + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - } - 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 + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - } - 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 + [Slot(2451)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2451]); - 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 + [Slot(2453)] + public static extern void VertexAttribL1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[2453]); - #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 = "glVertexAttribL1d")] - public static + [Slot(2453)] + public static extern void VertexAttribL1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[2453]); - #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 = "glVertexAttribL1dv")] - public static + [Slot(2455)] + public static extern unsafe void VertexAttribL1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2455]); - #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 = "glVertexAttribL1dv")] - public static + [Slot(2455)] + public static extern unsafe void VertexAttribL1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2455]); - #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 = "glVertexAttribL2d")] - public static + [Slot(2463)] + public static extern void VertexAttribL2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[2463]); - #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 = "glVertexAttribL2d")] - public static + [Slot(2463)] + public static extern void VertexAttribL2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[2463]); - #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 = "glVertexAttribL2dv")] - public static + [Slot(2465)] + public static extern void VertexAttribL2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2465]); - } - } - #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 = "glVertexAttribL2dv")] - public static + [Slot(2465)] + public static extern void VertexAttribL2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2465]); - } - } - #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 = "glVertexAttribL2dv")] - public static + [Slot(2465)] + public static extern unsafe void VertexAttribL2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2465]); - #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 = "glVertexAttribL2dv")] - public static + [Slot(2465)] + public static extern void VertexAttribL2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2465]); - } - } - #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 = "glVertexAttribL2dv")] - public static + [Slot(2465)] + public static extern void VertexAttribL2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2465]); - } - } - #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 = "glVertexAttribL2dv")] - public static + [Slot(2465)] + public static extern unsafe void VertexAttribL2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2465]); - #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 = "glVertexAttribL3d")] - public static + [Slot(2471)] + public static extern void VertexAttribL3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[2471]); - #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 = "glVertexAttribL3d")] - public static + [Slot(2471)] + public static extern void VertexAttribL3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[2471]); - #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 = "glVertexAttribL3dv")] - public static + [Slot(2473)] + public static extern void VertexAttribL3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2473]); - } - } - #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 = "glVertexAttribL3dv")] - public static + [Slot(2473)] + public static extern void VertexAttribL3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2473]); - } - } - #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 = "glVertexAttribL3dv")] - public static + [Slot(2473)] + public static extern unsafe void VertexAttribL3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2473]); - #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 = "glVertexAttribL3dv")] - public static + [Slot(2473)] + public static extern void VertexAttribL3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2473]); - } - } - #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 = "glVertexAttribL3dv")] - public static + [Slot(2473)] + public static extern void VertexAttribL3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2473]); - } - } - #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 = "glVertexAttribL3dv")] - public static + [Slot(2473)] + public static extern unsafe void VertexAttribL3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2473]); - #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 = "glVertexAttribL4d")] - public static + [Slot(2479)] + public static extern void VertexAttribL4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2479]); - #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 = "glVertexAttribL4d")] - public static + [Slot(2479)] + public static extern void VertexAttribL4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2479]); - #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 = "glVertexAttribL4dv")] - public static + [Slot(2481)] + public static extern void VertexAttribL4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2481]); - } - } - #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 = "glVertexAttribL4dv")] - public static + [Slot(2481)] + public static extern void VertexAttribL4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2481]); - } - } - #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 = "glVertexAttribL4dv")] - public static + [Slot(2481)] + public static extern unsafe void VertexAttribL4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2481]); - #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 = "glVertexAttribL4dv")] - public static + [Slot(2481)] + public static extern void VertexAttribL4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2481]); - } - } - #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 = "glVertexAttribL4dv")] - public static + [Slot(2481)] + public static extern void VertexAttribL4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2481]); - } - } - #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 = "glVertexAttribL4dv")] - public static + [Slot(2481)] + public static extern unsafe void VertexAttribL4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2481]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2487)] + public static extern void VertexAttribLFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (UInt32)relativeoffset, EntryPoints[2487]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2487)] + public static extern void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (UInt32)relativeoffset, EntryPoints[2487]); - #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 + [Slot(2489)] + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2489]); - #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 + [Slot(2489)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2489]); - } - 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 + [Slot(2489)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2489]); - } - 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 + [Slot(2489)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2489]); - } - 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 + [Slot(2489)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2489]); - 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 + [Slot(2489)] + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2489]); - #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 + [Slot(2489)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2489]); - } - 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 + [Slot(2489)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2489]); - } - 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 + [Slot(2489)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2489]); - } - 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 + [Slot(2489)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2489]); - 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 + [Slot(2491)] + public static extern void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[2491]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2491)] + public static extern void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[2491]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2492)] + public static extern unsafe void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[2492]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2492)] + public static extern unsafe void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[2492]); - #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 = "glVertexAttribP2ui")] - public static + [Slot(2493)] + public static extern void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[2493]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2493)] + public static extern void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[2493]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2494)] + public static extern unsafe void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[2494]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2494)] + public static extern unsafe void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[2494]); - #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 = "glVertexAttribP3ui")] - public static + [Slot(2495)] + public static extern void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[2495]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2495)] + public static extern void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[2495]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2496)] + public static extern unsafe void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[2496]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2496)] + public static extern unsafe void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[2496]); - #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 = "glVertexAttribP4ui")] - public static + [Slot(2497)] + public static extern void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[2497]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2497)] + public static extern void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[2497]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2498)] + public static extern unsafe void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[2498]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2498)] + public static extern unsafe void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[2498]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -140546,18 +96071,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(2500)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[2500]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -140593,27 +96111,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(2500)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2500]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -140649,27 +96152,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(2500)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2500]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -140705,27 +96193,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(2500)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2500]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -140761,28 +96234,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(2500)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2500]); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -140819,18 +96276,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(2500)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[2500]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -140867,27 +96317,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(2500)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2500]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -140924,27 +96359,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(2500)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2500]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -140981,27 +96401,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(2500)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2500]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -141038,28 +96443,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(2500)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2500]); - 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 @@ -141075,18 +96464,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexBindingDivisor")] - public static + [Slot(2520)] + public static extern void VertexBindingDivisor(Int32 bindingindex, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)bindingindex, (UInt32)divisor, EntryPoints[2520]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Modify the rate at which generic vertex attributes advance @@ -141103,207 +96485,116 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexBindingDivisor")] - public static + [Slot(2520)] + public static extern void VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)bindingindex, (UInt32)divisor, EntryPoints[2520]); - #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 = "glVertexP2ui")] - public static + [Slot(2525)] + public static extern void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value, EntryPoints[2525]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2525)] + public static extern void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value, EntryPoints[2525]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2526)] + public static extern unsafe void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)value, EntryPoints[2526]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2526)] + public static extern unsafe void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)value, EntryPoints[2526]); - #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 = "glVertexP3ui")] - public static + [Slot(2527)] + public static extern void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value, EntryPoints[2527]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2527)] + public static extern void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value, EntryPoints[2527]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2528)] + public static extern unsafe void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)value, EntryPoints[2528]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2528)] + public static extern unsafe void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)value, EntryPoints[2528]); - #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 = "glVertexP4ui")] - public static + [Slot(2529)] + public static extern void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value, EntryPoints[2529]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2529)] + public static extern void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value, EntryPoints[2529]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2530)] + public static extern unsafe void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)value, EntryPoints[2530]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(2530)] + public static extern unsafe void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PackedPointerType)type, (IntPtr)value, EntryPoints[2530]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of vertex data @@ -141329,18 +96620,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glVertexPointer")] - public static + [Slot(2531)] + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2531]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of vertex data @@ -141366,27 +96650,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glVertexPointer")] - public static + [Slot(2531)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2531]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of vertex data @@ -141412,27 +96681,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glVertexPointer")] - public static + [Slot(2531)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2531]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of vertex data @@ -141458,27 +96712,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glVertexPointer")] - public static + [Slot(2531)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2531]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1][deprecated: v3.2] /// Define an array of vertex data @@ -141504,28 +96743,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glVertexPointer")] - public static + [Slot(2531)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2531]); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the viewport @@ -141541,18 +96764,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glViewport")] - public static + [Slot(2576)] + public static extern void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[2576]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -141573,24 +96789,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static + [Slot(2577)] + public static extern void ViewportArray(Int32 first, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[2577]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -141611,24 +96814,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static + [Slot(2577)] + public static extern void ViewportArray(Int32 first, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[2577]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -141650,18 +96840,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static + [Slot(2577)] + public static extern unsafe void ViewportArray(Int32 first, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v, EntryPoints[2577]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -141683,24 +96866,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static + [Slot(2577)] + public static extern void ViewportArray(UInt32 first, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[2577]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -141722,24 +96892,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static + [Slot(2577)] + public static extern void ViewportArray(UInt32 first, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[2577]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -141761,18 +96918,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static + [Slot(2577)] + public static extern unsafe void ViewportArray(UInt32 first, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v, EntryPoints[2577]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -141798,18 +96948,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedf")] - public static + [Slot(2578)] + public static extern void ViewportIndexed(Int32 index, Single x, Single y, Single w, Single h) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h, EntryPoints[2578]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -141836,18 +96979,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedf")] - public static + [Slot(2578)] + public static extern void ViewportIndexed(UInt32 index, Single x, Single y, Single w, Single h) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h, EntryPoints[2578]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -141873,24 +97009,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static + [Slot(2579)] + public static extern void ViewportIndexed(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2579]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -141916,24 +97039,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static + [Slot(2579)] + public static extern void ViewportIndexed(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2579]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -141960,18 +97070,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static + [Slot(2579)] + public static extern unsafe void ViewportIndexed(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2579]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -141998,24 +97101,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static + [Slot(2579)] + public static extern void ViewportIndexed(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2579]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -142042,24 +97132,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static + [Slot(2579)] + public static extern void ViewportIndexed(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2579]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -142086,18 +97163,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static + [Slot(2579)] + public static extern unsafe void ViewportIndexed(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2579]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -142119,18 +97189,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use WaitSyncFlags overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glWaitSync")] - public static + [Slot(2580)] + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, Int32 flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[2580]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -142153,18 +97216,11 @@ 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 + [Slot(2580)] + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, Int32 flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[2580]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -142187,18 +97243,11 @@ 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 + [Slot(2580)] + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[2580]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -142219,18 +97268,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glWaitSync")] - public static + [Slot(2580)] + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.WaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[2580]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -142252,18 +97294,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glWaitSync")] - public static + [Slot(2580)] + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.WaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[2580]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142274,18 +97309,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2d")] - public static + [Slot(2591)] + public static extern void WindowPos2(Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, EntryPoints[2591]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142296,24 +97324,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2dv")] - public static + [Slot(2594)] + public static extern void WindowPos2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2594]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142324,24 +97339,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2dv")] - public static + [Slot(2594)] + public static extern void WindowPos2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2594]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142353,18 +97355,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2dv")] - public static + [Slot(2594)] + public static extern unsafe void WindowPos2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2594]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142375,18 +97370,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2f")] - public static + [Slot(2597)] + public static extern void WindowPos2(Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, EntryPoints[2597]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142397,24 +97385,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2fv")] - public static + [Slot(2600)] + public static extern void WindowPos2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2600]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142425,24 +97400,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2fv")] - public static + [Slot(2600)] + public static extern void WindowPos2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2600]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142454,18 +97416,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2fv")] - public static + [Slot(2600)] + public static extern unsafe void WindowPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2600]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142476,18 +97431,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2i")] - public static + [Slot(2603)] + public static extern void WindowPos2(Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, EntryPoints[2603]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142498,24 +97446,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2iv")] - public static + [Slot(2606)] + public static extern void WindowPos2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2606]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142526,24 +97461,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2iv")] - public static + [Slot(2606)] + public static extern void WindowPos2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2606]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142555,18 +97477,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2iv")] - public static + [Slot(2606)] + public static extern unsafe void WindowPos2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2606]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142577,18 +97492,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2s")] - public static + [Slot(2609)] + public static extern void WindowPos2(Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, EntryPoints[2609]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142599,24 +97507,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2sv")] - public static + [Slot(2612)] + public static extern void WindowPos2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2612]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142627,24 +97522,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2sv")] - public static + [Slot(2612)] + public static extern void WindowPos2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2612]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142656,18 +97538,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2sv")] - public static + [Slot(2612)] + public static extern unsafe void WindowPos2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2612]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142678,18 +97553,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3d")] - public static + [Slot(2615)] + public static extern void WindowPos3(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, (Double)z, EntryPoints[2615]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142700,24 +97568,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3dv")] - public static + [Slot(2618)] + public static extern void WindowPos3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2618]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142728,24 +97583,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3dv")] - public static + [Slot(2618)] + public static extern void WindowPos3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2618]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142757,18 +97599,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3dv")] - public static + [Slot(2618)] + public static extern unsafe void WindowPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2618]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142779,18 +97614,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3f")] - public static + [Slot(2621)] + public static extern void WindowPos3(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, (Single)z, EntryPoints[2621]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142801,24 +97629,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3fv")] - public static + [Slot(2624)] + public static extern void WindowPos3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2624]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142829,24 +97644,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3fv")] - public static + [Slot(2624)] + public static extern void WindowPos3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2624]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142858,18 +97660,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3fv")] - public static + [Slot(2624)] + public static extern unsafe void WindowPos3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2624]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142880,18 +97675,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3i")] - public static + [Slot(2627)] + public static extern void WindowPos3(Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)z, EntryPoints[2627]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142902,24 +97690,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3iv")] - public static + [Slot(2630)] + public static extern void WindowPos3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2630]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142930,24 +97705,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3iv")] - public static + [Slot(2630)] + public static extern void WindowPos3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2630]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142959,18 +97721,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3iv")] - public static + [Slot(2630)] + public static extern unsafe void WindowPos3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2630]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -142981,18 +97736,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3s")] - public static + [Slot(2633)] + public static extern void WindowPos3(Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, (Int16)z, EntryPoints[2633]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -143003,24 +97751,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3sv")] - public static + [Slot(2636)] + public static extern void WindowPos3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2636]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -143031,24 +97766,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3sv")] - public static + [Slot(2636)] + public static extern void WindowPos3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2636]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -143060,51 +97782,30 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3sv")] - public static + [Slot(2636)] + public static extern unsafe void WindowPos3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2636]); - #if DEBUG - } - #endif - } + ; + public static partial class Ext { /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveProgramEXT")] - public static + [Slot(2)] + public static extern void ActiveProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[2]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveProgramEXT")] - public static + [Slot(2)] + public static extern void ActiveProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[2]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Set the active program object for a program pipeline object @@ -143120,18 +97821,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveShaderProgramEXT")] - public static + [Slot(4)] + public static extern void ActiveShaderProgram(Int32 pipeline, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)program, EntryPoints[4]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Set the active program object for a program pipeline object @@ -143148,48 +97842,27 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveShaderProgramEXT")] - public static + [Slot(4)] + public static extern void ActiveShaderProgram(UInt32 pipeline, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)program, EntryPoints[4]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_stencil_two_side] [AutoGenerated(Category = "EXT_stencil_two_side", Version = "", EntryPoint = "glActiveStencilFaceEXT")] - public static + [Slot(5)] + public static extern void ActiveStencilFace(OpenTK.Graphics.OpenGL.ExtStencilTwoSide face) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtStencilTwoSide)face, EntryPoints[5]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_light_texture] [AutoGenerated(Category = "EXT_light_texture", Version = "", EntryPoint = "glApplyTextureEXT")] - public static + [Slot(14)] + public static extern void ApplyTexture(OpenTK.Graphics.OpenGL.ExtLightTexture mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtLightTexture)mode, EntryPoints[14]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Determine if textures are loaded in texture memory @@ -143210,25 +97883,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glAreTexturesResidentEXT")] - public static + [Slot(17)] + public static extern 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 InteropHelper.CallReturn((Int32)n, (IntPtr)textures_ptr, (IntPtr)residences_ptr, EntryPoints[17]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Determine if textures are loaded in texture memory @@ -143249,27 +97908,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glAreTexturesResidentEXT")] - public static + [Slot(17)] + public static extern 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 = InteropHelper.CallReturn((Int32)n, (IntPtr)textures_ptr, (IntPtr)residences_ptr, EntryPoints[17]); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Determine if textures are loaded in texture memory @@ -143291,18 +97934,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glAreTexturesResidentEXT")] - public static + [Slot(17)] + public static extern unsafe bool AreTexturesResident(Int32 n, Int32* textures, [OutAttribute] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((Int32)n, (IntPtr)textures, (IntPtr)residences, EntryPoints[17]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Determine if textures are loaded in texture memory @@ -143324,25 +97960,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glAreTexturesResidentEXT")] - public static + [Slot(17)] + public static extern 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 InteropHelper.CallReturn((Int32)n, (IntPtr)textures_ptr, (IntPtr)residences_ptr, EntryPoints[17]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Determine if textures are loaded in texture memory @@ -143364,27 +97986,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glAreTexturesResidentEXT")] - public static + [Slot(17)] + public static extern 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 = InteropHelper.CallReturn((Int32)n, (IntPtr)textures_ptr, (IntPtr)residences_ptr, EntryPoints[17]); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Determine if textures are loaded in texture memory @@ -143406,18 +98012,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glAreTexturesResidentEXT")] - public static + [Slot(17)] + public static extern unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((Int32)n, (IntPtr)textures, (IntPtr)residences, EntryPoints[17]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Render a vertex using the specified vertex array element @@ -143428,18 +98027,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glArrayElementEXT")] - public static + [Slot(19)] + public static extern void ArrayElement(Int32 i) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)i, EntryPoints[19]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Start transform feedback operation @@ -143450,33 +98042,19 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBeginTransformFeedbackEXT")] - public static + [Slot(35)] + public static extern void BeginTransformFeedback(OpenTK.Graphics.OpenGL.ExtTransformFeedback primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtTransformFeedback)primitiveMode, EntryPoints[35]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBeginVertexShaderEXT")] - public static + [Slot(37)] + public static extern void BeginVertexShader() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[37]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Bind a buffer object to an indexed buffer target @@ -143497,18 +98075,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferBaseEXT")] - public static + [Slot(44)] + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, EntryPoints[44]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Bind a buffer object to an indexed buffer target @@ -143530,49 +98101,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferBaseEXT")] - public static + [Slot(44)] + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, EntryPoints[44]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferOffsetEXT")] - public static + [Slot(46)] + public static extern void BindBufferOffset(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, EntryPoints[46]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferOffsetEXT")] - public static + [Slot(46)] + public static extern void BindBufferOffset(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, EntryPoints[46]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Bind a range within a buffer object to an indexed buffer target @@ -143603,18 +98153,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferRangeEXT")] - public static + [Slot(49)] + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[49]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Bind a range within a buffer object to an indexed buffer target @@ -143646,18 +98189,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferRangeEXT")] - public static + [Slot(49)] + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[49]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Bind a user-defined varying out variable to a fragment shader color number @@ -143678,18 +98214,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glBindFragDataLocationEXT")] - public static + [Slot(54)] + public static extern void BindFragDataLocation(Int32 program, Int32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)color, (String)name, EntryPoints[54]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Bind a user-defined varying out variable to a fragment shader color number @@ -143711,18 +98240,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glBindFragDataLocationEXT")] - public static + [Slot(54)] + public static extern void BindFragDataLocation(UInt32 program, UInt32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)color, (String)name, EntryPoints[54]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Bind a framebuffer to a framebuffer target @@ -143738,18 +98260,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glBindFramebufferEXT")] - public static + [Slot(58)] + public static extern void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[58]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Bind a framebuffer to a framebuffer target @@ -143766,18 +98281,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glBindFramebufferEXT")] - public static + [Slot(58)] + public static extern void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[58]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_shader_image_load_store] /// Bind a level of a texture to an image unit @@ -143818,18 +98326,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_shader_image_load_store", Version = "", EntryPoint = "glBindImageTextureEXT")] - public static + [Slot(60)] + public static extern 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 - InteropHelper.Call((UInt32)index, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore)access, (Int32)format, EntryPoints[60]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_shader_image_load_store] /// Bind a level of a texture to an image unit @@ -143871,94 +98372,52 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_shader_image_load_store", Version = "", EntryPoint = "glBindImageTextureEXT")] - public static + [Slot(60)] + public static extern 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 - InteropHelper.Call((UInt32)index, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore)access, (Int32)format, EntryPoints[60]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindLightParameterEXT")] - public static + [Slot(62)] + public static extern Int32 BindLightParameter(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)value, EntryPoints[62]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindMaterialParameterEXT")] - public static + [Slot(63)] + public static extern Int32 BindMaterialParameter(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)value, EntryPoints[63]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glBindMultiTextureEXT")] - public static + [Slot(64)] + public static extern void BindMultiTexture(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture, EntryPoints[64]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glBindMultiTextureEXT")] - public static + [Slot(64)] + public static extern void BindMultiTexture(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture, EntryPoints[64]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindParameterEXT")] - public static + [Slot(65)] + public static extern Int32 BindParameter(OpenTK.Graphics.OpenGL.ExtVertexShader value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.ExtVertexShader)value, EntryPoints[65]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Bind a program pipeline to the current context @@ -143969,18 +98428,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glBindProgramPipelineEXT")] - public static + [Slot(69)] + public static extern void BindProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[69]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Bind a program pipeline to the current context @@ -143992,18 +98444,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glBindProgramPipelineEXT")] - public static + [Slot(69)] + public static extern void BindProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[69]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Bind a renderbuffer to a renderbuffer target @@ -144019,18 +98464,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glBindRenderbufferEXT")] - public static + [Slot(71)] + public static extern void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[71]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Bind a renderbuffer to a renderbuffer target @@ -144047,33 +98485,19 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glBindRenderbufferEXT")] - public static + [Slot(71)] + public static extern void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[71]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindTexGenParameterEXT")] - public static + [Slot(74)] + public static extern 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 InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.TextureUnit)unit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)value, EntryPoints[74]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Bind a named texture to a texturing target @@ -144089,18 +98513,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glBindTextureEXT")] - public static + [Slot(76)] + public static extern void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture, EntryPoints[76]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Bind a named texture to a texturing target @@ -144117,617 +98534,281 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glBindTextureEXT")] - public static + [Slot(76)] + public static extern void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture, EntryPoints[76]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindTextureUnitParameterEXT")] - public static + [Slot(78)] + public static extern Int32 BindTextureUnitParameter(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.ExtVertexShader value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.TextureUnit)unit, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, EntryPoints[78]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindVertexShaderEXT")] - public static + [Slot(85)] + public static extern void BindVertexShader(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[85]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindVertexShaderEXT")] - public static + [Slot(85)] + public static extern void BindVertexShader(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[85]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bEXT")] - public static + [Slot(88)] + public static extern void Binormal3(Byte bx, Byte by, Byte bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)bx, (SByte)by, (SByte)bz, EntryPoints[88]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bEXT")] - public static + [Slot(88)] + public static extern void Binormal3(SByte bx, SByte by, SByte bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)bx, (SByte)by, (SByte)bz, EntryPoints[88]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bvEXT")] - public static + [Slot(89)] + public static extern void Binormal3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[89]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bvEXT")] - public static + [Slot(89)] + public static extern void Binormal3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[89]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bvEXT")] - public static + [Slot(89)] + public static extern unsafe void Binormal3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[89]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bvEXT")] - public static + [Slot(89)] + public static extern void Binormal3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[89]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bvEXT")] - public static + [Slot(89)] + public static extern void Binormal3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[89]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bvEXT")] - public static + [Slot(89)] + public static extern unsafe void Binormal3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[89]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3dEXT")] - public static + [Slot(90)] + public static extern void Binormal3(Double bx, Double by, Double bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)bx, (Double)by, (Double)bz, EntryPoints[90]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3dvEXT")] - public static + [Slot(91)] + public static extern void Binormal3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[91]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3dvEXT")] - public static + [Slot(91)] + public static extern void Binormal3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[91]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3dvEXT")] - public static + [Slot(91)] + public static extern unsafe void Binormal3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[91]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3fEXT")] - public static + [Slot(92)] + public static extern void Binormal3(Single bx, Single by, Single bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)bx, (Single)by, (Single)bz, EntryPoints[92]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3fvEXT")] - public static + [Slot(93)] + public static extern void Binormal3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[93]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3fvEXT")] - public static + [Slot(93)] + public static extern void Binormal3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[93]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3fvEXT")] - public static + [Slot(93)] + public static extern unsafe void Binormal3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[93]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3iEXT")] - public static + [Slot(94)] + public static extern void Binormal3(Int32 bx, Int32 by, Int32 bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)bx, (Int32)by, (Int32)bz, EntryPoints[94]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3ivEXT")] - public static + [Slot(95)] + public static extern void Binormal3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[95]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3ivEXT")] - public static + [Slot(95)] + public static extern void Binormal3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[95]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3ivEXT")] - public static + [Slot(95)] + public static extern unsafe void Binormal3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[95]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3sEXT")] - public static + [Slot(96)] + public static extern void Binormal3(Int16 bx, Int16 by, Int16 bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)bx, (Int16)by, (Int16)bz, EntryPoints[96]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3svEXT")] - public static + [Slot(97)] + public static extern void Binormal3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[97]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3svEXT")] - public static + [Slot(97)] + public static extern void Binormal3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[97]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3svEXT")] - public static + [Slot(97)] + public static extern unsafe void Binormal3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[97]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormalPointerEXT")] - public static + [Slot(98)] + public static extern void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[98]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormalPointerEXT")] - public static + [Slot(98)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[98]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormalPointerEXT")] - public static + [Slot(98)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[98]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormalPointerEXT")] - public static + [Slot(98)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[98]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormalPointerEXT")] - public static + [Slot(98)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[98]); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_blend_color] /// Set the blend color @@ -144738,18 +98819,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_blend_color", Version = "", EntryPoint = "glBlendColorEXT")] - public static + [Slot(103)] + public static extern void BlendColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, (Single)alpha, EntryPoints[103]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_blend_minmax] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -144765,18 +98839,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static + [Slot(106)] + public static extern void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BlendEquationMode)mode, EntryPoints[106]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_blend_minmax] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -144793,18 +98860,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlendEquationMode overload instead")] [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static + [Slot(106)] + public static extern void BlendEquation(OpenTK.Graphics.OpenGL.ExtBlendMinmax mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.BlendEquationMode)mode, EntryPoints[106]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_blend_equation_separate] /// Set the RGB blend equation and the alpha blend equation separately @@ -144825,18 +98885,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_blend_equation_separate", Version = "", EntryPoint = "glBlendEquationSeparateEXT")] - public static + [Slot(111)] + public static extern void BlendEquationSeparate(OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate)modeRGB, (OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate)modeAlpha, EntryPoints[111]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_blend_func_separate] /// Specify pixel arithmetic for RGB and alpha components separately @@ -144867,18 +98920,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_blend_func_separate", Version = "", EntryPoint = "glBlendFuncSeparateEXT")] - public static + [Slot(120)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)dfactorAlpha, EntryPoints[120]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -144904,18 +98950,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferEXT")] - public static + [Slot(127)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[127]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -144942,18 +98981,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlitFramebufferFilter overload instead")] [AutoGenerated(Category = "EXT_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferEXT")] - public static + [Slot(127)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[127]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Check the completeness status of a framebuffer @@ -144964,584 +98996,256 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glCheckFramebufferStatusEXT")] - public static + [Slot(138)] + public static extern OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.FramebufferTarget)target, EntryPoints[138]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCheckNamedFramebufferStatusEXT")] - public static + [Slot(139)] + public static extern OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatus(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferTarget)target, EntryPoints[139]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCheckNamedFramebufferStatusEXT")] - public static + [Slot(139)] + public static extern OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatus(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferTarget)target, EntryPoints[139]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_integer] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glClearColorIiEXT")] - public static + [Slot(152)] + public static extern void ClearColorI(Int32 red, Int32 green, Int32 blue, Int32 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha, EntryPoints[152]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glClearColorIuiEXT")] - public static + [Slot(153)] + public static extern void ClearColorI(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha, EntryPoints[153]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static + [Slot(161)] + public static extern 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 - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data, EntryPoints[161]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static + [Slot(161)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[161]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static + [Slot(161)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[161]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static + [Slot(161)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[161]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static + [Slot(161)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[161]); - 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 + [Slot(161)] + public static extern 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 - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data, EntryPoints[161]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static + [Slot(161)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[161]); - } - 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 + [Slot(161)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[161]); - } - 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 + [Slot(161)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[161]); - } - 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 + [Slot(161)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[161]); - 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 + [Slot(162)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[162]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((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(), EntryPoints[162]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((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(), EntryPoints[162]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((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(), EntryPoints[162]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((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(), EntryPoints[162]); - 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 + [Slot(162)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[162]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static + [Slot(162)] + 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 - { - InteropHelper.Call((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(), EntryPoints[162]); - } - 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 + [Slot(162)] + 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 - { - InteropHelper.Call((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(), EntryPoints[162]); - } - 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 + [Slot(162)] + 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 - { - InteropHelper.Call((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(), EntryPoints[162]); - } - 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 + [Slot(162)] + 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 - { - InteropHelper.Call((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(), EntryPoints[162]); - 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 + [Slot(169)] + public static extern void ClientAttribDefault(OpenTK.Graphics.OpenGL.ClientAttribMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClientAttribMask)mask, EntryPoints[169]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers2] [AutoGenerated(Category = "EXT_draw_buffers2", Version = "", EntryPoint = "glColorMaskIndexedEXT")] - public static + [Slot(228)] + public static extern void ColorMaskIndexed(Int32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a, EntryPoints[228]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_buffers2] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_buffers2", Version = "", EntryPoint = "glColorMaskIndexedEXT")] - public static + [Slot(228)] + public static extern void ColorMaskIndexed(UInt32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a, EntryPoints[228]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of colors @@ -145567,18 +99271,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glColorPointerEXT")] - public static + [Slot(235)] + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer, EntryPoints[235]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of colors @@ -145604,27 +99301,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glColorPointerEXT")] - public static + [Slot(235)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[235]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of colors @@ -145650,27 +99332,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glColorPointerEXT")] - public static + [Slot(235)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[235]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of colors @@ -145696,27 +99363,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glColorPointerEXT")] - public static + [Slot(235)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[235]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of colors @@ -145742,28 +99394,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glColorPointerEXT")] - public static + [Slot(235)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[235]); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_color_subtable] /// Respecify a portion of a color table @@ -145799,18 +99435,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_color_subtable", Version = "", EntryPoint = "glColorSubTableEXT")] - public static + [Slot(239)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data, EntryPoints[239]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_color_subtable] /// Respecify a portion of a color table @@ -145846,27 +99475,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_color_subtable", Version = "", EntryPoint = "glColorSubTableEXT")] - public static + [Slot(239)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[239]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_color_subtable] /// Respecify a portion of a color table @@ -145902,27 +99516,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_color_subtable", Version = "", EntryPoint = "glColorSubTableEXT")] - public static + [Slot(239)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[239]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_color_subtable] /// Respecify a portion of a color table @@ -145958,27 +99557,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_color_subtable", Version = "", EntryPoint = "glColorSubTableEXT")] - public static + [Slot(239)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[239]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_color_subtable] /// Respecify a portion of a color table @@ -146014,28 +99598,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_color_subtable", Version = "", EntryPoint = "glColorSubTableEXT")] - public static + [Slot(239)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[239]); - data = (T5)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Define a color lookup table @@ -146071,18 +99639,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glColorTableEXT")] - public static + [Slot(241)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table, EntryPoints[241]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Define a color lookup table @@ -146118,27 +99679,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glColorTableEXT")] - public static + [Slot(241)] + 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 - { - InteropHelper.Call((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(), EntryPoints[241]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Define a color lookup table @@ -146174,27 +99720,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glColorTableEXT")] - public static + [Slot(241)] + 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 - { - InteropHelper.Call((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(), EntryPoints[241]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Define a color lookup table @@ -146230,27 +99761,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glColorTableEXT")] - public static + [Slot(241)] + 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 - { - InteropHelper.Call((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(), EntryPoints[241]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Define a color lookup table @@ -146286,2074 +99802,834 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glColorTableEXT")] - public static + [Slot(241)] + 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 - { - InteropHelper.Call((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(), EntryPoints[241]); - 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 + [Slot(257)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[257]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static + [Slot(257)] + 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 - { - InteropHelper.Call((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(), EntryPoints[257]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static + [Slot(257)] + 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 - { - InteropHelper.Call((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(), EntryPoints[257]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static + [Slot(257)] + 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 - { - InteropHelper.Call((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(), EntryPoints[257]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static + [Slot(257)] + 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 - { - InteropHelper.Call((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(), EntryPoints[257]); - 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 + [Slot(258)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[258]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((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(), EntryPoints[258]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((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(), EntryPoints[258]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((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(), EntryPoints[258]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((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(), EntryPoints[258]); - 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 + [Slot(259)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[259]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((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(), EntryPoints[259]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((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(), EntryPoints[259]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((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(), EntryPoints[259]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((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(), EntryPoints[259]); - 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 + [Slot(260)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[260]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((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(), EntryPoints[260]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((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(), EntryPoints[260]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((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(), EntryPoints[260]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((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(), EntryPoints[260]); - 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 + [Slot(261)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[261]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static + [Slot(261)] + 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 - { - InteropHelper.Call((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(), EntryPoints[261]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static + [Slot(261)] + 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 - { - InteropHelper.Call((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(), EntryPoints[261]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static + [Slot(261)] + 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 - { - InteropHelper.Call((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(), EntryPoints[261]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static + [Slot(261)] + 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 - { - InteropHelper.Call((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(), EntryPoints[261]); - 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 + [Slot(262)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[262]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((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(), EntryPoints[262]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((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(), EntryPoints[262]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((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(), EntryPoints[262]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((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(), EntryPoints[262]); - 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 + [Slot(275)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits, EntryPoints[275]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static + [Slot(275)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[275]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static + [Slot(275)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[275]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static + [Slot(275)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[275]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static + [Slot(275)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[275]); - 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 + [Slot(275)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits, EntryPoints[275]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static + [Slot(275)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[275]); - } - 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 + [Slot(275)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[275]); - } - 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 + [Slot(275)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[275]); - } - 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 + [Slot(275)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[275]); - 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 + [Slot(276)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits, EntryPoints[276]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static + [Slot(276)] + 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 - { - InteropHelper.Call((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(), EntryPoints[276]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static + [Slot(276)] + 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 - { - InteropHelper.Call((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(), EntryPoints[276]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static + [Slot(276)] + 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 - { - InteropHelper.Call((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(), EntryPoints[276]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static + [Slot(276)] + 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 - { - InteropHelper.Call((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(), EntryPoints[276]); - 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 + [Slot(276)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits, EntryPoints[276]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static + [Slot(276)] + 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 - { - InteropHelper.Call((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(), EntryPoints[276]); - } - 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 + [Slot(276)] + 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 - { - InteropHelper.Call((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(), EntryPoints[276]); - } - 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 + [Slot(276)] + 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 - { - InteropHelper.Call((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(), EntryPoints[276]); - } - 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 + [Slot(276)] + 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 - { - InteropHelper.Call((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(), EntryPoints[276]); - 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 + [Slot(277)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[277]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static + [Slot(277)] + 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 - { - InteropHelper.Call((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(), EntryPoints[277]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static + [Slot(277)] + 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 - { - InteropHelper.Call((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(), EntryPoints[277]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static + [Slot(277)] + 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 - { - InteropHelper.Call((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(), EntryPoints[277]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static + [Slot(277)] + 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 - { - InteropHelper.Call((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(), EntryPoints[277]); - 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 + [Slot(277)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[277]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static + [Slot(277)] + 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 - { - InteropHelper.Call((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(), EntryPoints[277]); - } - 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 + [Slot(277)] + 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 - { - InteropHelper.Call((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(), EntryPoints[277]); - } - 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 + [Slot(277)] + 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 - { - InteropHelper.Call((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(), EntryPoints[277]); - } - 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 + [Slot(277)] + 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 - { - InteropHelper.Call((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(), EntryPoints[277]); - 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 + [Slot(278)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits, EntryPoints[278]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static + [Slot(278)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[278]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static + [Slot(278)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[278]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static + [Slot(278)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[278]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static + [Slot(278)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[278]); - 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 + [Slot(278)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits, EntryPoints[278]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static + [Slot(278)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[278]); - } - 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 + [Slot(278)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[278]); - } - 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 + [Slot(278)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[278]); - } - 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 + [Slot(278)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject(), EntryPoints[278]); - 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 + [Slot(279)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[279]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static + [Slot(279)] + 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 - { - InteropHelper.Call((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(), EntryPoints[279]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static + [Slot(279)] + 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 - { - InteropHelper.Call((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(), EntryPoints[279]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static + [Slot(279)] + 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 - { - InteropHelper.Call((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(), EntryPoints[279]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static + [Slot(279)] + 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 - { - InteropHelper.Call((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(), EntryPoints[279]); - 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 + [Slot(279)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[279]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static + [Slot(279)] + 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 - { - InteropHelper.Call((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(), EntryPoints[279]); - } - 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 + [Slot(279)] + 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 - { - InteropHelper.Call((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(), EntryPoints[279]); - } - 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 + [Slot(279)] + 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 - { - InteropHelper.Call((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(), EntryPoints[279]); - } - 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 + [Slot(279)] + 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 - { - InteropHelper.Call((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(), EntryPoints[279]); - 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 + [Slot(280)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[280]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static + [Slot(280)] + 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 - { - InteropHelper.Call((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(), EntryPoints[280]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static + [Slot(280)] + 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 - { - InteropHelper.Call((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(), EntryPoints[280]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static + [Slot(280)] + 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 - { - InteropHelper.Call((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(), EntryPoints[280]); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static + [Slot(280)] + 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 - { - InteropHelper.Call((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(), EntryPoints[280]); - 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 + [Slot(280)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[280]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static + [Slot(280)] + 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 - { - InteropHelper.Call((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(), EntryPoints[280]); - } - 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 + [Slot(280)] + 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 - { - InteropHelper.Call((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(), EntryPoints[280]); - } - 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 + [Slot(280)] + 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 - { - InteropHelper.Call((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(), EntryPoints[280]); - } - 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 + [Slot(280)] + 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 - { - InteropHelper.Call((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(), EntryPoints[280]); - bits = (T11)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -148389,18 +100665,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static + [Slot(282)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image, EntryPoints[282]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -148436,27 +100705,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static + [Slot(282)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[282]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -148492,27 +100746,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static + [Slot(282)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[282]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -148548,27 +100787,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static + [Slot(282)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[282]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -148604,28 +100828,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static + [Slot(282)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[282]); - image = (T5)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -148666,18 +100874,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static + [Slot(284)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[284]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -148718,27 +100919,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[284]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -148779,27 +100965,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[284]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -148840,27 +101011,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[284]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -148901,28 +101057,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static + [Slot(284)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[284]); - image = (T6)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Set convolution parameters @@ -148946,18 +101086,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfEXT")] - public static + [Slot(286)] + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single)@params, EntryPoints[286]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Set convolution parameters @@ -148981,24 +101114,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfvEXT")] - public static + [Slot(288)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (IntPtr)@params_ptr, EntryPoints[288]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Set convolution parameters @@ -149023,18 +101143,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfvEXT")] - public static + [Slot(288)] + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (IntPtr)@params, EntryPoints[288]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Set convolution parameters @@ -149058,18 +101171,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameteriEXT")] - public static + [Slot(290)] + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32)@params, EntryPoints[290]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Set convolution parameters @@ -149093,24 +101199,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterivEXT")] - public static + [Slot(292)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (IntPtr)@params_ptr, EntryPoints[292]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Set convolution parameters @@ -149135,18 +101228,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterivEXT")] - public static + [Slot(292)] + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (IntPtr)@params, EntryPoints[292]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_color_subtable] /// Respecify a portion of a color table @@ -149172,18 +101258,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_color_subtable", Version = "", EntryPoint = "glCopyColorSubTableEXT")] - public static + [Slot(297)] + public static extern void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width, EntryPoints[297]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Copy pixels into a one-dimensional convolution filter @@ -149209,18 +101288,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glCopyConvolutionFilter1DEXT")] - public static + [Slot(301)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, EntryPoints[301]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Copy pixels into a two-dimensional convolution filter @@ -149251,93 +101323,51 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glCopyConvolutionFilter2DEXT")] - public static + [Slot(303)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[303]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexImage1DEXT")] - public static + [Slot(306)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[306]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexImage2DEXT")] - public static + [Slot(307)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[307]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexSubImage1DEXT")] - public static + [Slot(308)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width, EntryPoints[308]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexSubImage2DEXT")] - public static + [Slot(309)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[309]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexSubImage3DEXT")] - public static + [Slot(310)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[310]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_copy_texture] /// Copy pixels into a 1D texture image @@ -149373,18 +101403,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_copy_texture", Version = "", EntryPoint = "glCopyTexImage1DEXT")] - public static + [Slot(314)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border, EntryPoints[314]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_copy_texture] /// Copy pixels into a 2D texture image @@ -149425,18 +101448,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_copy_texture", Version = "", EntryPoint = "glCopyTexImage2DEXT")] - public static + [Slot(316)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border, EntryPoints[316]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_copy_texture] /// Copy a one-dimensional texture subimage @@ -149467,18 +101483,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_copy_texture", Version = "", EntryPoint = "glCopyTexSubImage1DEXT")] - public static + [Slot(318)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width, EntryPoints[318]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_copy_texture] /// Copy a two-dimensional texture subimage @@ -149519,18 +101528,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_copy_texture", Version = "", EntryPoint = "glCopyTexSubImage2DEXT")] - public static + [Slot(320)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[320]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_copy_texture] /// Copy a three-dimensional texture subimage @@ -149576,173 +101578,96 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_copy_texture", Version = "", EntryPoint = "glCopyTexSubImage3DEXT")] - public static + [Slot(322)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[322]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] - public static + [Slot(323)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border, EntryPoints[323]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] - public static + [Slot(323)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border, EntryPoints[323]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] - public static + [Slot(324)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border, EntryPoints[324]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] - public static + [Slot(324)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border, EntryPoints[324]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage1DEXT")] - public static + [Slot(325)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width, EntryPoints[325]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage1DEXT")] - public static + [Slot(325)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width, EntryPoints[325]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] - public static + [Slot(326)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[326]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] - public static + [Slot(326)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[326]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage3DEXT")] - public static + [Slot(327)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[327]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage3DEXT")] - public static + [Slot(327)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[327]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Create a stand-alone program from an array of null-terminated source code strings @@ -149763,18 +101688,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glCreateShaderProgramEXT")] - public static + [Slot(336)] + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, String @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (String)@string, EntryPoints[336]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Create a stand-alone program from an array of null-terminated source code strings @@ -149795,177 +101713,78 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glCreateShaderProgramvEXT")] - public static + [Slot(338)] + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, Int32 count, String[] strings) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (Int32)count, (String[])strings, EntryPoints[338]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_cull_vertex] [AutoGenerated(Category = "EXT_cull_vertex", Version = "", EntryPoint = "glCullParameterdvEXT")] - public static + [Slot(341)] + public static extern void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (IntPtr)@params_ptr, EntryPoints[341]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_cull_vertex] [AutoGenerated(Category = "EXT_cull_vertex", Version = "", EntryPoint = "glCullParameterdvEXT")] - public static + [Slot(341)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (IntPtr)@params_ptr, EntryPoints[341]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_cull_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_cull_vertex", Version = "", EntryPoint = "glCullParameterdvEXT")] - public static + [Slot(341)] + public static extern unsafe void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (IntPtr)@params, EntryPoints[341]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_cull_vertex] [AutoGenerated(Category = "EXT_cull_vertex", Version = "", EntryPoint = "glCullParameterfvEXT")] - public static + [Slot(342)] + public static extern void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (IntPtr)@params_ptr, EntryPoints[342]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_cull_vertex] [AutoGenerated(Category = "EXT_cull_vertex", Version = "", EntryPoint = "glCullParameterfvEXT")] - public static + [Slot(342)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (IntPtr)@params_ptr, EntryPoints[342]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_cull_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_cull_vertex", Version = "", EntryPoint = "glCullParameterfvEXT")] - public static + [Slot(342)] + public static extern unsafe void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (IntPtr)@params, EntryPoints[342]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static + [Slot(366)] + public static extern void DeleteFramebuffer(Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[366]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static + [Slot(366)] + public static extern void DeleteFramebuffer(UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[366]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Delete framebuffer objects @@ -149981,24 +101800,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static + [Slot(366)] + public static extern void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[366]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Delete framebuffer objects @@ -150014,24 +101820,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static + [Slot(366)] + public static extern void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[366]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Delete framebuffer objects @@ -150048,18 +101841,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static + [Slot(366)] + public static extern unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[366]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Delete framebuffer objects @@ -150076,24 +101862,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static + [Slot(366)] + public static extern void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[366]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Delete framebuffer objects @@ -150110,24 +101883,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static + [Slot(366)] + public static extern void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[366]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Delete framebuffer objects @@ -150144,59 +101904,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static + [Slot(366)] + public static extern unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[366]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(376)] + public static extern void DeleteProgramPipeline(Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[376]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(376)] + public static extern void DeleteProgramPipeline(UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[376]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -150212,24 +101941,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(376)] + public static extern void DeleteProgramPipelines(Int32 n, Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[376]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -150245,24 +101961,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(376)] + public static extern void DeleteProgramPipelines(Int32 n, ref Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[376]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -150279,18 +101982,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(376)] + public static extern unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[376]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -150307,24 +102003,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(376)] + public static extern void DeleteProgramPipelines(Int32 n, UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[376]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -150341,24 +102024,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(376)] + public static extern void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[376]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -150375,59 +102045,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static + [Slot(376)] + public static extern unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[376]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static + [Slot(382)] + public static extern void DeleteRenderbuffer(Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[382]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static + [Slot(382)] + public static extern void DeleteRenderbuffer(UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[382]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Delete renderbuffer objects @@ -150443,24 +102082,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static + [Slot(382)] + public static extern void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[382]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Delete renderbuffer objects @@ -150476,24 +102102,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static + [Slot(382)] + public static extern void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[382]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Delete renderbuffer objects @@ -150510,18 +102123,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static + [Slot(382)] + public static extern unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[382]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Delete renderbuffer objects @@ -150538,24 +102144,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static + [Slot(382)] + public static extern void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[382]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Delete renderbuffer objects @@ -150572,24 +102165,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static + [Slot(382)] + public static extern void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[382]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Delete renderbuffer objects @@ -150606,59 +102186,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static + [Slot(382)] + public static extern unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[382]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static + [Slot(387)] + public static extern void DeleteTexture(Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[387]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static + [Slot(387)] + public static extern void DeleteTexture(UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[387]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Delete named textures @@ -150674,24 +102223,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static + [Slot(387)] + public static extern void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[387]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Delete named textures @@ -150707,24 +102243,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static + [Slot(387)] + public static extern void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[387]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Delete named textures @@ -150741,18 +102264,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static + [Slot(387)] + public static extern unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[387]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Delete named textures @@ -150769,24 +102285,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static + [Slot(387)] + public static extern void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[387]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Delete named textures @@ -150803,24 +102306,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static + [Slot(387)] + public static extern void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[387]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Delete named textures @@ -150837,316 +102327,176 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static + [Slot(387)] + public static extern unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[387]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glDeleteVertexShaderEXT")] - public static + [Slot(392)] + public static extern void DeleteVertexShader(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[392]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glDeleteVertexShaderEXT")] - public static + [Slot(392)] + public static extern void DeleteVertexShader(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[392]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_depth_bounds_test] [AutoGenerated(Category = "EXT_depth_bounds_test", Version = "", EntryPoint = "glDepthBoundsEXT")] - public static + [Slot(394)] + public static extern void DepthBounds(Double zmin, Double zmax) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)zmin, (Double)zmax, EntryPoints[394]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateiEXT")] - public static + [Slot(409)] + public static extern void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index, EntryPoints[409]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateiEXT")] - public static + [Slot(409)] + public static extern void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index, EntryPoints[409]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] - public static + [Slot(410)] + public static extern void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.ArrayCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index, EntryPoints[410]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] - public static + [Slot(410)] + public static extern void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index, EntryPoints[410]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use ArrayCap overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] - public static + [Slot(410)] + public static extern void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index, EntryPoints[410]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use ArrayCap overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] - public static + [Slot(410)] + public static extern void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index, EntryPoints[410]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(412)] + public static extern void DisableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[412]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(412)] + public static extern void DisableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[412]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glDisableIndexedEXT")] - public static + [Slot(412)] + public static extern void DisableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[412]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(412)] + public static extern void DisableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[412]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glDisableVariantClientStateEXT")] - public static + [Slot(413)] + public static extern void DisableVariantClientState(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[413]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glDisableVariantClientStateEXT")] - public static + [Slot(413)] + public static extern void DisableVariantClientState(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[413]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableVertexArrayAttribEXT")] - public static + [Slot(414)] + public static extern void DisableVertexArrayAttrib(Int32 vaobj, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)index, EntryPoints[414]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableVertexArrayAttribEXT")] - public static + [Slot(414)] + public static extern void DisableVertexArrayAttrib(UInt32 vaobj, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)index, EntryPoints[414]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableVertexArrayEXT")] - public static + [Slot(415)] + public static extern void DisableVertexArray(Int32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.EnableCap)array, EntryPoints[415]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableVertexArrayEXT")] - public static + [Slot(415)] + public static extern void DisableVertexArray(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.EnableCap)array, EntryPoints[415]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Render primitives from array data @@ -151168,18 +102518,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glDrawArraysEXT")] - public static + [Slot(423)] + public static extern void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[423]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Render primitives from array data @@ -151200,18 +102543,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glDrawArraysEXT")] - public static + [Slot(423)] + public static extern void DrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[423]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced] /// Draw multiple instances of a range of elements @@ -151238,18 +102574,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedEXT")] - public static + [Slot(428)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount, EntryPoints[428]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced] /// Draw multiple instances of a range of elements @@ -151275,18 +102604,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedEXT")] - public static + [Slot(428)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount, EntryPoints[428]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -151318,18 +102640,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(443)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[443]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -151361,27 +102676,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(443)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[443]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -151413,27 +102713,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(443)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[443]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -151465,27 +102750,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(443)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[443]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -151517,28 +102787,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(443)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[443]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -151569,18 +102823,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(443)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[443]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -151611,27 +102858,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(443)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[443]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -151662,27 +102894,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(443)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[443]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -151713,27 +102930,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(443)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[443]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -151764,28 +102966,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static + [Slot(443)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[443]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -151822,18 +103008,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, EntryPoints[450]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -151870,27 +103049,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -151927,27 +103091,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -151984,27 +103133,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152041,28 +103175,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152100,18 +103218,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, EntryPoints[450]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152149,27 +103260,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152207,27 +103303,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152265,27 +103346,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152323,28 +103389,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152380,18 +103430,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, EntryPoints[450]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152427,27 +103470,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152483,27 +103511,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152539,27 +103552,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152595,28 +103593,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152653,18 +103635,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, EntryPoints[450]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152701,27 +103676,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152758,27 +103718,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152815,27 +103760,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -152872,28 +103802,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static + [Slot(450)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[450]); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of edge flags @@ -152909,24 +103823,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glEdgeFlagPointerEXT")] - public static + [Slot(460)] + public static extern void EdgeFlagPointer(Int32 stride, Int32 count, bool[] pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* pointer_ptr = pointer) - { - InteropHelper.Call((Int32)stride, (Int32)count, (IntPtr)pointer_ptr, EntryPoints[460]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of edge flags @@ -152942,24 +103843,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glEdgeFlagPointerEXT")] - public static + [Slot(460)] + public static extern void EdgeFlagPointer(Int32 stride, Int32 count, ref bool pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* pointer_ptr = &pointer) - { - InteropHelper.Call((Int32)stride, (Int32)count, (IntPtr)pointer_ptr, EntryPoints[460]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of edge flags @@ -152976,18 +103864,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glEdgeFlagPointerEXT")] - public static + [Slot(460)] + public static extern unsafe void EdgeFlagPointer(Int32 stride, Int32 count, bool* pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)stride, (Int32)count, (IntPtr)pointer, EntryPoints[460]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Enable or disable client-side capability @@ -152998,18 +103879,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateiEXT")] - public static + [Slot(467)] + public static extern void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index, EntryPoints[467]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Enable or disable client-side capability @@ -153021,331 +103895,184 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateiEXT")] - public static + [Slot(467)] + public static extern void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index, EntryPoints[467]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] - public static + [Slot(468)] + public static extern void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.ArrayCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index, EntryPoints[468]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] - public static + [Slot(468)] + public static extern void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index, EntryPoints[468]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use ArrayCap overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] - public static + [Slot(468)] + public static extern void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index, EntryPoints[468]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use ArrayCap overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] - public static + [Slot(468)] + public static extern void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index, EntryPoints[468]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(470)] + public static extern void EnableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[470]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(470)] + public static extern void EnableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[470]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glEnableIndexedEXT")] - public static + [Slot(470)] + public static extern void EnableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[470]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(470)] + public static extern void EnableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[470]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glEnableVariantClientStateEXT")] - public static + [Slot(471)] + public static extern void EnableVariantClientState(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[471]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glEnableVariantClientStateEXT")] - public static + [Slot(471)] + public static extern void EnableVariantClientState(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[471]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableVertexArrayAttribEXT")] - public static + [Slot(472)] + public static extern void EnableVertexArrayAttrib(Int32 vaobj, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)index, EntryPoints[472]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableVertexArrayAttribEXT")] - public static + [Slot(472)] + public static extern void EnableVertexArrayAttrib(UInt32 vaobj, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)index, EntryPoints[472]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableVertexArrayEXT")] - public static + [Slot(473)] + public static extern void EnableVertexArray(Int32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.EnableCap)array, EntryPoints[473]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableVertexArrayEXT")] - public static + [Slot(473)] + public static extern void EnableVertexArray(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.EnableCap)array, EntryPoints[473]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glEndTransformFeedbackEXT")] - public static + [Slot(489)] + public static extern void EndTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[489]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glEndVertexShaderEXT")] - public static + [Slot(491)] + public static extern void EndVertexShader() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[491]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glExtractComponentEXT")] - public static + [Slot(511)] + public static extern void ExtractComponent(Int32 res, Int32 src, Int32 num) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)res, (UInt32)src, (UInt32)num, EntryPoints[511]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glExtractComponentEXT")] - public static + [Slot(511)] + public static extern void ExtractComponent(UInt32 res, UInt32 src, UInt32 num) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)res, (UInt32)src, (UInt32)num, EntryPoints[511]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFlushMappedNamedBufferRangeEXT")] - public static + [Slot(525)] + public static extern void FlushMappedNamedBufferRange(Int32 buffer, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)length, EntryPoints[525]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFlushMappedNamedBufferRangeEXT")] - public static + [Slot(525)] + public static extern void FlushMappedNamedBufferRange(UInt32 buffer, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)length, EntryPoints[525]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_fog_coord] /// Set the current fog coordinates @@ -153356,18 +104083,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoorddEXT")] - public static + [Slot(532)] + public static extern void FogCoord(Double coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)coord, EntryPoints[532]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_fog_coord] /// Set the current fog coordinates @@ -153379,18 +104099,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoorddvEXT")] - public static + [Slot(534)] + public static extern unsafe void FogCoord(Double* coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coord, EntryPoints[534]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_fog_coord] /// Set the current fog coordinates @@ -153401,18 +104114,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordfEXT")] - public static + [Slot(536)] + public static extern void FogCoord(Single coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)coord, EntryPoints[536]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_fog_coord] /// Set the current fog coordinates @@ -153424,18 +104130,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordfvEXT")] - public static + [Slot(539)] + public static extern unsafe void FogCoord(Single* coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coord, EntryPoints[539]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -153456,18 +104155,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static + [Slot(543)] + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer, EntryPoints[543]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -153488,27 +104180,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static + [Slot(543)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[543]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -153529,27 +104206,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static + [Slot(543)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[543]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -153570,27 +104232,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static + [Slot(543)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[543]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -153611,208 +104258,98 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static + [Slot(543)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[543]); - 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 + [Slot(565)] + public static extern void FramebufferDrawBuffer(Int32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.DrawBufferMode)mode, EntryPoints[565]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBufferEXT")] - public static + [Slot(565)] + public static extern void FramebufferDrawBuffer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.DrawBufferMode)mode, EntryPoints[565]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static + [Slot(566)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (Int32)n, (IntPtr)bufs_ptr, EntryPoints[566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static + [Slot(566)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (Int32)n, (IntPtr)bufs_ptr, EntryPoints[566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static + [Slot(566)] + public static extern unsafe void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (Int32)n, (IntPtr)bufs, EntryPoints[566]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static + [Slot(566)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (Int32)n, (IntPtr)bufs_ptr, EntryPoints[566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static + [Slot(566)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (Int32)n, (IntPtr)bufs_ptr, EntryPoints[566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static + [Slot(566)] + public static extern unsafe void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (Int32)n, (IntPtr)bufs, EntryPoints[566]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] - public static + [Slot(568)] + public static extern void FramebufferReadBuffer(Int32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ReadBufferMode)mode, EntryPoints[568]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] - public static + [Slot(568)] + public static extern void FramebufferReadBuffer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ReadBufferMode)mode, EntryPoints[568]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -153838,18 +104375,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferRenderbufferEXT")] - public static + [Slot(570)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[570]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -153876,111 +104406,62 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferRenderbufferEXT")] - public static + [Slot(570)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[570]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture1DEXT")] - public static + [Slot(573)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[573]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture1DEXT")] - public static + [Slot(573)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[573]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture2DEXT")] - public static + [Slot(575)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[575]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture2DEXT")] - public static + [Slot(575)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[575]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture3DEXT")] - public static + [Slot(577)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset, EntryPoints[577]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture3DEXT")] - public static + [Slot(577)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset, EntryPoints[577]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_geometry_program4] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -154011,18 +104492,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glFramebufferTextureEXT")] - public static + [Slot(579)] + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, EntryPoints[579]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_geometry_program4] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -154054,18 +104528,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glFramebufferTextureEXT")] - public static + [Slot(579)] + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, EntryPoints[579]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_geometry_program4] /// Attach a face of a cube map texture as a logical buffer to the currently bound framebuffer @@ -154096,18 +104563,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glFramebufferTextureFaceEXT")] - public static + [Slot(581)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face, EntryPoints[581]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_geometry_program4] /// Attach a face of a cube map texture as a logical buffer to the currently bound framebuffer @@ -154139,18 +104599,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glFramebufferTextureFaceEXT")] - public static + [Slot(581)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face, EntryPoints[581]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_geometry_program4] /// Attach a single layer of a texture to a framebuffer @@ -154181,18 +104634,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glFramebufferTextureLayerEXT")] - public static + [Slot(584)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[584]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_geometry_program4] /// Attach a single layer of a texture to a framebuffer @@ -154224,18 +104670,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glFramebufferTextureLayerEXT")] - public static + [Slot(584)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[584]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Generate mipmaps for a specified texture target @@ -154246,86 +104685,44 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenerateMipmapEXT")] - public static + [Slot(596)] + public static extern void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GenerateMipmapTarget)target, EntryPoints[596]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGenerateMultiTexMipmapEXT")] - public static + [Slot(597)] + public static extern void GenerateMultiTexMipmap(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, EntryPoints[597]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] - public static + [Slot(598)] + public static extern void GenerateTextureMipmap(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, EntryPoints[598]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] - public static + [Slot(598)] + public static extern void GenerateTextureMipmap(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, EntryPoints[598]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static + [Slot(603)] + public static extern Int32 GenFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* framebuffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[603]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Generate framebuffer object names @@ -154341,24 +104738,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static + [Slot(603)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[603]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Generate framebuffer object names @@ -154374,25 +104758,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static + [Slot(603)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[603]); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Generate framebuffer object names @@ -154409,18 +104779,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static + [Slot(603)] + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[603]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Generate framebuffer object names @@ -154437,24 +104800,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static + [Slot(603)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[603]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Generate framebuffer object names @@ -154471,25 +104821,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static + [Slot(603)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[603]); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Generate framebuffer object names @@ -154506,40 +104842,19 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static + [Slot(603)] + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[603]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(610)] + public static extern Int32 GenProgramPipeline() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* pipelines_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[610]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -154555,24 +104870,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(610)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[610]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -154588,25 +104890,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(610)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[610]); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -154623,18 +104911,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(610)] + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[610]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -154651,24 +104932,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(610)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[610]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -154685,25 +104953,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(610)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[610]); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -154720,40 +104974,19 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static + [Slot(610)] + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[610]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static + [Slot(616)] + public static extern Int32 GenRenderbuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* renderbuffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[616]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Generate renderbuffer object names @@ -154769,24 +105002,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static + [Slot(616)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[616]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Generate renderbuffer object names @@ -154802,25 +105022,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static + [Slot(616)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[616]); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Generate renderbuffer object names @@ -154837,18 +105043,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static + [Slot(616)] + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[616]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Generate renderbuffer object names @@ -154865,24 +105064,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static + [Slot(616)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[616]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Generate renderbuffer object names @@ -154899,25 +105085,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static + [Slot(616)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[616]); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Generate renderbuffer object names @@ -154934,71 +105106,36 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static + [Slot(616)] + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[616]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGenSymbolsEXT")] - public static + [Slot(618)] + public static extern 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 InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.ExtVertexShader)datatype, (OpenTK.Graphics.OpenGL.ExtVertexShader)storagetype, (OpenTK.Graphics.OpenGL.ExtVertexShader)range, (UInt32)components, EntryPoints[618]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGenSymbolsEXT")] - public static + [Slot(618)] + public static extern 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 InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.ExtVertexShader)datatype, (OpenTK.Graphics.OpenGL.ExtVertexShader)storagetype, (OpenTK.Graphics.OpenGL.ExtVertexShader)range, (UInt32)components, EntryPoints[618]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static + [Slot(620)] + public static extern Int32 GenTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* textures_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[620]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Generate texture names @@ -155014,24 +105151,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static + [Slot(620)] + public static extern void GenTextures(Int32 n, [OutAttribute] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[620]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Generate texture names @@ -155047,25 +105171,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static + [Slot(620)] + public static extern void GenTextures(Int32 n, [OutAttribute] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[620]); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Generate texture names @@ -155082,18 +105192,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static + [Slot(620)] + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[620]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Generate texture names @@ -155110,24 +105213,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static + [Slot(620)] + public static extern void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[620]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Generate texture names @@ -155144,25 +105234,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static + [Slot(620)] + public static extern void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[620]); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Generate texture names @@ -155179,295 +105255,138 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static + [Slot(620)] + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[620]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGenVertexShadersEXT")] - public static + [Slot(625)] + public static extern Int32 GenVertexShaders(Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)range, EntryPoints[625]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGenVertexShadersEXT")] - public static + [Slot(625)] + public static extern Int32 GenVertexShaders(UInt32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)range, EntryPoints[625]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static + [Slot(646)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[646]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static + [Slot(646)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[646]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(646)] + public static extern unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)data, EntryPoints[646]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(646)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[646]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(646)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[646]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(646)] + public static extern unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)data, EntryPoints[646]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(646)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[646]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(646)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[646]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(646)] + public static extern unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)data, EntryPoints[646]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(646)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[646]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(646)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[646]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(646)] + public static extern unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (IntPtr)data, EntryPoints[646]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Retrieve contents of a color lookup table @@ -155493,18 +105412,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableEXT")] - public static + [Slot(660)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data, EntryPoints[660]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Retrieve contents of a color lookup table @@ -155530,27 +105442,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableEXT")] - public static + [Slot(660)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[660]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Retrieve contents of a color lookup table @@ -155576,27 +105473,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableEXT")] - public static + [Slot(660)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[660]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Retrieve contents of a color lookup table @@ -155622,27 +105504,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableEXT")] - public static + [Slot(660)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[660]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Retrieve contents of a color lookup table @@ -155668,28 +105535,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableEXT")] - public static + [Slot(660)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[660]); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Get color lookup table parameters @@ -155710,24 +105561,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableParameterfvEXT")] - public static + [Slot(662)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[662]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Get color lookup table parameters @@ -155748,25 +105586,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableParameterfvEXT")] - public static + [Slot(662)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[662]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Get color lookup table parameters @@ -155788,18 +105612,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableParameterfvEXT")] - public static + [Slot(662)] + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (IntPtr)@params, EntryPoints[662]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Get color lookup table parameters @@ -155820,24 +105637,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableParameterivEXT")] - public static + [Slot(665)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[665]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Get color lookup table parameters @@ -155858,25 +105662,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableParameterivEXT")] - public static + [Slot(665)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[665]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_paletted_texture] /// Get color lookup table parameters @@ -155898,359 +105688,148 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableParameterivEXT")] - public static + [Slot(665)] + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (IntPtr)@params, EntryPoints[665]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static + [Slot(673)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img, EntryPoints[673]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static + [Slot(673)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[673]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static + [Slot(673)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[673]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static + [Slot(673)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[673]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static + [Slot(673)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[673]); - 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 + [Slot(676)] + public static extern void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img, EntryPoints[676]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static + [Slot(676)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[676]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static + [Slot(676)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[676]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static + [Slot(676)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[676]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static + [Slot(676)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[676]); - 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 + [Slot(676)] + public static extern void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img, EntryPoints[676]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static + [Slot(676)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[676]); - } - 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 + [Slot(676)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[676]); - } - 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 + [Slot(676)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[676]); - } - 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 + [Slot(676)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[676]); - img = (T3)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -156276,18 +105855,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static + [Slot(678)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image, EntryPoints[678]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -156313,27 +105885,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static + [Slot(678)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[678]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -156359,27 +105916,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static + [Slot(678)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[678]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -156405,27 +105947,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static + [Slot(678)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[678]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -156451,28 +105978,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static + [Slot(678)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[678]); - image = (T3)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get convolution parameters @@ -156493,24 +106004,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static + [Slot(680)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (IntPtr)@params_ptr, EntryPoints[680]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get convolution parameters @@ -156531,25 +106029,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static + [Slot(680)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (IntPtr)@params_ptr, EntryPoints[680]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get convolution parameters @@ -156571,18 +106055,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static + [Slot(680)] + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (IntPtr)@params, EntryPoints[680]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get convolution parameters @@ -156603,24 +106080,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] - public static + [Slot(682)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (IntPtr)@params_ptr, EntryPoints[682]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get convolution parameters @@ -156641,25 +106105,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] - public static + [Slot(682)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (IntPtr)@params_ptr, EntryPoints[682]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get convolution parameters @@ -156681,498 +106131,219 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] - public static + [Slot(682)] + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (IntPtr)@params, EntryPoints[682]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoublei_vEXT")] - public static + [Slot(690)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[690]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoublei_vEXT")] - public static + [Slot(690)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[690]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoublei_vEXT")] - public static + [Slot(690)] + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params, EntryPoints[690]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoublei_vEXT")] - public static + [Slot(690)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[690]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoublei_vEXT")] - public static + [Slot(690)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[690]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoublei_vEXT")] - public static + [Slot(690)] + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params, EntryPoints[690]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static + [Slot(691)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[691]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static + [Slot(691)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[691]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static + [Slot(691)] + public static extern unsafe void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data, EntryPoints[691]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static + [Slot(691)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[691]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static + [Slot(691)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[691]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static + [Slot(691)] + public static extern unsafe void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data, EntryPoints[691]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloati_vEXT")] - public static + [Slot(699)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[699]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloati_vEXT")] - public static + [Slot(699)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[699]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloati_vEXT")] - public static + [Slot(699)] + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params, EntryPoints[699]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloati_vEXT")] - public static + [Slot(699)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[699]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloati_vEXT")] - public static + [Slot(699)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[699]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloati_vEXT")] - public static + [Slot(699)] + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params, EntryPoints[699]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static + [Slot(700)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[700]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static + [Slot(700)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[700]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static + [Slot(700)] + public static extern unsafe void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data, EntryPoints[700]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static + [Slot(700)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[700]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static + [Slot(700)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[700]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static + [Slot(700)] + public static extern unsafe void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data, EntryPoints[700]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Query the bindings of color numbers to user-defined varying out variables @@ -157188,18 +106359,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetFragDataLocationEXT")] - public static + [Slot(705)] + public static extern Int32 GetFragDataLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[705]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Query the bindings of color numbers to user-defined varying out variables @@ -157216,18 +106380,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetFragDataLocationEXT")] - public static + [Slot(705)] + public static extern Int32 GetFragDataLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[705]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Retrieve information about attachments of a bound framebuffer object @@ -157253,24 +106410,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] - public static + [Slot(711)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[711]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Retrieve information about attachments of a bound framebuffer object @@ -157296,25 +106440,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] - public static + [Slot(711)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[711]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Retrieve information about attachments of a bound framebuffer object @@ -157341,18 +106471,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] - public static + [Slot(711)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (IntPtr)@params, EntryPoints[711]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Retrieve a named parameter from a framebuffer @@ -157373,24 +106496,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static + [Slot(713)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[713]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Retrieve a named parameter from a framebuffer @@ -157411,25 +106521,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static + [Slot(713)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[713]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Retrieve a named parameter from a framebuffer @@ -157451,18 +106547,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static + [Slot(713)] + public static extern unsafe void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params, EntryPoints[713]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Retrieve a named parameter from a framebuffer @@ -157484,24 +106573,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static + [Slot(713)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[713]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Retrieve a named parameter from a framebuffer @@ -157523,25 +106599,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static + [Slot(713)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[713]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Retrieve a named parameter from a framebuffer @@ -157563,18 +106625,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static + [Slot(713)] + public static extern unsafe void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params, EntryPoints[713]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get histogram table @@ -157605,18 +106660,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static + [Slot(717)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values, EntryPoints[717]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get histogram table @@ -157647,27 +106695,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static + [Slot(717)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[717]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get histogram table @@ -157698,27 +106731,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static + [Slot(717)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[717]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get histogram table @@ -157749,27 +106767,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static + [Slot(717)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[717]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get histogram table @@ -157800,28 +106803,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static + [Slot(717)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[717]); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get histogram parameters @@ -157842,24 +106829,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] - public static + [Slot(719)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (IntPtr)@params_ptr, EntryPoints[719]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get histogram parameters @@ -157880,25 +106854,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] - public static + [Slot(719)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (IntPtr)@params_ptr, EntryPoints[719]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get histogram parameters @@ -157920,18 +106880,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] - public static + [Slot(719)] + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (IntPtr)@params, EntryPoints[719]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get histogram parameters @@ -157952,24 +106905,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] - public static + [Slot(721)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (IntPtr)@params_ptr, EntryPoints[721]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get histogram parameters @@ -157990,25 +106930,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] - public static + [Slot(721)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (IntPtr)@params_ptr, EntryPoints[721]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get histogram parameters @@ -158030,984 +106956,433 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] - public static + [Slot(721)] + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (IntPtr)@params, EntryPoints[721]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(732)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[732]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(732)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[732]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(732)] + public static extern unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[732]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(732)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[732]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(732)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[732]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(732)] + public static extern unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[732]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static + [Slot(732)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[732]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static + [Slot(732)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[732]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(732)] + public static extern unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[732]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(732)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[732]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(732)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[732]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(732)] + public static extern unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[732]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantBooleanvEXT")] - public static + [Slot(738)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[738]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantBooleanvEXT")] - public static + [Slot(738)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[738]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantBooleanvEXT")] - public static + [Slot(738)] + public static extern unsafe void GetInvariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[738]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantBooleanvEXT")] - public static + [Slot(738)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[738]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantBooleanvEXT")] - public static + [Slot(738)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[738]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantBooleanvEXT")] - public static + [Slot(738)] + public static extern unsafe void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[738]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantFloatvEXT")] - public static + [Slot(739)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[739]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantFloatvEXT")] - public static + [Slot(739)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[739]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantFloatvEXT")] - public static + [Slot(739)] + public static extern unsafe void GetInvariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[739]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantFloatvEXT")] - public static + [Slot(739)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[739]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantFloatvEXT")] - public static + [Slot(739)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[739]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantFloatvEXT")] - public static + [Slot(739)] + public static extern unsafe void GetInvariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[739]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantIntegervEXT")] - public static + [Slot(740)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[740]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantIntegervEXT")] - public static + [Slot(740)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[740]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantIntegervEXT")] - public static + [Slot(740)] + public static extern unsafe void GetInvariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[740]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantIntegervEXT")] - public static + [Slot(740)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[740]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantIntegervEXT")] - public static + [Slot(740)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[740]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantIntegervEXT")] - public static + [Slot(740)] + public static extern unsafe void GetInvariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[740]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static + [Slot(747)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[747]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static + [Slot(747)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[747]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static + [Slot(747)] + public static extern unsafe void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[747]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static + [Slot(747)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[747]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static + [Slot(747)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[747]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static + [Slot(747)] + public static extern unsafe void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[747]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static + [Slot(748)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[748]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static + [Slot(748)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[748]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static + [Slot(748)] + public static extern unsafe void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[748]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static + [Slot(748)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[748]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static + [Slot(748)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[748]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static + [Slot(748)] + public static extern unsafe void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[748]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static + [Slot(749)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[749]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static + [Slot(749)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[749]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static + [Slot(749)] + public static extern unsafe void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[749]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static + [Slot(749)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[749]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static + [Slot(749)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[749]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static + [Slot(749)] + public static extern unsafe void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[749]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -159038,18 +107413,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static + [Slot(764)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values, EntryPoints[764]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -159080,27 +107448,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static + [Slot(764)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[764]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -159131,27 +107484,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static + [Slot(764)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[764]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -159182,27 +107520,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static + [Slot(764)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[764]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -159233,28 +107556,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static + [Slot(764)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[764]); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get minmax parameters @@ -159275,24 +107582,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] - public static + [Slot(766)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (IntPtr)@params_ptr, EntryPoints[766]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get minmax parameters @@ -159313,25 +107607,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] - public static + [Slot(766)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (IntPtr)@params_ptr, EntryPoints[766]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get minmax parameters @@ -159353,18 +107633,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] - public static + [Slot(766)] + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (IntPtr)@params, EntryPoints[766]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get minmax parameters @@ -159385,24 +107658,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] - public static + [Slot(768)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (IntPtr)@params_ptr, EntryPoints[768]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get minmax parameters @@ -159423,25 +107683,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] - public static + [Slot(768)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (IntPtr)@params_ptr, EntryPoints[768]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Get minmax parameters @@ -159463,2527 +107709,1076 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] - public static + [Slot(768)] + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (IntPtr)@params, EntryPoints[768]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] - public static + [Slot(771)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[771]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] - public static + [Slot(771)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[771]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] - public static + [Slot(771)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[771]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] - public static + [Slot(772)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[772]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] - public static + [Slot(772)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[772]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] - public static + [Slot(772)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[772]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] - public static + [Slot(773)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[773]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] - public static + [Slot(773)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[773]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] - public static + [Slot(773)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params, EntryPoints[773]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] - public static + [Slot(774)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[774]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] - public static + [Slot(774)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[774]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] - public static + [Slot(774)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params, EntryPoints[774]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] - public static + [Slot(775)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[775]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] - public static + [Slot(775)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[775]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] - public static + [Slot(775)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params, EntryPoints[775]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static + [Slot(776)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels, EntryPoints[776]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static + [Slot(776)] + 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 - { - InteropHelper.Call((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(), EntryPoints[776]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static + [Slot(776)] + 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 - { - InteropHelper.Call((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(), EntryPoints[776]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static + [Slot(776)] + 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 - { - InteropHelper.Call((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(), EntryPoints[776]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static + [Slot(776)] + 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 - { - InteropHelper.Call((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(), EntryPoints[776]); - 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 + [Slot(777)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[777]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] - public static + [Slot(777)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[777]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] - public static + [Slot(777)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[777]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] - public static + [Slot(778)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[778]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] - public static + [Slot(778)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[778]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] - public static + [Slot(778)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[778]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] - public static + [Slot(779)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[779]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] - public static + [Slot(779)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[779]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] - public static + [Slot(779)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[779]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] - public static + [Slot(780)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[780]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] - public static + [Slot(780)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[780]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] - public static + [Slot(780)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[780]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] - public static + [Slot(781)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[781]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] - public static + [Slot(781)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[781]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] - public static + [Slot(781)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[781]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] - public static + [Slot(782)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[782]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] - public static + [Slot(782)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[782]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] - public static + [Slot(782)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[782]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static + [Slot(783)] + public static extern 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) - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[783]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static + [Slot(783)] + public static extern 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) - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[783]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static + [Slot(783)] + public static extern unsafe void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params, EntryPoints[783]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static + [Slot(783)] + public static extern 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) - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[783]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static + [Slot(783)] + public static extern 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) - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[783]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static + [Slot(783)] + public static extern unsafe void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params, EntryPoints[783]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static + [Slot(785)] + public static extern void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params, EntryPoints[785]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static + [Slot(785)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[785]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static + [Slot(785)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[785]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static + [Slot(785)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[785]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static + [Slot(785)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[785]); - @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 + [Slot(785)] + public static extern void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params, EntryPoints[785]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static + [Slot(785)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[785]); - } - 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 + [Slot(785)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[785]); - } - 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 + [Slot(785)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[785]); - } - 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 + [Slot(785)] + 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 - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[785]); - @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 + [Slot(786)] + public static extern void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[786]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static + [Slot(786)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[786]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static + [Slot(786)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[786]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static + [Slot(786)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[786]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static + [Slot(786)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[786]); - 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 + [Slot(786)] + public static extern void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[786]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static + [Slot(786)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[786]); - } - 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 + [Slot(786)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[786]); - } - 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 + [Slot(786)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[786]); - } - 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 + [Slot(786)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[786]); - 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 + [Slot(787)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[787]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static + [Slot(787)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[787]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static + [Slot(787)] + public static extern 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 - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params, EntryPoints[787]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static + [Slot(787)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[787]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static + [Slot(787)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[787]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static + [Slot(787)] + public static extern 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 - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params, EntryPoints[787]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferParameterivEXT")] - public static + [Slot(788)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[788]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferParameterivEXT")] - public static + [Slot(788)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[788]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferParameterivEXT")] - public static + [Slot(788)] + public static extern unsafe void GetNamedFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params, EntryPoints[788]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferParameterivEXT")] - public static + [Slot(788)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[788]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferParameterivEXT")] - public static + [Slot(788)] + public static extern 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) - { - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr, EntryPoints[788]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferParameterivEXT")] - public static + [Slot(788)] + public static extern unsafe void GetNamedFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params, EntryPoints[788]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use ProgramProperty overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static + [Slot(789)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (IntPtr)@params_ptr, EntryPoints[789]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use ProgramProperty overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static + [Slot(789)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (IntPtr)@params, EntryPoints[789]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static + [Slot(789)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (IntPtr)@params_ptr, EntryPoints[789]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static + [Slot(789)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (IntPtr)@params, EntryPoints[789]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use ProgramProperty overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static + [Slot(789)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (IntPtr)@params_ptr, EntryPoints[789]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use ProgramProperty overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static + [Slot(789)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (IntPtr)@params, EntryPoints[789]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static + [Slot(789)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (IntPtr)@params_ptr, EntryPoints[789]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static + [Slot(789)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (IntPtr)@params, EntryPoints[789]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static + [Slot(790)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[790]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static + [Slot(790)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[790]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static + [Slot(790)] + public static extern unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[790]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static + [Slot(790)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[790]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static + [Slot(790)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[790]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static + [Slot(790)] + public static extern unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[790]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static + [Slot(791)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[791]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static + [Slot(791)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[791]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static + [Slot(791)] + public static extern unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[791]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static + [Slot(791)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[791]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static + [Slot(791)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[791]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static + [Slot(791)] + public static extern unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[791]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static + [Slot(792)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[792]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static + [Slot(792)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[792]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static + [Slot(792)] + public static extern unsafe void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[792]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static + [Slot(792)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[792]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static + [Slot(792)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[792]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static + [Slot(792)] + public static extern unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[792]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] - public static + [Slot(793)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[793]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] - public static + [Slot(793)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[793]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] - public static + [Slot(793)] + public static extern unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[793]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static + [Slot(794)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string, EntryPoints[794]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static + [Slot(794)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[794]); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static + [Slot(794)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[794]); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static + [Slot(794)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[794]); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static + [Slot(794)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[794]); - @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 + [Slot(794)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string, EntryPoints[794]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static + [Slot(794)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[794]); - } - 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 + [Slot(794)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[794]); - } - 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 + [Slot(794)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[794]); - } - 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 + [Slot(794)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[794]); - @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 + [Slot(795)] + public static extern 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) - { - InteropHelper.Call((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[795]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static + [Slot(795)] + public static extern 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) - { - InteropHelper.Call((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[795]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static + [Slot(795)] + public static extern unsafe void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (IntPtr)@params, EntryPoints[795]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static + [Slot(795)] + public static extern 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) - { - InteropHelper.Call((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[795]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static + [Slot(795)] + public static extern 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) - { - InteropHelper.Call((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[795]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static + [Slot(795)] + public static extern unsafe void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (IntPtr)@params, EntryPoints[795]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -162014,24 +108809,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(819)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[819]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -162062,25 +108844,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(819)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[819]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -162112,18 +108880,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(819)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[819]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -162155,24 +108916,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(819)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[819]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -162204,25 +108952,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(819)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[819]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -162254,706 +108988,291 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static + [Slot(819)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[819]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_pixel_transform] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glGetPixelTransformParameterfvEXT")] - public static + [Slot(853)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (IntPtr)@params_ptr, EntryPoints[853]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_pixel_transform] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glGetPixelTransformParameterfvEXT")] - public static + [Slot(853)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (IntPtr)@params_ptr, EntryPoints[853]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_pixel_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glGetPixelTransformParameterfvEXT")] - public static + [Slot(853)] + public static extern unsafe void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (IntPtr)@params, EntryPoints[853]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_pixel_transform] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glGetPixelTransformParameterivEXT")] - public static + [Slot(854)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (IntPtr)@params_ptr, EntryPoints[854]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_pixel_transform] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glGetPixelTransformParameterivEXT")] - public static + [Slot(854)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (IntPtr)@params_ptr, EntryPoints[854]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_pixel_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glGetPixelTransformParameterivEXT")] - public static + [Slot(854)] + public static extern unsafe void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (IntPtr)@params, EntryPoints[854]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static + [Slot(855)] + public static extern void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params, EntryPoints[855]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static + [Slot(855)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[855]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static + [Slot(855)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[855]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static + [Slot(855)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[855]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static + [Slot(855)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[855]); - @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 + [Slot(855)] + public static extern void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params, EntryPoints[855]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static + [Slot(855)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[855]); - } - 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 + [Slot(855)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[855]); - } - 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 + [Slot(855)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[855]); - } - 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 + [Slot(855)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[855]); - @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 + [Slot(856)] + public static extern void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data, EntryPoints[856]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static + [Slot(856)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[856]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static + [Slot(856)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[856]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static + [Slot(856)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[856]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static + [Slot(856)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[856]); - 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 + [Slot(856)] + public static extern void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data, EntryPoints[856]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static + [Slot(856)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[856]); - } - 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 + [Slot(856)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[856]); - } - 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 + [Slot(856)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[856]); - } - 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 + [Slot(856)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[856]); - 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 + [Slot(858)] + public static extern void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params, EntryPoints[858]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glGetPointervEXT")] - public static + [Slot(858)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[858]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glGetPointervEXT")] - public static + [Slot(858)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[858]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glGetPointervEXT")] - public static + [Slot(858)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[858]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glGetPointervEXT")] - public static + [Slot(858)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[858]); - @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 @@ -162979,24 +109298,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(880)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[880]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -163022,25 +109328,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(880)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[880]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -163067,18 +109359,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(880)] + public static extern unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[880]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -163105,24 +109390,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(880)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[880]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -163149,25 +109421,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(880)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[880]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -163194,18 +109452,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static + [Slot(880)] + public static extern unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[880]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -163226,24 +109477,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(882)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (IntPtr)@params_ptr, EntryPoints[882]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -163264,25 +109502,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(882)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (IntPtr)@params_ptr, EntryPoints[882]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -163304,18 +109528,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(882)] + public static extern unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (IntPtr)@params, EntryPoints[882]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -163337,24 +109554,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(882)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (IntPtr)@params_ptr, EntryPoints[882]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -163376,25 +109580,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(882)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (IntPtr)@params_ptr, EntryPoints[882]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -163416,18 +109606,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static + [Slot(882)] + public static extern unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (IntPtr)@params, EntryPoints[882]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163448,24 +109631,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(896)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (IntPtr)@params_ptr, EntryPoints[896]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163486,25 +109656,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(896)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (IntPtr)@params_ptr, EntryPoints[896]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163526,18 +109682,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(896)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (IntPtr)@params, EntryPoints[896]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163559,24 +109708,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(896)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (IntPtr)@params_ptr, EntryPoints[896]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163598,25 +109734,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(896)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (IntPtr)@params_ptr, EntryPoints[896]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163638,18 +109760,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static + [Slot(896)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (IntPtr)@params, EntryPoints[896]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163671,24 +109786,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(900)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (IntPtr)@params_ptr, EntryPoints[900]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163710,25 +109812,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(900)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (IntPtr)@params_ptr, EntryPoints[900]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163750,18 +109838,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static + [Slot(900)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (IntPtr)@params, EntryPoints[900]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Retrieve information about a bound renderbuffer object @@ -163782,24 +109863,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivEXT")] - public static + [Slot(904)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[904]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Retrieve information about a bound renderbuffer object @@ -163820,25 +109888,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivEXT")] - public static + [Slot(904)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[904]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Retrieve information about a bound renderbuffer object @@ -163860,18 +109914,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivEXT")] - public static + [Slot(904)] + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (IntPtr)@params, EntryPoints[904]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get separable convolution filter kernel images @@ -163907,18 +109954,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] - public static + [Slot(910)] + 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, [OutAttribute] IntPtr span) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span, EntryPoints[910]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get separable convolution filter kernel images @@ -163954,33 +109994,14 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] - public static + [Slot(910)] + 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 - { - #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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject(), EntryPoints[910]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get separable convolution filter kernel images @@ -164016,33 +110037,14 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] - public static + [Slot(910)] + 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 - { - #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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject(), EntryPoints[910]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get separable convolution filter kernel images @@ -164078,33 +110080,14 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] - public static + [Slot(910)] + 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 - { - #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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject(), EntryPoints[910]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Get separable convolution filter kernel images @@ -164140,1046 +110123,446 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] - public static + [Slot(910)] + 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] 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject(), EntryPoints[910]); - 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 + [Slot(938)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[938]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_integer] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glGetTexParameterIivEXT")] - public static + [Slot(938)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[938]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glGetTexParameterIivEXT")] - public static + [Slot(938)] + public static extern unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[938]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glGetTexParameterIuivEXT")] - public static + [Slot(940)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[940]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glGetTexParameterIuivEXT")] - public static + [Slot(940)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[940]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glGetTexParameterIuivEXT")] - public static + [Slot(940)] + public static extern unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[940]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static + [Slot(946)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels, EntryPoints[946]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static + [Slot(946)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[946]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static + [Slot(946)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[946]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static + [Slot(946)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[946]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static + [Slot(946)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[946]); - 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 + [Slot(946)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels, EntryPoints[946]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static + [Slot(946)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[946]); - } - 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 + [Slot(946)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[946]); - } - 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 + [Slot(946)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[946]); - } - 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 + [Slot(946)] + 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 - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[946]); - 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 + [Slot(947)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[947]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static + [Slot(947)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[947]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static + [Slot(947)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[947]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static + [Slot(947)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[947]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static + [Slot(947)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[947]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static + [Slot(947)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[947]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static + [Slot(948)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[948]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static + [Slot(948)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[948]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static + [Slot(948)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[948]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static + [Slot(948)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[948]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static + [Slot(948)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[948]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static + [Slot(948)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[948]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static + [Slot(949)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[949]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static + [Slot(949)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[949]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static + [Slot(949)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[949]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static + [Slot(949)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[949]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static + [Slot(949)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[949]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static + [Slot(949)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[949]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static + [Slot(950)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[950]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static + [Slot(950)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[950]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static + [Slot(950)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[950]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static + [Slot(950)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[950]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static + [Slot(950)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[950]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static + [Slot(950)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[950]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] - public static + [Slot(951)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[951]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] - public static + [Slot(951)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[951]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] - public static + [Slot(951)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[951]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static + [Slot(952)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[952]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static + [Slot(952)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[952]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static + [Slot(952)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[952]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static + [Slot(952)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[952]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static + [Slot(952)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[952]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static + [Slot(952)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[952]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165220,29 +110603,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static + [Slot(957)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[957]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165283,29 +110648,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static + [Slot(957)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[957]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165347,18 +110694,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static + [Slot(957)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[957]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165400,18 +110740,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static + [Slot(957)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[957]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165453,29 +110786,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static + [Slot(957)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[957]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165517,29 +110832,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static + [Slot(957)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[957]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165581,18 +110878,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static + [Slot(957)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[957]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165634,80 +110924,45 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static + [Slot(957)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[957]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_bindable_uniform] [AutoGenerated(Category = "EXT_bindable_uniform", Version = "", EntryPoint = "glGetUniformBufferSizeEXT")] - public static + [Slot(960)] + public static extern Int32 GetUniformBufferSize(Int32 program, Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (Int32)location, EntryPoints[960]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_bindable_uniform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_bindable_uniform", Version = "", EntryPoint = "glGetUniformBufferSizeEXT")] - public static + [Slot(960)] + public static extern Int32 GetUniformBufferSize(UInt32 program, Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (Int32)location, EntryPoints[960]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_bindable_uniform] [AutoGenerated(Category = "EXT_bindable_uniform", Version = "", EntryPoint = "glGetUniformOffsetEXT")] - public static + [Slot(970)] + public static extern IntPtr GetUniformOffset(Int32 program, Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (Int32)location, EntryPoints[970]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_bindable_uniform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_bindable_uniform", Version = "", EntryPoint = "glGetUniformOffsetEXT")] - public static + [Slot(970)] + public static extern IntPtr GetUniformOffset(UInt32 program, Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (Int32)location, EntryPoints[970]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Returns the value of a uniform variable @@ -165728,24 +110983,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetUniformuivEXT")] - public static + [Slot(974)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[974]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Returns the value of a uniform variable @@ -165766,25 +111008,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetUniformuivEXT")] - public static + [Slot(974)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[974]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Returns the value of a uniform variable @@ -165806,18 +111034,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetUniformuivEXT")] - public static + [Slot(974)] + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[974]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Returns the value of a uniform variable @@ -165839,24 +111060,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetUniformuivEXT")] - public static + [Slot(974)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[974]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Returns the value of a uniform variable @@ -165878,25 +111086,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetUniformuivEXT")] - public static + [Slot(974)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[974]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Returns the value of a uniform variable @@ -165918,1541 +111112,655 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetUniformuivEXT")] - public static + [Slot(974)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[974]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantBooleanvEXT")] - public static + [Slot(977)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[977]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantBooleanvEXT")] - public static + [Slot(977)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[977]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantBooleanvEXT")] - public static + [Slot(977)] + public static extern unsafe void GetVariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[977]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantBooleanvEXT")] - public static + [Slot(977)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[977]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantBooleanvEXT")] - public static + [Slot(977)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[977]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantBooleanvEXT")] - public static + [Slot(977)] + public static extern unsafe void GetVariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[977]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantFloatvEXT")] - public static + [Slot(978)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[978]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantFloatvEXT")] - public static + [Slot(978)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[978]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantFloatvEXT")] - public static + [Slot(978)] + public static extern unsafe void GetVariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[978]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantFloatvEXT")] - public static + [Slot(978)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[978]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantFloatvEXT")] - public static + [Slot(978)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[978]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantFloatvEXT")] - public static + [Slot(978)] + public static extern unsafe void GetVariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[978]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantIntegervEXT")] - public static + [Slot(979)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[979]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantIntegervEXT")] - public static + [Slot(979)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[979]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantIntegervEXT")] - public static + [Slot(979)] + public static extern unsafe void GetVariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[979]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantIntegervEXT")] - public static + [Slot(979)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[979]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantIntegervEXT")] - public static + [Slot(979)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr, EntryPoints[979]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantIntegervEXT")] - public static + [Slot(979)] + public static extern unsafe void GetVariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[979]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static + [Slot(980)] + public static extern void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[980]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static + [Slot(980)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[980]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static + [Slot(980)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[980]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static + [Slot(980)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[980]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static + [Slot(980)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[980]); - 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 + [Slot(980)] + public static extern void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data, EntryPoints[980]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static + [Slot(980)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[980]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static + [Slot(980)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[980]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static + [Slot(980)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[980]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static + [Slot(980)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[980]); - 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 + [Slot(982)] + public static extern 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) - { - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr, EntryPoints[982]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegeri_vEXT")] - public static + [Slot(982)] + public static extern 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) - { - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr, EntryPoints[982]); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegeri_vEXT")] - public static + [Slot(982)] + public static extern unsafe void GetVertexArrayInteger(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param, EntryPoints[982]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegeri_vEXT")] - public static + [Slot(982)] + public static extern 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) - { - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr, EntryPoints[982]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegeri_vEXT")] - public static + [Slot(982)] + public static extern 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) - { - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr, EntryPoints[982]); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegeri_vEXT")] - public static + [Slot(982)] + public static extern unsafe void GetVertexArrayInteger(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param, EntryPoints[982]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegervEXT")] - public static + [Slot(983)] + public static extern 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) - { - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr, EntryPoints[983]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegervEXT")] - public static + [Slot(983)] + public static extern 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) - { - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr, EntryPoints[983]); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegervEXT")] - public static + [Slot(983)] + public static extern unsafe void GetVertexArrayInteger(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param, EntryPoints[983]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegervEXT")] - public static + [Slot(983)] + public static extern 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) - { - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr, EntryPoints[983]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegervEXT")] - public static + [Slot(983)] + public static extern 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) - { - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr, EntryPoints[983]); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegervEXT")] - public static + [Slot(983)] + public static extern unsafe void GetVertexArrayInteger(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param, EntryPoints[983]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static + [Slot(984)] + public static extern void GetVertexArrayPointer(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param, EntryPoints[984]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static + [Slot(984)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[984]); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static + [Slot(984)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[984]); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static + [Slot(984)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[984]); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static + [Slot(984)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[984]); - 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 + [Slot(984)] + public static extern void GetVertexArrayPointer(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param, EntryPoints[984]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static + [Slot(984)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[984]); - } - 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 + [Slot(984)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[984]); - } - 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 + [Slot(984)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[984]); - } - 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 + [Slot(984)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[984]); - 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 + [Slot(985)] + public static extern void GetVertexArrayPointer(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param, EntryPoints[985]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static + [Slot(985)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[985]); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static + [Slot(985)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[985]); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static + [Slot(985)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[985]); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static + [Slot(985)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[985]); - 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 + [Slot(985)] + public static extern void GetVertexArrayPointer(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param, EntryPoints[985]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static + [Slot(985)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[985]); - } - 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 + [Slot(985)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[985]); - } - 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 + [Slot(985)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[985]); - } - 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 + [Slot(985)] + 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 - { - InteropHelper.Call((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject(), EntryPoints[985]); - 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 + [Slot(995)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (IntPtr)@params_ptr, EntryPoints[995]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] - public static + [Slot(995)] + public static extern unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (IntPtr)@params, EntryPoints[995]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] - public static + [Slot(995)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (IntPtr)@params_ptr, EntryPoints[995]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] - public static + [Slot(995)] + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (IntPtr)@params, EntryPoints[995]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIuivEXT")] - public static + [Slot(997)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (IntPtr)@params_ptr, EntryPoints[997]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIuivEXT")] - public static + [Slot(997)] + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (IntPtr)@params, EntryPoints[997]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glGetVertexAttribLdvEXT")] - public static + [Slot(1002)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (IntPtr)@params_ptr, EntryPoints[1002]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glGetVertexAttribLdvEXT")] - public static + [Slot(1002)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (IntPtr)@params_ptr, EntryPoints[1002]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glGetVertexAttribLdvEXT")] - public static + [Slot(1002)] + public static extern unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (IntPtr)@params, EntryPoints[1002]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glGetVertexAttribLdvEXT")] - public static + [Slot(1002)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (IntPtr)@params_ptr, EntryPoints[1002]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glGetVertexAttribLdvEXT")] - public static + [Slot(1002)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (IntPtr)@params_ptr, EntryPoints[1002]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glGetVertexAttribLdvEXT")] - public static + [Slot(1002)] + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (IntPtr)@params, EntryPoints[1002]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Define histogram table @@ -167478,79 +111786,44 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glHistogramEXT")] - public static + [Slot(1028)] + public static extern void Histogram(OpenTK.Graphics.OpenGL.ExtHistogram target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink, EntryPoints[1028]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_x11_sync_object] [AutoGenerated(Category = "EXT_x11_sync_object", Version = "", EntryPoint = "glImportSyncEXT")] - public static + [Slot(1034)] + public static extern IntPtr ImportSync(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.ExtX11SyncObject)external_sync_type, (IntPtr)external_sync, (UInt32)flags, EntryPoints[1034]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_x11_sync_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_x11_sync_object", Version = "", EntryPoint = "glImportSyncEXT")] - public static + [Slot(1034)] + public static extern IntPtr ImportSync(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.ExtX11SyncObject)external_sync_type, (IntPtr)external_sync, (UInt32)flags, EntryPoints[1034]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_index_func] [AutoGenerated(Category = "EXT_index_func", Version = "", EntryPoint = "glIndexFuncEXT")] - public static + [Slot(1039)] + public static extern void IndexFunc(OpenTK.Graphics.OpenGL.ExtIndexFunc func, Single @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtIndexFunc)func, (Single)@ref, EntryPoints[1039]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_index_material] [AutoGenerated(Category = "EXT_index_material", Version = "", EntryPoint = "glIndexMaterialEXT")] - public static + [Slot(1044)] + public static extern void IndexMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ExtIndexMaterial mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.ExtIndexMaterial)mode, EntryPoints[1044]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of color indexes @@ -167571,18 +111844,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glIndexPointerEXT")] - public static + [Slot(1046)] + public static extern void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer, EntryPoints[1046]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of color indexes @@ -167603,27 +111869,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glIndexPointerEXT")] - public static + [Slot(1046)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1046]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of color indexes @@ -167644,27 +111895,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glIndexPointerEXT")] - public static + [Slot(1046)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1046]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of color indexes @@ -167685,27 +111921,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glIndexPointerEXT")] - public static + [Slot(1046)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1046]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of color indexes @@ -167726,138 +111947,73 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glIndexPointerEXT")] - public static + [Slot(1046)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1046]); - 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 + [Slot(1055)] + public static extern void InsertComponent(Int32 res, Int32 src, Int32 num) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)res, (UInt32)src, (UInt32)num, EntryPoints[1055]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glInsertComponentEXT")] - public static + [Slot(1055)] + public static extern void InsertComponent(UInt32 res, UInt32 src, UInt32 num) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)res, (UInt32)src, (UInt32)num, EntryPoints[1055]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glInsertEventMarkerEXT")] - public static + [Slot(1056)] + public static extern void InsertEventMarker(Int32 length, String marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)length, (String)marker, EntryPoints[1056]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1072)] + public static extern bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[1072]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1072)] + public static extern bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[1072]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glIsEnabledIndexedEXT")] - public static + [Slot(1072)] + public static extern bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[1072]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1072)] + public static extern bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index, EntryPoints[1072]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Determine if a name corresponds to a framebuffer object @@ -167868,18 +112024,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glIsFramebufferEXT")] - public static + [Slot(1076)] + public static extern bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, EntryPoints[1076]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Determine if a name corresponds to a framebuffer object @@ -167891,18 +112040,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glIsFramebufferEXT")] - public static + [Slot(1076)] + public static extern bool IsFramebuffer(UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, EntryPoints[1076]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Determine if a name corresponds to a program pipeline object @@ -167913,18 +112055,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glIsProgramPipelineEXT")] - public static + [Slot(1092)] + public static extern bool IsProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)pipeline, EntryPoints[1092]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Determine if a name corresponds to a program pipeline object @@ -167936,18 +112071,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glIsProgramPipelineEXT")] - public static + [Slot(1092)] + public static extern bool IsProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)pipeline, EntryPoints[1092]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Determine if a name corresponds to a renderbuffer object @@ -167958,18 +112086,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glIsRenderbufferEXT")] - public static + [Slot(1096)] + public static extern bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)renderbuffer, EntryPoints[1096]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Determine if a name corresponds to a renderbuffer object @@ -167981,18 +112102,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glIsRenderbufferEXT")] - public static + [Slot(1096)] + public static extern bool IsRenderbuffer(UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)renderbuffer, EntryPoints[1096]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Determine if a name corresponds to a texture @@ -168003,18 +112117,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glIsTextureEXT")] - public static + [Slot(1101)] + public static extern bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[1101]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Determine if a name corresponds to a texture @@ -168026,786 +112133,375 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glIsTextureEXT")] - public static + [Slot(1101)] + public static extern bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[1101]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glIsVariantEnabledEXT")] - public static + [Slot(1106)] + public static extern bool IsVariantEnabled(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)cap, EntryPoints[1106]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glIsVariantEnabledEXT")] - public static + [Slot(1106)] + public static extern bool IsVariantEnabled(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)cap, EntryPoints[1106]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glLabelObjectEXT")] - public static + [Slot(1110)] + public static extern void LabelObject(OpenTK.Graphics.OpenGL.ExtDebugLabel type, Int32 @object, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)length, (String)label, EntryPoints[1110]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_label] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glLabelObjectEXT")] - public static + [Slot(1110)] + public static extern void LabelObject(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)length, (String)label, EntryPoints[1110]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_compiled_vertex_array] [AutoGenerated(Category = "EXT_compiled_vertex_array", Version = "", EntryPoint = "glLockArraysEXT")] - public static + [Slot(1146)] + public static extern void LockArrays(Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)first, (Int32)count, EntryPoints[1146]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMapNamedBufferEXT")] - public static + [Slot(1176)] + public static extern IntPtr MapNamedBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)access, EntryPoints[1176]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMapNamedBufferEXT")] - public static + [Slot(1176)] + public static extern IntPtr MapNamedBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)access, EntryPoints[1176]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMapNamedBufferRangeEXT")] - public static + [Slot(1177)] + public static extern IntPtr MapNamedBufferRange(Int32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL.BufferAccessMask)access, EntryPoints[1177]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMapNamedBufferRangeEXT")] - public static + [Slot(1177)] + public static extern IntPtr MapNamedBufferRange(UInt32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL.BufferAccessMask)access, EntryPoints[1177]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixFrustumEXT")] - public static + [Slot(1192)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar, EntryPoints[1192]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoaddEXT")] - public static + [Slot(1197)] + public static extern void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1197]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoaddEXT")] - public static + [Slot(1197)] + public static extern void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1197]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoaddEXT")] - public static + [Slot(1197)] + public static extern unsafe void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m, EntryPoints[1197]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadfEXT")] - public static + [Slot(1198)] + public static extern void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1198]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadfEXT")] - public static + [Slot(1198)] + public static extern void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1198]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadfEXT")] - public static + [Slot(1198)] + public static extern unsafe void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m, EntryPoints[1198]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadIdentityEXT")] - public static + [Slot(1199)] + public static extern void MatrixLoadIdentity(OpenTK.Graphics.OpenGL.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, EntryPoints[1199]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] - public static + [Slot(1200)] + public static extern void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1200]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] - public static + [Slot(1200)] + public static extern void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1200]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] - public static + [Slot(1200)] + public static extern unsafe void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m, EntryPoints[1200]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] - public static + [Slot(1201)] + public static extern void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1201]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] - public static + [Slot(1201)] + public static extern void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1201]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] - public static + [Slot(1201)] + public static extern unsafe void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m, EntryPoints[1201]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultdEXT")] - public static + [Slot(1203)] + public static extern void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1203]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultdEXT")] - public static + [Slot(1203)] + public static extern void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1203]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultdEXT")] - public static + [Slot(1203)] + public static extern unsafe void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m, EntryPoints[1203]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultfEXT")] - public static + [Slot(1204)] + public static extern void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1204]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultfEXT")] - public static + [Slot(1204)] + public static extern void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1204]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultfEXT")] - public static + [Slot(1204)] + public static extern unsafe void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m, EntryPoints[1204]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] - public static + [Slot(1205)] + public static extern void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1205]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] - public static + [Slot(1205)] + public static extern void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1205]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] - public static + [Slot(1205)] + public static extern unsafe void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m, EntryPoints[1205]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] - public static + [Slot(1206)] + public static extern void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1206]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] - public static + [Slot(1206)] + public static extern void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m_ptr, EntryPoints[1206]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] - public static + [Slot(1206)] + public static extern unsafe void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (IntPtr)m, EntryPoints[1206]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixOrthoEXT")] - public static + [Slot(1207)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar, EntryPoints[1207]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixPopEXT")] - public static + [Slot(1208)] + public static extern void MatrixPop(OpenTK.Graphics.OpenGL.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, EntryPoints[1208]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixPushEXT")] - public static + [Slot(1209)] + public static extern void MatrixPush(OpenTK.Graphics.OpenGL.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, EntryPoints[1209]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixRotatedEXT")] - public static + [Slot(1210)] + public static extern void MatrixRotate(OpenTK.Graphics.OpenGL.MatrixMode mode, Double angle, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)angle, (Double)x, (Double)y, (Double)z, EntryPoints[1210]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixRotatefEXT")] - public static + [Slot(1211)] + public static extern void MatrixRotate(OpenTK.Graphics.OpenGL.MatrixMode mode, Single angle, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)angle, (Single)x, (Single)y, (Single)z, EntryPoints[1211]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixScaledEXT")] - public static + [Slot(1212)] + public static extern void MatrixScale(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)x, (Double)y, (Double)z, EntryPoints[1212]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixScalefEXT")] - public static + [Slot(1213)] + public static extern void MatrixScale(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)x, (Single)y, (Single)z, EntryPoints[1213]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixTranslatedEXT")] - public static + [Slot(1214)] + public static extern void MatrixTranslate(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)x, (Double)y, (Double)z, EntryPoints[1214]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixTranslatefEXT")] - public static + [Slot(1215)] + public static extern void MatrixTranslate(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)x, (Single)y, (Single)z, EntryPoints[1215]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_shader_image_load_store] /// Defines a barrier ordering memory transactions @@ -168816,18 +112512,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_shader_image_load_store", Version = "", EntryPoint = "glMemoryBarrierEXT")] - public static + [Slot(1217)] + public static extern void MemoryBarrier(Int32 barriers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)barriers, EntryPoints[1217]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_shader_image_load_store] /// Defines a barrier ordering memory transactions @@ -168839,18 +112528,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_shader_image_load_store", Version = "", EntryPoint = "glMemoryBarrierEXT")] - public static + [Slot(1217)] + public static extern void MemoryBarrier(UInt32 barriers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)barriers, EntryPoints[1217]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Define minmax table @@ -168871,18 +112553,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glMinmaxEXT")] - public static + [Slot(1219)] + public static extern void Minmax(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink, EntryPoints[1219]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -168909,25 +112584,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(1223)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1223]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -168954,25 +112615,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(1223)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1223]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -169000,18 +112647,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(1223)] + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[1223]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -169037,25 +112677,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(1223)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1223]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -169081,25 +112707,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(1223)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, EntryPoints[1223]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -169126,18 +112738,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static + [Slot(1223)] + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)first, (IntPtr)count, (Int32)primcount, EntryPoints[1223]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169169,24 +112774,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[1231]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169218,33 +112810,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169276,33 +112847,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169334,33 +112884,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169392,34 +112921,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - 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 @@ -169451,24 +112958,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[1231]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169500,33 +112994,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169558,33 +113031,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169616,33 +113068,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169674,34 +113105,12 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - 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 @@ -169734,18 +113143,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[1231]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169778,27 +113180,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169831,27 +113218,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169884,27 +113256,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169937,28 +113294,12 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - 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 @@ -169989,24 +113330,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[1231]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170037,33 +113365,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170094,33 +113401,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170151,33 +113437,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170208,34 +113473,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - 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 @@ -170266,24 +113509,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[1231]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170314,33 +113544,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170371,33 +113580,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170428,33 +113616,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170485,34 +113652,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - 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 @@ -170544,18 +113689,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, EntryPoints[1231]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170587,27 +113725,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170639,27 +113762,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170691,27 +113799,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170743,3835 +113836,1686 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static + [Slot(1231)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, EntryPoints[1231]); - 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 + [Slot(1239)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer, EntryPoints[1239]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexBufferEXT")] - public static + [Slot(1239)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer, EntryPoints[1239]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static + [Slot(1336)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[1336]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static + [Slot(1336)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1336]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static + [Slot(1336)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1336]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static + [Slot(1336)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1336]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static + [Slot(1336)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1336]); - 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 + [Slot(1337)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single)param, EntryPoints[1337]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvfvEXT")] - public static + [Slot(1338)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[1338]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvfvEXT")] - public static + [Slot(1338)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[1338]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnviEXT")] - public static + [Slot(1339)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32)param, EntryPoints[1339]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvivEXT")] - public static + [Slot(1340)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params_ptr, EntryPoints[1340]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvivEXT")] - public static + [Slot(1340)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (IntPtr)@params, EntryPoints[1340]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGendEXT")] - public static + [Slot(1341)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double)param, EntryPoints[1341]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGendvEXT")] - public static + [Slot(1342)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[1342]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGendvEXT")] - public static + [Slot(1342)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[1342]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGendvEXT")] - public static + [Slot(1342)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params, EntryPoints[1342]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenfEXT")] - public static + [Slot(1343)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single)param, EntryPoints[1343]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenfvEXT")] - public static + [Slot(1344)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[1344]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenfvEXT")] - public static + [Slot(1344)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params, EntryPoints[1344]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGeniEXT")] - public static + [Slot(1345)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32)param, EntryPoints[1345]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenivEXT")] - public static + [Slot(1346)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params_ptr, EntryPoints[1346]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenivEXT")] - public static + [Slot(1346)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (IntPtr)@params, EntryPoints[1346]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static + [Slot(1347)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1347]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static + [Slot(1347)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1347]); - } - 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 + [Slot(1347)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1347]); - } - 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 + [Slot(1347)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1347]); - } - 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 + [Slot(1347)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1347]); - 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 + [Slot(1347)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1347]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static + [Slot(1347)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1347]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static + [Slot(1347)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1347]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static + [Slot(1347)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1347]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static + [Slot(1347)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1347]); - 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 + [Slot(1348)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1348]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static + [Slot(1348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1348]); - } - 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 + [Slot(1348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1348]); - } - 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 + [Slot(1348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1348]); - } - 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 + [Slot(1348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1348]); - 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 + [Slot(1348)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1348]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static + [Slot(1348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1348]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static + [Slot(1348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1348]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static + [Slot(1348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1348]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static + [Slot(1348)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1348]); - 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 + [Slot(1349)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1349]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static + [Slot(1349)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1349]); - } - 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 + [Slot(1349)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1349]); - } - 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 + [Slot(1349)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1349]); - } - 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 + [Slot(1349)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1349]); - 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 + [Slot(1349)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1349]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static + [Slot(1349)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1349]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static + [Slot(1349)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1349]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static + [Slot(1349)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1349]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static + [Slot(1349)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1349]); - 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 + [Slot(1350)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param, EntryPoints[1350]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] - public static + [Slot(1351)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[1351]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] - public static + [Slot(1351)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[1351]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameteriEXT")] - public static + [Slot(1352)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param, EntryPoints[1352]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] - public static + [Slot(1353)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[1353]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] - public static + [Slot(1353)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[1353]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] - public static + [Slot(1353)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[1353]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] - public static + [Slot(1354)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[1354]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] - public static + [Slot(1354)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[1354]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] - public static + [Slot(1354)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[1354]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterivEXT")] - public static + [Slot(1355)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[1355]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterivEXT")] - public static + [Slot(1355)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[1355]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexRenderbufferEXT")] - public static + [Slot(1356)] + public static extern void MultiTexRenderbuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer, EntryPoints[1356]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexRenderbufferEXT")] - public static + [Slot(1356)] + public static extern void MultiTexRenderbuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer, EntryPoints[1356]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static + [Slot(1357)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1357]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static + [Slot(1357)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1357]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static + [Slot(1357)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1357]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static + [Slot(1357)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1357]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static + [Slot(1357)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1357]); - 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 + [Slot(1358)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1358]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static + [Slot(1358)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1358]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static + [Slot(1358)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1358]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static + [Slot(1358)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1358]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static + [Slot(1358)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1358]); - 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 + [Slot(1359)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1359]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static + [Slot(1359)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1359]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static + [Slot(1359)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1359]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static + [Slot(1359)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1359]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static + [Slot(1359)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1359]); - 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 + [Slot(1368)] + public static extern void NamedBufferData(Int32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage, EntryPoints[1368]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static + [Slot(1368)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage, EntryPoints[1368]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static + [Slot(1368)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage, EntryPoints[1368]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static + [Slot(1368)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage, EntryPoints[1368]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static + [Slot(1368)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage, EntryPoints[1368]); - 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 + [Slot(1368)] + public static extern void NamedBufferData(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage, EntryPoints[1368]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static + [Slot(1368)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage, EntryPoints[1368]); - } - 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 + [Slot(1368)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage, EntryPoints[1368]); - } - 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 + [Slot(1368)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage, EntryPoints[1368]); - } - 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 + [Slot(1368)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage, EntryPoints[1368]); - 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 + [Slot(1369)] + public static extern void NamedBufferStorage(Int32 buffer, IntPtr size, IntPtr data, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data, (UInt32)flags, EntryPoints[1369]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static + [Slot(1369)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags, EntryPoints[1369]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static + [Slot(1369)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags, EntryPoints[1369]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static + [Slot(1369)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags, EntryPoints[1369]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static + [Slot(1369)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags, EntryPoints[1369]); - 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 + [Slot(1369)] + public static extern void NamedBufferStorage(UInt32 buffer, IntPtr size, IntPtr data, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data, (UInt32)flags, EntryPoints[1369]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static + [Slot(1369)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags, EntryPoints[1369]); - } - 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 + [Slot(1369)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags, EntryPoints[1369]); - } - 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 + [Slot(1369)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags, EntryPoints[1369]); - } - 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 + [Slot(1369)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags, EntryPoints[1369]); - 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 + [Slot(1370)] + public static extern void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[1370]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static + [Slot(1370)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[1370]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static + [Slot(1370)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[1370]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static + [Slot(1370)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[1370]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static + [Slot(1370)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[1370]); - 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 + [Slot(1370)] + public static extern void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[1370]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static + [Slot(1370)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[1370]); - } - 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 + [Slot(1370)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[1370]); - } - 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 + [Slot(1370)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[1370]); - } - 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 + [Slot(1370)] + 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 - { - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[1370]); - 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 + [Slot(1371)] + public static extern void NamedCopyBufferSubData(Int32 readBuffer, Int32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)readBuffer, (UInt32)writeBuffer, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size, EntryPoints[1371]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedCopyBufferSubDataEXT")] - public static + [Slot(1371)] + public static extern void NamedCopyBufferSubData(UInt32 readBuffer, UInt32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)readBuffer, (UInt32)writeBuffer, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size, EntryPoints[1371]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferParameteriEXT")] - public static + [Slot(1372)] + public static extern void NamedFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32)param, EntryPoints[1372]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferParameteriEXT")] - public static + [Slot(1372)] + public static extern void NamedFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32)param, EntryPoints[1372]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] - public static + [Slot(1373)] + public static extern void NamedFramebufferRenderbuffer(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[1373]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] - public static + [Slot(1373)] + public static extern void NamedFramebufferRenderbuffer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[1373]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] - public static + [Slot(1374)] + public static extern 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 - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[1374]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] - public static + [Slot(1374)] + public static extern 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 - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[1374]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture2DEXT")] - public static + [Slot(1375)] + public static extern 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 - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[1375]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture2DEXT")] - public static + [Slot(1375)] + public static extern 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 - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[1375]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] - public static + [Slot(1376)] + public static extern 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 - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset, EntryPoints[1376]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] - public static + [Slot(1376)] + public static extern 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 - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset, EntryPoints[1376]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureEXT")] - public static + [Slot(1377)] + public static extern void NamedFramebufferTexture(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, EntryPoints[1377]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureEXT")] - public static + [Slot(1377)] + public static extern void NamedFramebufferTexture(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, EntryPoints[1377]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureFaceEXT")] - public static + [Slot(1378)] + public static extern 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 - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face, EntryPoints[1378]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureFaceEXT")] - public static + [Slot(1378)] + public static extern 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 - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face, EntryPoints[1378]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] - public static + [Slot(1379)] + public static extern void NamedFramebufferTextureLayer(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[1379]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] - public static + [Slot(1379)] + public static extern void NamedFramebufferTextureLayer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[1379]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] - public static + [Slot(1380)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1380]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] - public static + [Slot(1380)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1380]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static + [Slot(1381)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1381]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static + [Slot(1381)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1381]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static + [Slot(1381)] + public static extern unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[1381]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static + [Slot(1381)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1381]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static + [Slot(1381)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1381]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static + [Slot(1381)] + public static extern unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[1381]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] - public static + [Slot(1382)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1382]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] - public static + [Slot(1382)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1382]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static + [Slot(1383)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static + [Slot(1383)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static + [Slot(1383)] + public static extern unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[1383]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static + [Slot(1383)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static + [Slot(1383)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1383]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static + [Slot(1383)] + public static extern unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[1383]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] - public static + [Slot(1384)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[1384]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] - public static + [Slot(1384)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[1384]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static + [Slot(1385)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1385]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static + [Slot(1385)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1385]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static + [Slot(1385)] + public static extern unsafe void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[1385]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static + [Slot(1385)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1385]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static + [Slot(1385)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1385]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static + [Slot(1385)] + public static extern unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[1385]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uiEXT")] - public static + [Slot(1386)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w, EntryPoints[1386]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] - public static + [Slot(1387)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1387]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] - public static + [Slot(1387)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1387]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] - public static + [Slot(1387)] + public static extern unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)@params, EntryPoints[1387]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static + [Slot(1388)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1388]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static + [Slot(1388)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1388]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static + [Slot(1388)] + public static extern unsafe void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1388]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static + [Slot(1388)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1388]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static + [Slot(1388)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1388]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static + [Slot(1388)] + public static extern unsafe void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1388]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static + [Slot(1389)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1389]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static + [Slot(1389)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1389]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static + [Slot(1389)] + public static extern unsafe void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1389]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static + [Slot(1389)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1389]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static + [Slot(1389)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1389]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static + [Slot(1389)] + public static extern unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1389]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] - public static + [Slot(1390)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1390]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] - public static + [Slot(1390)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1390]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] - public static + [Slot(1390)] + public static extern unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1390]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static + [Slot(1391)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string, EntryPoints[1391]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static + [Slot(1391)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1391]); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static + [Slot(1391)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1391]); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static + [Slot(1391)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1391]); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static + [Slot(1391)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1391]); - @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 + [Slot(1391)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string, EntryPoints[1391]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static + [Slot(1391)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1391]); - } - 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 + [Slot(1391)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1391]); - } - 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 + [Slot(1391)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1391]); - } - 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 + [Slot(1391)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1391]); - @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 + [Slot(1392)] + public static extern void NamedRenderbufferStorage(Int32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[1392]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] - public static + [Slot(1392)] + public static extern void NamedRenderbufferStorage(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[1392]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT")] - public static + [Slot(1393)] + public static extern 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 - InteropHelper.Call((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[1393]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT")] - public static + [Slot(1393)] + public static extern 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 - InteropHelper.Call((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[1393]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] - public static + [Slot(1394)] + public static extern void NamedRenderbufferStorageMultisample(Int32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[1394]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] - public static + [Slot(1394)] + public static extern void NamedRenderbufferStorageMultisample(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[1394]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of normals @@ -174592,18 +115536,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glNormalPointerEXT")] - public static + [Slot(1418)] + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer, EntryPoints[1418]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of normals @@ -174624,27 +115561,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glNormalPointerEXT")] - public static + [Slot(1418)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1418]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of normals @@ -174665,27 +115587,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glNormalPointerEXT")] - public static + [Slot(1418)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1418]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of normals @@ -174706,27 +115613,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glNormalPointerEXT")] - public static + [Slot(1418)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1418]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of normals @@ -174747,90 +115639,46 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glNormalPointerEXT")] - public static + [Slot(1418)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1418]); - 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 + [Slot(1481)] + public static extern void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single)param, EntryPoints[1481]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_pixel_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glPixelTransformParameterfvEXT")] - public static + [Slot(1482)] + public static extern unsafe void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (IntPtr)@params, EntryPoints[1482]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_pixel_transform] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glPixelTransformParameteriEXT")] - public static + [Slot(1483)] + public static extern void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32)param, EntryPoints[1483]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_pixel_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glPixelTransformParameterivEXT")] - public static + [Slot(1484)] + public static extern unsafe void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (IntPtr)@params, EntryPoints[1484]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_point_parameters] /// Specify point parameters @@ -174851,18 +115699,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_point_parameters", Version = "", EntryPoint = "glPointParameterfEXT")] - public static + [Slot(1492)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtPointParameters)pname, (Single)param, EntryPoints[1492]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_point_parameters] /// Specify point parameters @@ -174883,24 +115724,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_point_parameters", Version = "", EntryPoint = "glPointParameterfvEXT")] - public static + [Slot(1496)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtPointParameters)pname, (IntPtr)@params_ptr, EntryPoints[1496]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_point_parameters] /// Specify point parameters @@ -174922,18 +115750,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_point_parameters", Version = "", EntryPoint = "glPointParameterfvEXT")] - public static + [Slot(1496)] + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtPointParameters)pname, (IntPtr)@params, EntryPoints[1496]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_polygon_offset] /// Set the scale and units used to calculate depth values @@ -174949,33 +115770,19 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_polygon_offset", Version = "", EntryPoint = "glPolygonOffsetEXT")] - public static + [Slot(1510)] + public static extern void PolygonOffset(Single factor, Single bias) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)factor, (Single)bias, EntryPoints[1510]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glPopGroupMarkerEXT")] - public static + [Slot(1517)] + public static extern void PopGroupMarker() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1517]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Set texture residence priority @@ -174996,25 +115803,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glPrioritizeTexturesEXT")] - public static + [Slot(1526)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[1526]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Set texture residence priority @@ -175035,25 +115828,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glPrioritizeTexturesEXT")] - public static + [Slot(1526)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[1526]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Set texture residence priority @@ -175075,18 +115854,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glPrioritizeTexturesEXT")] - public static + [Slot(1526)] + public static extern unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, (IntPtr)priorities, EntryPoints[1526]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Set texture residence priority @@ -175108,25 +115880,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glPrioritizeTexturesEXT")] - public static + [Slot(1526)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[1526]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Set texture residence priority @@ -175148,25 +115906,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glPrioritizeTexturesEXT")] - public static + [Slot(1526)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[1526]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_object] /// Set texture residence priority @@ -175188,254 +115932,115 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glPrioritizeTexturesEXT")] - public static + [Slot(1526)] + public static extern unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, (IntPtr)priorities, EntryPoints[1526]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_program_parameters] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static + [Slot(1540)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1540]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_program_parameters] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static + [Slot(1540)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1540]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static + [Slot(1540)] + public static extern unsafe void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1540]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static + [Slot(1540)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1540]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static + [Slot(1540)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1540]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static + [Slot(1540)] + public static extern unsafe void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1540]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_program_parameters] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static + [Slot(1551)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1551]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_program_parameters] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static + [Slot(1551)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1551]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static + [Slot(1551)] + public static extern unsafe void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1551]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static + [Slot(1551)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1551]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static + [Slot(1551)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1551]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static + [Slot(1551)] + public static extern unsafe void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1551]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_geometry_shader4|EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -175456,18 +116061,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_geometry_shader4|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static + [Slot(1564)] + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value, EntryPoints[1564]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_geometry_shader4|EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -175489,18 +116087,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_geometry_shader4|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static + [Slot(1564)] + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value, EntryPoints[1564]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -175539,18 +116130,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dEXT")] - public static + [Slot(1570)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)x, EntryPoints[1570]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -175590,18 +116174,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dEXT")] - public static + [Slot(1570)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)x, EntryPoints[1570]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -175640,24 +116217,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dvEXT")] - public static + [Slot(1572)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1572]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -175696,24 +116260,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dvEXT")] - public static + [Slot(1572)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1572]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -175753,18 +116304,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dvEXT")] - public static + [Slot(1572)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1572]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -175804,24 +116348,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dvEXT")] - public static + [Slot(1572)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1572]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -175861,24 +116392,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dvEXT")] - public static + [Slot(1572)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1572]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -175918,18 +116436,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dvEXT")] - public static + [Slot(1572)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1572]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -175968,18 +116479,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static + [Slot(1574)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, EntryPoints[1574]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176019,18 +116523,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static + [Slot(1574)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, EntryPoints[1574]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176069,24 +116566,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(1576)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1576]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176125,24 +116609,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(1576)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1576]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176182,18 +116653,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(1576)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1576]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176233,24 +116697,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(1576)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1576]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176290,24 +116741,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(1576)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1576]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176347,18 +116785,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static + [Slot(1576)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1576]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176397,18 +116828,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static + [Slot(1580)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, EntryPoints[1580]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176448,18 +116872,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static + [Slot(1580)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, EntryPoints[1580]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176498,24 +116915,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(1582)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1582]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176554,24 +116958,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(1582)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1582]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176611,18 +117002,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(1582)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1582]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176662,24 +117046,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(1582)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1582]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176719,24 +117090,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(1582)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1582]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176776,18 +117134,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static + [Slot(1582)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1582]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176827,18 +117178,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uiEXT")] - public static + [Slot(1586)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, EntryPoints[1586]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176878,24 +117222,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static + [Slot(1588)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1588]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176935,24 +117266,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static + [Slot(1588)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1588]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176992,18 +117310,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static + [Slot(1588)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1588]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177042,18 +117353,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dEXT")] - public static + [Slot(1590)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)x, (Double)y, EntryPoints[1590]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177093,18 +117397,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dEXT")] - public static + [Slot(1590)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)x, (Double)y, EntryPoints[1590]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177143,24 +117440,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dvEXT")] - public static + [Slot(1592)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1592]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177199,24 +117483,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dvEXT")] - public static + [Slot(1592)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1592]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177256,18 +117527,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dvEXT")] - public static + [Slot(1592)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1592]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177307,24 +117571,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dvEXT")] - public static + [Slot(1592)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1592]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177364,24 +117615,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dvEXT")] - public static + [Slot(1592)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1592]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177421,18 +117659,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dvEXT")] - public static + [Slot(1592)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1592]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177471,18 +117702,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static + [Slot(1594)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, EntryPoints[1594]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177522,18 +117746,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static + [Slot(1594)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, EntryPoints[1594]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177572,24 +117789,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(1596)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1596]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177628,24 +117832,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(1596)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1596]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177685,18 +117876,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(1596)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1596]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177736,24 +117920,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(1596)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1596]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177793,24 +117964,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(1596)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1596]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177850,18 +118008,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static + [Slot(1596)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1596]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177900,18 +118051,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static + [Slot(1600)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, EntryPoints[1600]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177951,18 +118095,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static + [Slot(1600)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, EntryPoints[1600]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178001,24 +118138,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static + [Slot(1602)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1602]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178058,18 +118182,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static + [Slot(1602)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1602]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178109,24 +118226,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static + [Slot(1602)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1602]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178166,18 +118270,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static + [Slot(1602)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1602]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178217,18 +118314,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uiEXT")] - public static + [Slot(1606)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, EntryPoints[1606]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178268,24 +118358,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static + [Slot(1608)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1608]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178325,24 +118402,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static + [Slot(1608)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1608]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178382,18 +118446,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static + [Slot(1608)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1608]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178432,18 +118489,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dEXT")] - public static + [Slot(1610)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z, EntryPoints[1610]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178483,18 +118533,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dEXT")] - public static + [Slot(1610)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z, EntryPoints[1610]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178533,24 +118576,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dvEXT")] - public static + [Slot(1612)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1612]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178589,24 +118619,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dvEXT")] - public static + [Slot(1612)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1612]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178646,18 +118663,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dvEXT")] - public static + [Slot(1612)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1612]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178697,24 +118707,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dvEXT")] - public static + [Slot(1612)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1612]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178754,24 +118751,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dvEXT")] - public static + [Slot(1612)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1612]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178811,18 +118795,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dvEXT")] - public static + [Slot(1612)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1612]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178861,18 +118838,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static + [Slot(1614)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[1614]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178912,18 +118882,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static + [Slot(1614)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[1614]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178962,24 +118925,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(1616)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1616]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179018,24 +118968,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(1616)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1616]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179075,18 +119012,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(1616)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1616]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179126,24 +119056,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(1616)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1616]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179183,24 +119100,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(1616)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1616]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179240,18 +119144,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static + [Slot(1616)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1616]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179290,18 +119187,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static + [Slot(1620)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[1620]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179341,18 +119231,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static + [Slot(1620)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[1620]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179391,24 +119274,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(1622)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1622]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179447,24 +119317,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(1622)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1622]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179504,18 +119361,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(1622)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1622]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179555,24 +119405,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(1622)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1622]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179612,24 +119449,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(1622)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1622]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179669,18 +119493,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static + [Slot(1622)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1622]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179720,18 +119537,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uiEXT")] - public static + [Slot(1626)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, EntryPoints[1626]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179771,24 +119581,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static + [Slot(1628)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1628]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179828,24 +119625,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static + [Slot(1628)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1628]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179885,18 +119669,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static + [Slot(1628)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1628]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -179935,18 +119712,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dEXT")] - public static + [Slot(1630)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1630]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -179986,18 +119756,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dEXT")] - public static + [Slot(1630)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1630]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180036,24 +119799,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dvEXT")] - public static + [Slot(1632)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1632]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180092,24 +119842,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dvEXT")] - public static + [Slot(1632)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1632]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180149,18 +119886,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dvEXT")] - public static + [Slot(1632)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1632]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180200,24 +119930,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dvEXT")] - public static + [Slot(1632)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1632]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180257,24 +119974,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dvEXT")] - public static + [Slot(1632)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1632]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180314,18 +120018,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dvEXT")] - public static + [Slot(1632)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1632]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180364,18 +120061,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static + [Slot(1634)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[1634]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180415,18 +120105,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static + [Slot(1634)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[1634]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180465,24 +120148,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(1636)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1636]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180521,24 +120191,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(1636)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1636]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180578,18 +120235,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(1636)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1636]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180629,24 +120279,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(1636)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1636]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180686,24 +120323,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(1636)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1636]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180743,18 +120367,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static + [Slot(1636)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1636]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180793,18 +120410,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static + [Slot(1640)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[1640]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180844,18 +120454,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static + [Slot(1640)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[1640]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180894,24 +120497,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(1642)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1642]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180950,24 +120540,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(1642)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1642]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181007,18 +120584,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(1642)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1642]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181058,24 +120628,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(1642)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1642]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181115,24 +120672,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(1642)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1642]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181172,18 +120716,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static + [Slot(1642)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1642]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181223,18 +120760,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uiEXT")] - public static + [Slot(1646)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3, EntryPoints[1646]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181274,24 +120804,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static + [Slot(1648)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1648]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181331,24 +120848,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static + [Slot(1648)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1648]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181388,2142 +120892,947 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static + [Slot(1648)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1648]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2dvEXT")] - public static + [Slot(1654)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1654]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2dvEXT")] - public static + [Slot(1654)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1654]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2dvEXT")] - public static + [Slot(1654)] + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1654]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2dvEXT")] - public static + [Slot(1654)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1654]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2dvEXT")] - public static + [Slot(1654)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1654]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2dvEXT")] - public static + [Slot(1654)] + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1654]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(1656)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1656]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static + [Slot(1656)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1656]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1656)] + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1656]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1656)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1656]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1656)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1656]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1656)] + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1656]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] - public static + [Slot(1658)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1658]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] - public static + [Slot(1658)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1658]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] - public static + [Slot(1658)] + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1658]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] - public static + [Slot(1658)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1658]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] - public static + [Slot(1658)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1658]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] - public static + [Slot(1658)] + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1658]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(1660)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1660]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static + [Slot(1660)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1660]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1660)] + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1660]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1660)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1660]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1660)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1660]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1660)] + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1660]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] - public static + [Slot(1662)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1662]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] - public static + [Slot(1662)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1662]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] - public static + [Slot(1662)] + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1662]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] - public static + [Slot(1662)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1662]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] - public static + [Slot(1662)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1662]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] - public static + [Slot(1662)] + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1662]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(1664)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1664]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static + [Slot(1664)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1664]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1664)] + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1664]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1664)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1664]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1664)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1664]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1664)] + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1664]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3dvEXT")] - public static + [Slot(1666)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1666]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3dvEXT")] - public static + [Slot(1666)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1666]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3dvEXT")] - public static + [Slot(1666)] + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1666]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3dvEXT")] - public static + [Slot(1666)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1666]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3dvEXT")] - public static + [Slot(1666)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1666]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3dvEXT")] - public static + [Slot(1666)] + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1666]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(1668)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1668]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static + [Slot(1668)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1668]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1668)] + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1668]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1668)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1668]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1668)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1668]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1668)] + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1668]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] - public static + [Slot(1670)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1670]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] - public static + [Slot(1670)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1670]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] - public static + [Slot(1670)] + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1670]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] - public static + [Slot(1670)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1670]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] - public static + [Slot(1670)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1670]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] - public static + [Slot(1670)] + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1670]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(1672)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1672]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static + [Slot(1672)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1672]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1672)] + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1672]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1672)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1672]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1672)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1672]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1672)] + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1672]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] - public static + [Slot(1674)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1674]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] - public static + [Slot(1674)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1674]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] - public static + [Slot(1674)] + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1674]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] - public static + [Slot(1674)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1674]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] - public static + [Slot(1674)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1674]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] - public static + [Slot(1674)] + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1674]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(1676)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1676]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static + [Slot(1676)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1676]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1676)] + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1676]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1676)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1676]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1676)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1676]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1676)] + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1676]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4dvEXT")] - public static + [Slot(1678)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1678]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4dvEXT")] - public static + [Slot(1678)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1678]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4dvEXT")] - public static + [Slot(1678)] + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1678]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4dvEXT")] - public static + [Slot(1678)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1678]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4dvEXT")] - public static + [Slot(1678)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1678]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4dvEXT")] - public static + [Slot(1678)] + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1678]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1680)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1680]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1680)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1680]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1680)] + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1680]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1680)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1680]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1680)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1680]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1680)] + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1680]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] - public static + [Slot(1682)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1682]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] - public static + [Slot(1682)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1682]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] - public static + [Slot(1682)] + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1682]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] - public static + [Slot(1682)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1682]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] - public static + [Slot(1682)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1682]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] - public static + [Slot(1682)] + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1682]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(1684)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1684]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static + [Slot(1684)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1684]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1684)] + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1684]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1684)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1684]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1684)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1684]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1684)] + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1684]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] - public static + [Slot(1686)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1686]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] - public static + [Slot(1686)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1686]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] - public static + [Slot(1686)] + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1686]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] - public static + [Slot(1686)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1686]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] - public static + [Slot(1686)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1686]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] - public static + [Slot(1686)] + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1686]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(1688)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1688]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static + [Slot(1688)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1688]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1688)] + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1688]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1688)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1688]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1688)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[1688]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(1688)] + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[1688]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_provoking_vertex] /// Specifiy the vertex to be used as the source of data for flat shaded varyings @@ -183534,48 +121843,27 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_provoking_vertex", Version = "", EntryPoint = "glProvokingVertexEXT")] - public static + [Slot(1693)] + public static extern void ProvokingVertex(OpenTK.Graphics.OpenGL.ExtProvokingVertex mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtProvokingVertex)mode, EntryPoints[1693]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glPushClientAttribDefaultEXT")] - public static + [Slot(1696)] + public static extern void PushClientAttribDefault(OpenTK.Graphics.OpenGL.ClientAttribMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ClientAttribMask)mask, EntryPoints[1696]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glPushGroupMarkerEXT")] - public static + [Slot(1699)] + public static extern void PushGroupMarker(Int32 length, String marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)length, (String)marker, EntryPoints[1699]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_object] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -183601,18 +121889,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glRenderbufferStorageEXT")] - public static + [Slot(1751)] + public static extern void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height, EntryPoints[1751]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -183644,18 +121925,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use RenderbufferTarget overload instead")] [AutoGenerated(Category = "EXT_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static + [Slot(1754)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height, EntryPoints[1754]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -183686,18 +121960,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static + [Slot(1754)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height, EntryPoints[1754]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Reset histogram table entries to zero @@ -183708,18 +121975,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glResetHistogramEXT")] - public static + [Slot(1781)] + public static extern void ResetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, EntryPoints[1781]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_histogram] /// Reset minmax table entries to initial values @@ -183730,48 +121990,27 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glResetMinmaxEXT")] - public static + [Slot(1783)] + public static extern void ResetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtHistogram)target, EntryPoints[1783]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multisample] [AutoGenerated(Category = "EXT_multisample", Version = "", EntryPoint = "glSampleMaskEXT")] - public static + [Slot(1795)] + public static extern void SampleMask(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)value, (bool)invert, EntryPoints[1795]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_multisample] [AutoGenerated(Category = "EXT_multisample", Version = "", EntryPoint = "glSamplePatternEXT")] - public static + [Slot(1799)] + public static extern void SamplePattern(OpenTK.Graphics.OpenGL.ExtMultisample pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtMultisample)pattern, EntryPoints[1799]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -183783,18 +122022,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3bEXT")] - public static + [Slot(1815)] + public static extern void SecondaryColor3(SByte red, SByte green, SByte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)red, (SByte)green, (SByte)blue, EntryPoints[1815]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -183806,24 +122038,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3bvEXT")] - public static + [Slot(1817)] + public static extern void SecondaryColor3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1817]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -183835,24 +122054,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3bvEXT")] - public static + [Slot(1817)] + public static extern void SecondaryColor3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1817]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -183864,18 +122070,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3bvEXT")] - public static + [Slot(1817)] + public static extern unsafe void SecondaryColor3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1817]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -183886,18 +122085,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3dEXT")] - public static + [Slot(1819)] + public static extern void SecondaryColor3(Double red, Double green, Double blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)red, (Double)green, (Double)blue, EntryPoints[1819]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -183908,24 +122100,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3dvEXT")] - public static + [Slot(1821)] + public static extern void SecondaryColor3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1821]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -183936,24 +122115,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3dvEXT")] - public static + [Slot(1821)] + public static extern void SecondaryColor3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1821]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -183965,18 +122131,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3dvEXT")] - public static + [Slot(1821)] + public static extern unsafe void SecondaryColor3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1821]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -183987,18 +122146,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3fEXT")] - public static + [Slot(1823)] + public static extern void SecondaryColor3(Single red, Single green, Single blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, EntryPoints[1823]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184009,24 +122161,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3fvEXT")] - public static + [Slot(1825)] + public static extern void SecondaryColor3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1825]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184037,24 +122176,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3fvEXT")] - public static + [Slot(1825)] + public static extern void SecondaryColor3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1825]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184066,18 +122192,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3fvEXT")] - public static + [Slot(1825)] + public static extern unsafe void SecondaryColor3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1825]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184088,18 +122207,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3iEXT")] - public static + [Slot(1829)] + public static extern void SecondaryColor3(Int32 red, Int32 green, Int32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)red, (Int32)green, (Int32)blue, EntryPoints[1829]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184110,24 +122222,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ivEXT")] - public static + [Slot(1831)] + public static extern void SecondaryColor3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1831]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184138,24 +122237,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ivEXT")] - public static + [Slot(1831)] + public static extern void SecondaryColor3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1831]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184167,18 +122253,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ivEXT")] - public static + [Slot(1831)] + public static extern unsafe void SecondaryColor3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1831]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184189,18 +122268,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3sEXT")] - public static + [Slot(1833)] + public static extern void SecondaryColor3(Int16 red, Int16 green, Int16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)red, (Int16)green, (Int16)blue, EntryPoints[1833]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184211,24 +122283,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3svEXT")] - public static + [Slot(1835)] + public static extern void SecondaryColor3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1835]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184239,24 +122298,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3svEXT")] - public static + [Slot(1835)] + public static extern void SecondaryColor3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1835]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184268,18 +122314,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3svEXT")] - public static + [Slot(1835)] + public static extern unsafe void SecondaryColor3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1835]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184290,18 +122329,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ubEXT")] - public static + [Slot(1837)] + public static extern void SecondaryColor3(Byte red, Byte green, Byte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Byte)red, (Byte)green, (Byte)blue, EntryPoints[1837]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184312,24 +122344,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ubvEXT")] - public static + [Slot(1839)] + public static extern void SecondaryColor3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1839]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184340,24 +122359,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ubvEXT")] - public static + [Slot(1839)] + public static extern void SecondaryColor3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1839]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184369,18 +122375,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ubvEXT")] - public static + [Slot(1839)] + public static extern unsafe void SecondaryColor3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1839]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184392,18 +122391,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3uiEXT")] - public static + [Slot(1841)] + public static extern void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)red, (UInt32)green, (UInt32)blue, EntryPoints[1841]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184415,24 +122407,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3uivEXT")] - public static + [Slot(1843)] + public static extern void SecondaryColor3(UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1843]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184444,24 +122423,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3uivEXT")] - public static + [Slot(1843)] + public static extern void SecondaryColor3(ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1843]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184473,18 +122439,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3uivEXT")] - public static + [Slot(1843)] + public static extern unsafe void SecondaryColor3(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1843]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184496,18 +122455,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3usEXT")] - public static + [Slot(1845)] + public static extern void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt16)red, (UInt16)green, (UInt16)blue, EntryPoints[1845]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184519,24 +122471,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3usvEXT")] - public static + [Slot(1847)] + public static extern void SecondaryColor3(UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1847]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184548,24 +122487,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3usvEXT")] - public static + [Slot(1847)] + public static extern void SecondaryColor3(ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1847]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184577,18 +122503,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3usvEXT")] - public static + [Slot(1847)] + public static extern unsafe void SecondaryColor3(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1847]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Define an array of secondary colors @@ -184614,18 +122533,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColorPointerEXT")] - public static + [Slot(1852)] + public static extern void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[1852]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Define an array of secondary colors @@ -184651,27 +122563,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColorPointerEXT")] - public static + [Slot(1852)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1852]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Define an array of secondary colors @@ -184697,27 +122594,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColorPointerEXT")] - public static + [Slot(1852)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1852]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Define an array of secondary colors @@ -184743,27 +122625,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColorPointerEXT")] - public static + [Slot(1852)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1852]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_secondary_color] /// Define an array of secondary colors @@ -184789,28 +122656,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColorPointerEXT")] - public static + [Slot(1852)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1852]); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a separable two-dimensional convolution filter @@ -184856,18 +122707,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] - public static + [Slot(1857)] + 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, IntPtr column) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, EntryPoints[1857]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a separable two-dimensional convolution filter @@ -184913,30 +122757,13 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] - public static + [Slot(1857)] + 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 - { - #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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), EntryPoints[1857]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a separable two-dimensional convolution filter @@ -184982,30 +122809,13 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] - public static + [Slot(1857)] + 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 - { - #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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), EntryPoints[1857]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a separable two-dimensional convolution filter @@ -185051,30 +122861,13 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] - public static + [Slot(1857)] + 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 - { - #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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), EntryPoints[1857]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_convolution] /// Define a separable two-dimensional convolution filter @@ -185120,1198 +122913,529 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] - public static + [Slot(1857)] + 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 - { - #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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), EntryPoints[1857]); - 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 + [Slot(1861)] + public static extern void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr, EntryPoints[1861]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static + [Slot(1861)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1861]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static + [Slot(1861)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1861]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static + [Slot(1861)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1861]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static + [Slot(1861)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1861]); - 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 + [Slot(1861)] + public static extern void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr, EntryPoints[1861]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static + [Slot(1861)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1861]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static + [Slot(1861)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1861]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static + [Slot(1861)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1861]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static + [Slot(1861)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1861]); - 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 + [Slot(1862)] + public static extern void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr, EntryPoints[1862]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static + [Slot(1862)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1862]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static + [Slot(1862)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1862]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static + [Slot(1862)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1862]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static + [Slot(1862)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1862]); - 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 + [Slot(1862)] + public static extern void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr, EntryPoints[1862]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static + [Slot(1862)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1862]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static + [Slot(1862)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1862]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static + [Slot(1862)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1862]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static + [Slot(1862)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[1862]); - 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 + [Slot(1866)] + public static extern void ShaderOp1(OpenTK.Graphics.OpenGL.ExtVertexShader op, Int32 res, Int32 arg1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, EntryPoints[1866]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glShaderOp1EXT")] - public static + [Slot(1866)] + public static extern void ShaderOp1(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, EntryPoints[1866]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glShaderOp2EXT")] - public static + [Slot(1867)] + public static extern void ShaderOp2(OpenTK.Graphics.OpenGL.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, EntryPoints[1867]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glShaderOp2EXT")] - public static + [Slot(1867)] + public static extern void ShaderOp2(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, EntryPoints[1867]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glShaderOp3EXT")] - public static + [Slot(1868)] + public static extern void ShaderOp3(OpenTK.Graphics.OpenGL.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2, Int32 arg3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3, EntryPoints[1868]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glShaderOp3EXT")] - public static + [Slot(1868)] + public static extern void ShaderOp3(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3, EntryPoints[1868]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_stencil_clear_tag] [AutoGenerated(Category = "EXT_stencil_clear_tag", Version = "", EntryPoint = "glStencilClearTagEXT")] - public static + [Slot(1878)] + public static extern void StencilClearTag(Int32 stencilTagBits, Int32 stencilClearTag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)stencilTagBits, (UInt32)stencilClearTag, EntryPoints[1878]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_stencil_clear_tag] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_stencil_clear_tag", Version = "", EntryPoint = "glStencilClearTagEXT")] - public static + [Slot(1878)] + public static extern void StencilClearTag(Int32 stencilTagBits, UInt32 stencilClearTag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)stencilTagBits, (UInt32)stencilClearTag, EntryPoints[1878]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSwizzleEXT")] - public static + [Slot(1894)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW, EntryPoints[1894]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSwizzleEXT")] - public static + [Slot(1894)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW, EntryPoints[1894]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bEXT")] - public static + [Slot(1897)] + public static extern void Tangent3(Byte tx, Byte ty, Byte tz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)tx, (SByte)ty, (SByte)tz, EntryPoints[1897]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bEXT")] - public static + [Slot(1897)] + public static extern void Tangent3(SByte tx, SByte ty, SByte tz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)tx, (SByte)ty, (SByte)tz, EntryPoints[1897]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bvEXT")] - public static + [Slot(1898)] + public static extern void Tangent3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1898]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bvEXT")] - public static + [Slot(1898)] + public static extern void Tangent3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1898]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bvEXT")] - public static + [Slot(1898)] + public static extern unsafe void Tangent3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1898]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bvEXT")] - public static + [Slot(1898)] + public static extern void Tangent3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1898]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bvEXT")] - public static + [Slot(1898)] + public static extern void Tangent3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1898]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bvEXT")] - public static + [Slot(1898)] + public static extern unsafe void Tangent3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1898]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3dEXT")] - public static + [Slot(1899)] + public static extern void Tangent3(Double tx, Double ty, Double tz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)tx, (Double)ty, (Double)tz, EntryPoints[1899]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3dvEXT")] - public static + [Slot(1900)] + public static extern void Tangent3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1900]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3dvEXT")] - public static + [Slot(1900)] + public static extern void Tangent3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1900]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3dvEXT")] - public static + [Slot(1900)] + public static extern unsafe void Tangent3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1900]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3fEXT")] - public static + [Slot(1901)] + public static extern void Tangent3(Single tx, Single ty, Single tz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)tx, (Single)ty, (Single)tz, EntryPoints[1901]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3fvEXT")] - public static + [Slot(1902)] + public static extern void Tangent3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1902]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3fvEXT")] - public static + [Slot(1902)] + public static extern void Tangent3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1902]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3fvEXT")] - public static + [Slot(1902)] + public static extern unsafe void Tangent3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1902]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3iEXT")] - public static + [Slot(1903)] + public static extern void Tangent3(Int32 tx, Int32 ty, Int32 tz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)tx, (Int32)ty, (Int32)tz, EntryPoints[1903]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3ivEXT")] - public static + [Slot(1904)] + public static extern void Tangent3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1904]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3ivEXT")] - public static + [Slot(1904)] + public static extern void Tangent3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1904]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3ivEXT")] - public static + [Slot(1904)] + public static extern unsafe void Tangent3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1904]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3sEXT")] - public static + [Slot(1905)] + public static extern void Tangent3(Int16 tx, Int16 ty, Int16 tz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)tx, (Int16)ty, (Int16)tz, EntryPoints[1905]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3svEXT")] - public static + [Slot(1906)] + public static extern void Tangent3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1906]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3svEXT")] - public static + [Slot(1906)] + public static extern void Tangent3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1906]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3svEXT")] - public static + [Slot(1906)] + public static extern unsafe void Tangent3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1906]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangentPointerEXT")] - public static + [Slot(1907)] + public static extern void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[1907]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangentPointerEXT")] - public static + [Slot(1907)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1907]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangentPointerEXT")] - public static + [Slot(1907)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1907]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangentPointerEXT")] - public static + [Slot(1907)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1907]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangentPointerEXT")] - public static + [Slot(1907)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1907]); - 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 @@ -186332,18 +123456,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_buffer_object", Version = "", EntryPoint = "glTexBufferEXT")] - public static + [Slot(1916)] + public static extern void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtTextureBufferObject)internalformat, (UInt32)buffer, EntryPoints[1916]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_buffer_object] /// Attach the storage for a buffer object to the active buffer texture @@ -186365,18 +123482,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_buffer_object", Version = "", EntryPoint = "glTexBufferEXT")] - public static + [Slot(1916)] + public static extern void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtTextureBufferObject)internalformat, (UInt32)buffer, EntryPoints[1916]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of texture coordinates @@ -186402,18 +123512,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glTexCoordPointerEXT")] - public static + [Slot(2000)] + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer, EntryPoints[2000]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of texture coordinates @@ -186439,27 +123542,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glTexCoordPointerEXT")] - public static + [Slot(2000)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2000]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of texture coordinates @@ -186485,27 +123573,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glTexCoordPointerEXT")] - public static + [Slot(2000)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2000]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of texture coordinates @@ -186531,27 +123604,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glTexCoordPointerEXT")] - public static + [Slot(2000)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2000]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of texture coordinates @@ -186577,28 +123635,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glTexCoordPointerEXT")] - public static + [Slot(2000)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2000]); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture3D] /// Specify a three-dimensional texture image @@ -186654,18 +123696,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexImage3DEXT")] - public static + [Slot(2023)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2023]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture3D] /// Specify a three-dimensional texture image @@ -186721,27 +123756,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexImage3DEXT")] - public static + [Slot(2023)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2023]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture3D] /// Specify a three-dimensional texture image @@ -186797,27 +123817,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexImage3DEXT")] - public static + [Slot(2023)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2023]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture3D] /// Specify a three-dimensional texture image @@ -186873,27 +123878,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexImage3DEXT")] - public static + [Slot(2023)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2023]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture3D] /// Specify a three-dimensional texture image @@ -186949,146 +123939,64 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexImage3DEXT")] - public static + [Slot(2023)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2023]); - 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 + [Slot(2032)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2032]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_integer] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glTexParameterIivEXT")] - public static + [Slot(2032)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2032]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glTexParameterIivEXT")] - public static + [Slot(2032)] + public static extern unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[2032]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glTexParameterIuivEXT")] - public static + [Slot(2034)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2034]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glTexParameterIuivEXT")] - public static + [Slot(2034)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2034]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glTexParameterIuivEXT")] - public static + [Slot(2034)] + public static extern unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[2034]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_subtexture] /// Specify a one-dimensional texture subimage @@ -187129,18 +124037,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage1DEXT")] - public static + [Slot(2046)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels, EntryPoints[2046]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_subtexture] /// Specify a one-dimensional texture subimage @@ -187181,27 +124082,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage1DEXT")] - public static + [Slot(2046)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2046]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_subtexture] /// Specify a one-dimensional texture subimage @@ -187242,27 +124128,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage1DEXT")] - public static + [Slot(2046)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2046]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_subtexture] /// Specify a one-dimensional texture subimage @@ -187303,27 +124174,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage1DEXT")] - public static + [Slot(2046)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2046]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_subtexture] /// Specify a one-dimensional texture subimage @@ -187364,28 +124220,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage1DEXT")] - public static + [Slot(2046)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2046]); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_subtexture] /// Specify a two-dimensional texture subimage @@ -187436,18 +124276,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage2DEXT")] - public static + [Slot(2048)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2048]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_subtexture] /// Specify a two-dimensional texture subimage @@ -187498,27 +124331,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage2DEXT")] - public static + [Slot(2048)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2048]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_subtexture] /// Specify a two-dimensional texture subimage @@ -187569,27 +124387,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage2DEXT")] - public static + [Slot(2048)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2048]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_subtexture] /// Specify a two-dimensional texture subimage @@ -187640,27 +124443,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage2DEXT")] - public static + [Slot(2048)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2048]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_subtexture] /// Specify a two-dimensional texture subimage @@ -187711,28 +124499,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage2DEXT")] - public static + [Slot(2048)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2048]); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture3D] /// Specify a three-dimensional texture subimage @@ -187793,18 +124565,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexSubImage3DEXT")] - public static + [Slot(2050)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2050]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture3D] /// Specify a three-dimensional texture subimage @@ -187865,27 +124630,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexSubImage3DEXT")] - public static + [Slot(2050)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2050]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture3D] /// Specify a three-dimensional texture subimage @@ -187946,27 +124696,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexSubImage3DEXT")] - public static + [Slot(2050)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2050]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture3D] /// Specify a three-dimensional texture subimage @@ -188027,27 +124762,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexSubImage3DEXT")] - public static + [Slot(2050)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2050]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture3D] /// Specify a three-dimensional texture subimage @@ -188108,2833 +124828,1239 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexSubImage3DEXT")] - public static + [Slot(2050)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2050]); - 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 + [Slot(2053)] + public static extern void TextureBuffer(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer, EntryPoints[2053]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureBufferEXT")] - public static + [Slot(2053)] + public static extern void TextureBuffer(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer, EntryPoints[2053]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureBufferRangeEXT")] - public static + [Slot(2054)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[2054]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureBufferRangeEXT")] - public static + [Slot(2054)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[2054]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static + [Slot(2056)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2056]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - } - 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 + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - } - 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 + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - } - 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 + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - 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 + [Slot(2056)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2056]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - 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 + [Slot(2056)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2056]); - #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 + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - } - 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 + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - } - 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 + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - } - 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 + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - 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 + [Slot(2056)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2056]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - } - 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 + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - } - 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 + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - } - 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 + [Slot(2056)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2056]); - 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 + [Slot(2057)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2057]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - } - 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 + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - } - 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 + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - } - 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 + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - 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 + [Slot(2057)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2057]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - 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 + [Slot(2057)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2057]); - #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 + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - } - 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 + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - } - 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 + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - } - 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 + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - 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 + [Slot(2057)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2057]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - } - 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 + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - } - 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 + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - } - 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 + [Slot(2057)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2057]); - 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 + [Slot(2060)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2060]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - } - 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 + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - } - 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 + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - } - 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 + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - 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 + [Slot(2060)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2060]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - 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 + [Slot(2060)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2060]); - #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 + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - } - 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 + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - } - 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 + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - } - 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 + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - 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 + [Slot(2060)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2060]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - } - 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 + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - } - 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 + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - } - 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 + [Slot(2060)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2060]); - 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 + [Slot(2063)] + public static extern void TextureLight(OpenTK.Graphics.OpenGL.ExtLightTexture pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtLightTexture)pname, EntryPoints[2063]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_light_texture] [AutoGenerated(Category = "EXT_light_texture", Version = "", EntryPoint = "glTextureMaterialEXT")] - public static + [Slot(2064)] + public static extern void TextureMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)mode, EntryPoints[2064]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_texture_perturb_normal] [AutoGenerated(Category = "EXT_texture_perturb_normal", Version = "", EntryPoint = "glTextureNormalEXT")] - public static + [Slot(2065)] + public static extern void TextureNormal(OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal)mode, EntryPoints[2065]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTexturePageCommitmentEXT")] - public static + [Slot(2066)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident, EntryPoints[2066]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTexturePageCommitmentEXT")] - public static + [Slot(2066)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident, EntryPoints[2066]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfEXT")] - public static + [Slot(2067)] + public static extern void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param, EntryPoints[2067]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfEXT")] - public static + [Slot(2067)] + public static extern void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param, EntryPoints[2067]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static + [Slot(2068)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2068]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static + [Slot(2068)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[2068]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static + [Slot(2068)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2068]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static + [Slot(2068)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[2068]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameteriEXT")] - public static + [Slot(2069)] + public static extern void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param, EntryPoints[2069]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameteriEXT")] - public static + [Slot(2069)] + public static extern void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param, EntryPoints[2069]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static + [Slot(2070)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2070]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static + [Slot(2070)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2070]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static + [Slot(2070)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[2070]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static + [Slot(2070)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2070]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static + [Slot(2070)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2070]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static + [Slot(2070)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[2070]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIuivEXT")] - public static + [Slot(2071)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2071]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIuivEXT")] - public static + [Slot(2071)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2071]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIuivEXT")] - public static + [Slot(2071)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[2071]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static + [Slot(2072)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2072]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static + [Slot(2072)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[2072]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static + [Slot(2072)] + public static extern 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) - { - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[2072]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static + [Slot(2072)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (IntPtr)@params, EntryPoints[2072]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureRenderbufferEXT")] - public static + [Slot(2074)] + public static extern void TextureRenderbuffer(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer, EntryPoints[2074]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureRenderbufferEXT")] - public static + [Slot(2074)] + public static extern void TextureRenderbuffer(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer, EntryPoints[2074]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static + [Slot(2075)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, EntryPoints[2075]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static + [Slot(2075)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, EntryPoints[2075]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static + [Slot(2076)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, EntryPoints[2076]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static + [Slot(2076)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, EntryPoints[2076]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage2DMultisampleEXT")] - public static + [Slot(2077)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations, EntryPoints[2077]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage2DMultisampleEXT")] - public static + [Slot(2077)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations, EntryPoints[2077]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static + [Slot(2078)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[2078]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static + [Slot(2078)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[2078]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage3DMultisampleEXT")] - public static + [Slot(2079)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations, EntryPoints[2079]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage3DMultisampleEXT")] - public static + [Slot(2079)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations, EntryPoints[2079]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static + [Slot(2081)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2081]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static + [Slot(2081)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2081]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static + [Slot(2081)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2081]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static + [Slot(2081)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2081]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static + [Slot(2081)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2081]); - 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 + [Slot(2081)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2081]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static + [Slot(2081)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2081]); - } - 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 + [Slot(2081)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2081]); - } - 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 + [Slot(2081)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2081]); - } - 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 + [Slot(2081)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2081]); - 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 + [Slot(2082)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2082]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static + [Slot(2082)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2082]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static + [Slot(2082)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2082]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static + [Slot(2082)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2082]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static + [Slot(2082)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2082]); - 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 + [Slot(2082)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2082]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static + [Slot(2082)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2082]); - } - 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 + [Slot(2082)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2082]); - } - 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 + [Slot(2082)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2082]); - } - 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 + [Slot(2082)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2082]); - 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 + [Slot(2083)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2083]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static + [Slot(2083)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2083]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static + [Slot(2083)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2083]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static + [Slot(2083)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2083]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static + [Slot(2083)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2083]); - 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 + [Slot(2083)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2083]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static + [Slot(2083)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2083]); - } - 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 + [Slot(2083)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2083]); - } - 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 + [Slot(2083)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2083]); - } - 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 + [Slot(2083)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2083]); - pixels = (T11)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Specify values to record in transform feedback buffers @@ -190960,18 +126086,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsEXT")] - public static + [Slot(2089)] + public static extern void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.ExtTransformFeedback)bufferMode, EntryPoints[2089]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_transform_feedback] /// Specify values to record in transform feedback buffers @@ -190998,18 +126117,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsEXT")] - public static + [Slot(2089)] + public static extern void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.ExtTransformFeedback)bufferMode, EntryPoints[2089]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191043,18 +126155,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uiEXT")] - public static + [Slot(2110)] + public static extern void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, EntryPoints[2110]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191089,18 +126194,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uiEXT")] - public static + [Slot(2110)] + public static extern void Uniform1(Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, EntryPoints[2110]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191134,24 +126232,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uivEXT")] - public static + [Slot(2112)] + public static extern void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2112]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191185,24 +126270,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uivEXT")] - public static + [Slot(2112)] + public static extern void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2112]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191237,18 +126309,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uivEXT")] - public static + [Slot(2112)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2112]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191283,24 +126348,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uivEXT")] - public static + [Slot(2112)] + public static extern void Uniform1(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2112]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191335,24 +126387,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uivEXT")] - public static + [Slot(2112)] + public static extern void Uniform1(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2112]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191387,18 +126426,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uivEXT")] - public static + [Slot(2112)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2112]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191432,18 +126464,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uiEXT")] - public static + [Slot(2128)] + public static extern void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, EntryPoints[2128]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191478,18 +126503,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uiEXT")] - public static + [Slot(2128)] + public static extern void Uniform2(Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, EntryPoints[2128]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191523,24 +126541,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uivEXT")] - public static + [Slot(2130)] + public static extern void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2130]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191575,18 +126580,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uivEXT")] - public static + [Slot(2130)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2130]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191621,24 +126619,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uivEXT")] - public static + [Slot(2130)] + public static extern void Uniform2(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2130]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191673,24 +126658,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uivEXT")] - public static + [Slot(2130)] + public static extern void Uniform2(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2130]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191725,18 +126697,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uivEXT")] - public static + [Slot(2130)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2130]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191770,18 +126735,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uiEXT")] - public static + [Slot(2146)] + public static extern void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, EntryPoints[2146]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191816,18 +126774,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uiEXT")] - public static + [Slot(2146)] + public static extern void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, EntryPoints[2146]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191861,24 +126812,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uivEXT")] - public static + [Slot(2148)] + public static extern void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2148]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191912,24 +126850,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uivEXT")] - public static + [Slot(2148)] + public static extern void Uniform3(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2148]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191964,18 +126889,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uivEXT")] - public static + [Slot(2148)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2148]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192010,24 +126928,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uivEXT")] - public static + [Slot(2148)] + public static extern void Uniform3(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2148]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192062,24 +126967,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uivEXT")] - public static + [Slot(2148)] + public static extern void Uniform3(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2148]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192114,18 +127006,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uivEXT")] - public static + [Slot(2148)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2148]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192159,18 +127044,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uiEXT")] - public static + [Slot(2164)] + public static extern void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3, EntryPoints[2164]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192205,18 +127083,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uiEXT")] - public static + [Slot(2164)] + public static extern void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3, EntryPoints[2164]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192250,24 +127121,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uivEXT")] - public static + [Slot(2166)] + public static extern void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2166]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192301,24 +127159,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uivEXT")] - public static + [Slot(2166)] + public static extern void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2166]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192353,18 +127198,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uivEXT")] - public static + [Slot(2166)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2166]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192399,24 +127237,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uivEXT")] - public static + [Slot(2166)] + public static extern void Uniform4(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2166]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192451,24 +127276,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uivEXT")] - public static + [Slot(2166)] + public static extern void Uniform4(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2166]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192503,95 +127315,53 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uivEXT")] - public static + [Slot(2166)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2166]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_bindable_uniform] [AutoGenerated(Category = "EXT_bindable_uniform", Version = "", EntryPoint = "glUniformBufferEXT")] - public static + [Slot(2168)] + public static extern void UniformBuffer(Int32 program, Int32 location, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)buffer, EntryPoints[2168]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_bindable_uniform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_bindable_uniform", Version = "", EntryPoint = "glUniformBufferEXT")] - public static + [Slot(2168)] + public static extern void UniformBuffer(UInt32 program, Int32 location, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)buffer, EntryPoints[2168]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_compiled_vertex_array] [AutoGenerated(Category = "EXT_compiled_vertex_array", Version = "", EntryPoint = "glUnlockArraysEXT")] - public static + [Slot(2197)] + public static extern void UnlockArrays() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[2197]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glUnmapNamedBufferEXT")] - public static + [Slot(2200)] + public static extern bool UnmapNamedBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[2200]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glUnmapNamedBufferEXT")] - public static + [Slot(2200)] + public static extern bool UnmapNamedBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[2200]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Bind stages of a program object to a program pipeline @@ -192612,18 +127382,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseProgramStagesEXT")] - public static + [Slot(2207)] + public static extern void UseProgramStages(Int32 pipeline, Int32 stages, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)stages, (UInt32)program, EntryPoints[2207]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Bind stages of a program object to a program pipeline @@ -192645,49 +127408,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseProgramStagesEXT")] - public static + [Slot(2207)] + public static extern void UseProgramStages(UInt32 pipeline, UInt32 stages, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)stages, (UInt32)program, EntryPoints[2207]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseShaderProgramEXT")] - public static + [Slot(2208)] + public static extern void UseShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (UInt32)program, EntryPoints[2208]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseShaderProgramEXT")] - public static + [Slot(2208)] + public static extern void UseShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (UInt32)program, EntryPoints[2208]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Validate a program pipeline object against current GL state @@ -192698,18 +127440,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glValidateProgramPipelineEXT")] - public static + [Slot(2212)] + public static extern void ValidateProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[2212]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_separate_shader_objects] /// Validate a program pipeline object against current GL state @@ -192721,3700 +127456,1722 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glValidateProgramPipelineEXT")] - public static + [Slot(2212)] + public static extern void ValidateProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[2212]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantbvEXT")] - public static + [Slot(2214)] + public static extern void Variant(UInt32 id, SByte[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* addr_ptr = addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2214]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantbvEXT")] - public static + [Slot(2214)] + public static extern void Variant(UInt32 id, ref SByte addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* addr_ptr = &addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2214]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantbvEXT")] - public static + [Slot(2214)] + public static extern unsafe void Variant(UInt32 id, SByte* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (IntPtr)addr, EntryPoints[2214]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantdvEXT")] - public static + [Slot(2215)] + public static extern void Variant(Int32 id, Double[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* addr_ptr = addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2215]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantdvEXT")] - public static + [Slot(2215)] + public static extern void Variant(Int32 id, ref Double addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* addr_ptr = &addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2215]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantdvEXT")] - public static + [Slot(2215)] + public static extern unsafe void Variant(Int32 id, Double* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (IntPtr)addr, EntryPoints[2215]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantdvEXT")] - public static + [Slot(2215)] + public static extern void Variant(UInt32 id, Double[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* addr_ptr = addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2215]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantdvEXT")] - public static + [Slot(2215)] + public static extern void Variant(UInt32 id, ref Double addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* addr_ptr = &addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2215]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantdvEXT")] - public static + [Slot(2215)] + public static extern unsafe void Variant(UInt32 id, Double* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (IntPtr)addr, EntryPoints[2215]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantfvEXT")] - public static + [Slot(2216)] + public static extern void Variant(Int32 id, Single[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* addr_ptr = addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2216]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantfvEXT")] - public static + [Slot(2216)] + public static extern void Variant(Int32 id, ref Single addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* addr_ptr = &addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2216]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantfvEXT")] - public static + [Slot(2216)] + public static extern unsafe void Variant(Int32 id, Single* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (IntPtr)addr, EntryPoints[2216]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantfvEXT")] - public static + [Slot(2216)] + public static extern void Variant(UInt32 id, Single[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* addr_ptr = addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2216]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantfvEXT")] - public static + [Slot(2216)] + public static extern void Variant(UInt32 id, ref Single addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* addr_ptr = &addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2216]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantfvEXT")] - public static + [Slot(2216)] + public static extern unsafe void Variant(UInt32 id, Single* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (IntPtr)addr, EntryPoints[2216]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantivEXT")] - public static + [Slot(2217)] + public static extern void Variant(Int32 id, Int32[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* addr_ptr = addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2217]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantivEXT")] - public static + [Slot(2217)] + public static extern void Variant(Int32 id, ref Int32 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* addr_ptr = &addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2217]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantivEXT")] - public static + [Slot(2217)] + public static extern unsafe void Variant(Int32 id, Int32* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (IntPtr)addr, EntryPoints[2217]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantivEXT")] - public static + [Slot(2217)] + public static extern void Variant(UInt32 id, Int32[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* addr_ptr = addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2217]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantivEXT")] - public static + [Slot(2217)] + public static extern void Variant(UInt32 id, ref Int32 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* addr_ptr = &addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2217]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantivEXT")] - public static + [Slot(2217)] + public static extern unsafe void Variant(UInt32 id, Int32* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (IntPtr)addr, EntryPoints[2217]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static + [Slot(2218)] + public static extern void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr, EntryPoints[2218]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static + [Slot(2218)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[2218]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static + [Slot(2218)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[2218]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static + [Slot(2218)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[2218]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static + [Slot(2218)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[2218]); - 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 + [Slot(2218)] + public static extern void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr, EntryPoints[2218]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static + [Slot(2218)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[2218]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static + [Slot(2218)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[2218]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static + [Slot(2218)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[2218]); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static + [Slot(2218)] + 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 - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject(), EntryPoints[2218]); - 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 + [Slot(2219)] + public static extern void Variant(Int32 id, Int16[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2219]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantsvEXT")] - public static + [Slot(2219)] + public static extern void Variant(Int32 id, ref Int16 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = &addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2219]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantsvEXT")] - public static + [Slot(2219)] + public static extern unsafe void Variant(Int32 id, Int16* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (IntPtr)addr, EntryPoints[2219]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantsvEXT")] - public static + [Slot(2219)] + public static extern void Variant(UInt32 id, Int16[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2219]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantsvEXT")] - public static + [Slot(2219)] + public static extern void Variant(UInt32 id, ref Int16 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = &addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2219]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantsvEXT")] - public static + [Slot(2219)] + public static extern unsafe void Variant(UInt32 id, Int16* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (IntPtr)addr, EntryPoints[2219]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantubvEXT")] - public static + [Slot(2220)] + public static extern void Variant(Int32 id, Byte[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* addr_ptr = addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2220]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantubvEXT")] - public static + [Slot(2220)] + public static extern void Variant(Int32 id, ref Byte addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* addr_ptr = &addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2220]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantubvEXT")] - public static + [Slot(2220)] + public static extern unsafe void Variant(Int32 id, Byte* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (IntPtr)addr, EntryPoints[2220]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantubvEXT")] - public static + [Slot(2220)] + public static extern void Variant(UInt32 id, Byte[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* addr_ptr = addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2220]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantubvEXT")] - public static + [Slot(2220)] + public static extern void Variant(UInt32 id, ref Byte addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* addr_ptr = &addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2220]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantubvEXT")] - public static + [Slot(2220)] + public static extern unsafe void Variant(UInt32 id, Byte* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (IntPtr)addr, EntryPoints[2220]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantuivEXT")] - public static + [Slot(2221)] + public static extern void Variant(UInt32 id, UInt32[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* addr_ptr = addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantuivEXT")] - public static + [Slot(2221)] + public static extern void Variant(UInt32 id, ref UInt32 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* addr_ptr = &addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantuivEXT")] - public static + [Slot(2221)] + public static extern unsafe void Variant(UInt32 id, UInt32* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (IntPtr)addr, EntryPoints[2221]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantusvEXT")] - public static + [Slot(2222)] + public static extern void Variant(UInt32 id, UInt16[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* addr_ptr = addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2222]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantusvEXT")] - public static + [Slot(2222)] + public static extern void Variant(UInt32 id, ref UInt16 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* addr_ptr = &addr) - { - InteropHelper.Call((UInt32)id, (IntPtr)addr_ptr, EntryPoints[2222]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantusvEXT")] - public static + [Slot(2222)] + public static extern unsafe void Variant(UInt32 id, UInt16* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (IntPtr)addr, EntryPoints[2222]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayBindVertexBufferEXT")] - public static + [Slot(2275)] + public static extern void VertexArrayBindVertexBuffer(Int32 vaobj, Int32 bindingindex, Int32 buffer, IntPtr offset, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride, EntryPoints[2275]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayBindVertexBufferEXT")] - public static + [Slot(2275)] + public static extern void VertexArrayBindVertexBuffer(UInt32 vaobj, UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride, EntryPoints[2275]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayColorOffsetEXT")] - public static + [Slot(2276)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2276]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayColorOffsetEXT")] - public static + [Slot(2276)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2276]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayEdgeFlagOffsetEXT")] - public static + [Slot(2277)] + public static extern void VertexArrayEdgeFlagOffset(Int32 vaobj, Int32 buffer, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (Int32)stride, (IntPtr)offset, EntryPoints[2277]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayEdgeFlagOffsetEXT")] - public static + [Slot(2277)] + public static extern void VertexArrayEdgeFlagOffset(UInt32 vaobj, UInt32 buffer, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (Int32)stride, (IntPtr)offset, EntryPoints[2277]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayFogCoordOffsetEXT")] - public static + [Slot(2278)] + public static extern void VertexArrayFogCoordOffset(Int32 vaobj, Int32 buffer, OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2278]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayFogCoordOffsetEXT")] - public static + [Slot(2278)] + public static extern void VertexArrayFogCoordOffset(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2278]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayIndexOffsetEXT")] - public static + [Slot(2279)] + public static extern void VertexArrayIndexOffset(Int32 vaobj, Int32 buffer, OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2279]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayIndexOffsetEXT")] - public static + [Slot(2279)] + public static extern void VertexArrayIndexOffset(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2279]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayMultiTexCoordOffsetEXT")] - public static + [Slot(2280)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2280]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayMultiTexCoordOffsetEXT")] - public static + [Slot(2280)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2280]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayNormalOffsetEXT")] - public static + [Slot(2281)] + public static extern void VertexArrayNormalOffset(Int32 vaobj, Int32 buffer, OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2281]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayNormalOffsetEXT")] - public static + [Slot(2281)] + public static extern void VertexArrayNormalOffset(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2281]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArraySecondaryColorOffsetEXT")] - public static + [Slot(2285)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2285]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArraySecondaryColorOffsetEXT")] - public static + [Slot(2285)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2285]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayTexCoordOffsetEXT")] - public static + [Slot(2286)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2286]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayTexCoordOffsetEXT")] - public static + [Slot(2286)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2286]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribBindingEXT")] - public static + [Slot(2287)] + public static extern void VertexArrayVertexAttribBinding(Int32 vaobj, Int32 attribindex, Int32 bindingindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)attribindex, (UInt32)bindingindex, EntryPoints[2287]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribBindingEXT")] - public static + [Slot(2287)] + public static extern void VertexArrayVertexAttribBinding(UInt32 vaobj, UInt32 attribindex, UInt32 bindingindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)attribindex, (UInt32)bindingindex, EntryPoints[2287]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribDivisorEXT")] - public static + [Slot(2288)] + public static extern void VertexArrayVertexAttribDivisor(Int32 vaobj, Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (UInt32)divisor, EntryPoints[2288]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribDivisorEXT")] - public static + [Slot(2288)] + public static extern void VertexArrayVertexAttribDivisor(UInt32 vaobj, UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)index, (UInt32)divisor, EntryPoints[2288]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribFormatEXT")] - public static + [Slot(2289)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (bool)normalized, (UInt32)relativeoffset, EntryPoints[2289]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribFormatEXT")] - public static + [Slot(2289)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (bool)normalized, (UInt32)relativeoffset, EntryPoints[2289]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribIFormatEXT")] - public static + [Slot(2290)] + public static extern void VertexArrayVertexAttribIFormat(Int32 vaobj, Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (UInt32)relativeoffset, EntryPoints[2290]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribIFormatEXT")] - public static + [Slot(2290)] + public static extern void VertexArrayVertexAttribIFormat(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (UInt32)relativeoffset, EntryPoints[2290]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribIOffsetEXT")] - public static + [Slot(2291)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (Int32)stride, (IntPtr)offset, EntryPoints[2291]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribIOffsetEXT")] - public static + [Slot(2291)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (Int32)stride, (IntPtr)offset, EntryPoints[2291]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribLFormatEXT")] - public static + [Slot(2292)] + public static extern void VertexArrayVertexAttribLFormat(Int32 vaobj, Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (UInt32)relativeoffset, EntryPoints[2292]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribLFormatEXT")] - public static + [Slot(2292)] + public static extern void VertexArrayVertexAttribLFormat(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (UInt32)relativeoffset, EntryPoints[2292]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribLOffsetEXT")] - public static + [Slot(2293)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (Int32)stride, (IntPtr)offset, EntryPoints[2293]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribLOffsetEXT")] - public static + [Slot(2293)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (Int32)stride, (IntPtr)offset, EntryPoints[2293]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribOffsetEXT")] - public static + [Slot(2294)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)offset, EntryPoints[2294]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribOffsetEXT")] - public static + [Slot(2294)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)offset, EntryPoints[2294]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexBindingDivisorEXT")] - public static + [Slot(2295)] + public static extern void VertexArrayVertexBindingDivisor(Int32 vaobj, Int32 bindingindex, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)bindingindex, (UInt32)divisor, EntryPoints[2295]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexBindingDivisorEXT")] - public static + [Slot(2295)] + public static extern void VertexArrayVertexBindingDivisor(UInt32 vaobj, UInt32 bindingindex, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)vaobj, (UInt32)bindingindex, (UInt32)divisor, EntryPoints[2295]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexOffsetEXT")] - public static + [Slot(2296)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2296]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexOffsetEXT")] - public static + [Slot(2296)] + public static extern 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 - InteropHelper.Call((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)offset, EntryPoints[2296]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] - public static + [Slot(2410)] + public static extern void VertexAttribI1(Int32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, EntryPoints[2410]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] - public static + [Slot(2410)] + public static extern void VertexAttribI1(UInt32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, EntryPoints[2410]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] - public static + [Slot(2412)] + public static extern unsafe void VertexAttribI1(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2412]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] - public static + [Slot(2412)] + public static extern unsafe void VertexAttribI1(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2412]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1uiEXT")] - public static + [Slot(2414)] + public static extern void VertexAttribI1(UInt32 index, UInt32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)x, EntryPoints[2414]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1uivEXT")] - public static + [Slot(2416)] + public static extern unsafe void VertexAttribI1(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2416]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2iEXT")] - public static + [Slot(2418)] + public static extern void VertexAttribI2(Int32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, EntryPoints[2418]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2iEXT")] - public static + [Slot(2418)] + public static extern void VertexAttribI2(UInt32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, EntryPoints[2418]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static + [Slot(2420)] + public static extern void VertexAttribI2(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2420]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static + [Slot(2420)] + public static extern void VertexAttribI2(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2420]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static + [Slot(2420)] + public static extern unsafe void VertexAttribI2(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2420]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static + [Slot(2420)] + public static extern void VertexAttribI2(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2420]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static + [Slot(2420)] + public static extern void VertexAttribI2(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2420]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static + [Slot(2420)] + public static extern unsafe void VertexAttribI2(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2420]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2uiEXT")] - public static + [Slot(2422)] + public static extern void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)x, (UInt32)y, EntryPoints[2422]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] - public static + [Slot(2424)] + public static extern void VertexAttribI2(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2424]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] - public static + [Slot(2424)] + public static extern void VertexAttribI2(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2424]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] - public static + [Slot(2424)] + public static extern unsafe void VertexAttribI2(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2424]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3iEXT")] - public static + [Slot(2426)] + public static extern void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, EntryPoints[2426]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3iEXT")] - public static + [Slot(2426)] + public static extern void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, EntryPoints[2426]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static + [Slot(2428)] + public static extern void VertexAttribI3(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2428]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static + [Slot(2428)] + public static extern void VertexAttribI3(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2428]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static + [Slot(2428)] + public static extern unsafe void VertexAttribI3(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2428]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static + [Slot(2428)] + public static extern void VertexAttribI3(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2428]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static + [Slot(2428)] + public static extern void VertexAttribI3(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2428]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static + [Slot(2428)] + public static extern unsafe void VertexAttribI3(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2428]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3uiEXT")] - public static + [Slot(2430)] + public static extern void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, EntryPoints[2430]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] - public static + [Slot(2432)] + public static extern void VertexAttribI3(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2432]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] - public static + [Slot(2432)] + public static extern void VertexAttribI3(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2432]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] - public static + [Slot(2432)] + public static extern unsafe void VertexAttribI3(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2432]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] - public static + [Slot(2434)] + public static extern void VertexAttribI4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2434]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] - public static + [Slot(2434)] + public static extern void VertexAttribI4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2434]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] - public static + [Slot(2434)] + public static extern unsafe void VertexAttribI4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2434]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4iEXT")] - public static + [Slot(2436)] + public static extern void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[2436]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4iEXT")] - public static + [Slot(2436)] + public static extern void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[2436]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static + [Slot(2438)] + public static extern void VertexAttribI4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2438]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static + [Slot(2438)] + public static extern void VertexAttribI4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2438]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static + [Slot(2438)] + public static extern unsafe void VertexAttribI4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2438]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static + [Slot(2438)] + public static extern void VertexAttribI4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2438]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static + [Slot(2438)] + public static extern void VertexAttribI4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2438]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static + [Slot(2438)] + public static extern unsafe void VertexAttribI4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2438]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static + [Slot(2440)] + public static extern void VertexAttribI4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2440]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static + [Slot(2440)] + public static extern void VertexAttribI4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2440]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static + [Slot(2440)] + public static extern unsafe void VertexAttribI4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2440]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static + [Slot(2440)] + public static extern void VertexAttribI4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2440]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static + [Slot(2440)] + public static extern void VertexAttribI4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2440]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static + [Slot(2440)] + public static extern unsafe void VertexAttribI4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2440]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static + [Slot(2442)] + public static extern void VertexAttribI4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2442]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static + [Slot(2442)] + public static extern void VertexAttribI4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2442]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static + [Slot(2442)] + public static extern unsafe void VertexAttribI4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2442]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static + [Slot(2442)] + public static extern void VertexAttribI4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2442]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static + [Slot(2442)] + public static extern void VertexAttribI4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2442]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static + [Slot(2442)] + public static extern unsafe void VertexAttribI4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2442]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4uiEXT")] - public static + [Slot(2444)] + public static extern void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w, EntryPoints[2444]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] - public static + [Slot(2446)] + public static extern void VertexAttribI4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2446]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] - public static + [Slot(2446)] + public static extern void VertexAttribI4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2446]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] - public static + [Slot(2446)] + public static extern unsafe void VertexAttribI4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2446]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] - public static + [Slot(2448)] + public static extern void VertexAttribI4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2448]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] - public static + [Slot(2448)] + public static extern void VertexAttribI4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2448]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] - public static + [Slot(2448)] + public static extern unsafe void VertexAttribI4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2448]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static + [Slot(2452)] + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2452]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static + [Slot(2452)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2452]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static + [Slot(2452)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2452]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static + [Slot(2452)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2452]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static + [Slot(2452)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2452]); - 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 + [Slot(2452)] + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2452]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static + [Slot(2452)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2452]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static + [Slot(2452)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2452]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static + [Slot(2452)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2452]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static + [Slot(2452)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2452]); - 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 + [Slot(2454)] + public static extern void VertexAttribL1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[2454]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL1dEXT")] - public static + [Slot(2454)] + public static extern void VertexAttribL1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[2454]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL1dvEXT")] - public static + [Slot(2456)] + public static extern unsafe void VertexAttribL1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2456]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL1dvEXT")] - public static + [Slot(2456)] + public static extern unsafe void VertexAttribL1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2456]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dEXT")] - public static + [Slot(2464)] + public static extern void VertexAttribL2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[2464]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dEXT")] - public static + [Slot(2464)] + public static extern void VertexAttribL2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[2464]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dvEXT")] - public static + [Slot(2466)] + public static extern void VertexAttribL2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2466]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dvEXT")] - public static + [Slot(2466)] + public static extern void VertexAttribL2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2466]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dvEXT")] - public static + [Slot(2466)] + public static extern unsafe void VertexAttribL2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2466]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dvEXT")] - public static + [Slot(2466)] + public static extern void VertexAttribL2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2466]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dvEXT")] - public static + [Slot(2466)] + public static extern void VertexAttribL2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2466]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dvEXT")] - public static + [Slot(2466)] + public static extern unsafe void VertexAttribL2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2466]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dEXT")] - public static + [Slot(2472)] + public static extern void VertexAttribL3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[2472]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dEXT")] - public static + [Slot(2472)] + public static extern void VertexAttribL3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[2472]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dvEXT")] - public static + [Slot(2474)] + public static extern void VertexAttribL3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2474]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dvEXT")] - public static + [Slot(2474)] + public static extern void VertexAttribL3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2474]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dvEXT")] - public static + [Slot(2474)] + public static extern unsafe void VertexAttribL3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2474]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dvEXT")] - public static + [Slot(2474)] + public static extern void VertexAttribL3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2474]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dvEXT")] - public static + [Slot(2474)] + public static extern void VertexAttribL3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2474]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dvEXT")] - public static + [Slot(2474)] + public static extern unsafe void VertexAttribL3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2474]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dEXT")] - public static + [Slot(2480)] + public static extern void VertexAttribL4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2480]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dEXT")] - public static + [Slot(2480)] + public static extern void VertexAttribL4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2480]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dvEXT")] - public static + [Slot(2482)] + public static extern void VertexAttribL4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2482]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dvEXT")] - public static + [Slot(2482)] + public static extern void VertexAttribL4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2482]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dvEXT")] - public static + [Slot(2482)] + public static extern unsafe void VertexAttribL4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2482]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dvEXT")] - public static + [Slot(2482)] + public static extern void VertexAttribL4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2482]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dvEXT")] - public static + [Slot(2482)] + public static extern void VertexAttribL4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2482]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dvEXT")] - public static + [Slot(2482)] + public static extern unsafe void VertexAttribL4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2482]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static + [Slot(2490)] + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2490]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static + [Slot(2490)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2490]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static + [Slot(2490)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2490]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static + [Slot(2490)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2490]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static + [Slot(2490)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2490]); - 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 + [Slot(2490)] + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2490]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static + [Slot(2490)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2490]); - } - 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 + [Slot(2490)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2490]); - } - 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 + [Slot(2490)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2490]); - } - 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 + [Slot(2490)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2490]); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of vertex data @@ -196440,18 +129197,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glVertexPointerEXT")] - public static + [Slot(2532)] + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer, EntryPoints[2532]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of vertex data @@ -196477,27 +129227,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glVertexPointerEXT")] - public static + [Slot(2532)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2532]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of vertex data @@ -196523,27 +129258,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glVertexPointerEXT")] - public static + [Slot(2532)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2532]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of vertex data @@ -196569,27 +129289,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glVertexPointerEXT")] - public static + [Slot(2532)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2532]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_array] /// Define an array of vertex data @@ -196615,202 +129320,90 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glVertexPointerEXT")] - public static + [Slot(2532)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2532]); - 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 + [Slot(2567)] + public static extern void VertexWeight(Single weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)weight, EntryPoints[2567]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_weighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_weighting", Version = "", EntryPoint = "glVertexWeightfvEXT")] - public static + [Slot(2568)] + public static extern unsafe void VertexWeight(Single* weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)weight, EntryPoints[2568]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_weighting] [AutoGenerated(Category = "EXT_vertex_weighting", Version = "", EntryPoint = "glVertexWeightPointerEXT")] - public static + [Slot(2571)] + public static extern void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2571]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_weighting] [AutoGenerated(Category = "EXT_vertex_weighting", Version = "", EntryPoint = "glVertexWeightPointerEXT")] - public static + [Slot(2571)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2571]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_weighting] [AutoGenerated(Category = "EXT_vertex_weighting", Version = "", EntryPoint = "glVertexWeightPointerEXT")] - public static + [Slot(2571)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2571]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_weighting] [AutoGenerated(Category = "EXT_vertex_weighting", Version = "", EntryPoint = "glVertexWeightPointerEXT")] - public static + [Slot(2571)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2571]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_weighting] [AutoGenerated(Category = "EXT_vertex_weighting", Version = "", EntryPoint = "glVertexWeightPointerEXT")] - public static + [Slot(2571)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2571]); - 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 + [Slot(2647)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW, EntryPoints[2647]); - #if DEBUG - } - #endif - } + ; + /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glWriteMaskEXT")] - public static + [Slot(2647)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW, EntryPoints[2647]); - #if DEBUG - } - #endif - } + ; + } @@ -196818,130 +129411,55 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: GREMEDY_frame_terminator] [AutoGenerated(Category = "GREMEDY_frame_terminator", Version = "", EntryPoint = "glFrameTerminatorGREMEDY")] - public static + [Slot(585)] + public static extern void FrameTerminator() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[585]); - #if DEBUG - } - #endif - } + ; + /// [requires: GREMEDY_string_marker] [AutoGenerated(Category = "GREMEDY_string_marker", Version = "", EntryPoint = "glStringMarkerGREMEDY")] - public static + [Slot(1893)] + public static extern void StringMarker(Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)len, (IntPtr)@string, EntryPoints[1893]); - #if DEBUG - } - #endif - } + ; + /// [requires: GREMEDY_string_marker] [AutoGenerated(Category = "GREMEDY_string_marker", Version = "", EntryPoint = "glStringMarkerGREMEDY")] - public static + [Slot(1893)] + 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 - { - InteropHelper.Call((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1893]); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: GREMEDY_string_marker] [AutoGenerated(Category = "GREMEDY_string_marker", Version = "", EntryPoint = "glStringMarkerGREMEDY")] - public static + [Slot(1893)] + 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 - { - InteropHelper.Call((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1893]); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: GREMEDY_string_marker] [AutoGenerated(Category = "GREMEDY_string_marker", Version = "", EntryPoint = "glStringMarkerGREMEDY")] - public static + [Slot(1893)] + 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 - { - InteropHelper.Call((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1893]); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: GREMEDY_string_marker] [AutoGenerated(Category = "GREMEDY_string_marker", Version = "", EntryPoint = "glStringMarkerGREMEDY")] - public static + [Slot(1893)] + 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 - { - InteropHelper.Call((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject(), EntryPoints[1893]); - @string = (T1)@string_ptr.Target; - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + } @@ -196949,225 +129467,103 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glGetImageTransformParameterfvHP")] - public static + [Slot(725)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (IntPtr)@params_ptr, EntryPoints[725]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glGetImageTransformParameterfvHP")] - public static + [Slot(725)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (IntPtr)@params_ptr, EntryPoints[725]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: HP_image_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glGetImageTransformParameterfvHP")] - public static + [Slot(725)] + public static extern unsafe void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (IntPtr)@params, EntryPoints[725]); - #if DEBUG - } - #endif - } + ; + /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glGetImageTransformParameterivHP")] - public static + [Slot(726)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (IntPtr)@params_ptr, EntryPoints[726]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glGetImageTransformParameterivHP")] - public static + [Slot(726)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (IntPtr)@params_ptr, EntryPoints[726]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: HP_image_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glGetImageTransformParameterivHP")] - public static + [Slot(726)] + public static extern unsafe void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (IntPtr)@params, EntryPoints[726]); - #if DEBUG - } - #endif - } + ; + /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glImageTransformParameterfHP")] - public static + [Slot(1030)] + public static extern void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single)param, EntryPoints[1030]); - #if DEBUG - } - #endif - } + ; + /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glImageTransformParameterfvHP")] - public static + [Slot(1031)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (IntPtr)@params_ptr, EntryPoints[1031]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: HP_image_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glImageTransformParameterfvHP")] - public static + [Slot(1031)] + public static extern unsafe void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (IntPtr)@params, EntryPoints[1031]); - #if DEBUG - } - #endif - } + ; + /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glImageTransformParameteriHP")] - public static + [Slot(1032)] + public static extern void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32)param, EntryPoints[1032]); - #if DEBUG - } - #endif - } + ; + /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glImageTransformParameterivHP")] - public static + [Slot(1033)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (IntPtr)@params_ptr, EntryPoints[1033]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: HP_image_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glImageTransformParameterivHP")] - public static + [Slot(1033)] + public static extern unsafe void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (IntPtr)@params, EntryPoints[1033]); - #if DEBUG - } - #endif - } + ; + } @@ -197175,1446 +129571,557 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glColorPointerListIBM")] - public static + [Slot(236)] + public static extern void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride, EntryPoints[236]); - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glColorPointerListIBM")] - public static + [Slot(236)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[236]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glColorPointerListIBM")] - public static + [Slot(236)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[236]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glColorPointerListIBM")] - public static + [Slot(236)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[236]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glColorPointerListIBM")] - public static + [Slot(236)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[236]); - 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 + [Slot(461)] + public static extern unsafe void EdgeFlagPointerList(Int32 stride, bool*[] pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (bool** pointer_ptr = pointer) - { - InteropHelper.Call((Int32)stride, (IntPtr)pointer_ptr, (Int32)ptrstride, EntryPoints[461]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [System.CLSCompliant(false)] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glEdgeFlagPointerListIBM")] - public static + [Slot(461)] + public static extern unsafe void EdgeFlagPointerList(Int32 stride, ref bool* pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (bool** pointer_ptr = &pointer) - { - InteropHelper.Call((Int32)stride, (IntPtr)pointer_ptr, (Int32)ptrstride, EntryPoints[461]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [System.CLSCompliant(false)] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glEdgeFlagPointerListIBM")] - public static + [Slot(461)] + public static extern unsafe void EdgeFlagPointerList(Int32 stride, bool** pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)stride, (IntPtr)pointer, (Int32)ptrstride, EntryPoints[461]); - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_static_data] [AutoGenerated(Category = "IBM_static_data", Version = "", EntryPoint = "glFlushStaticDataIBM")] - public static + [Slot(528)] + public static extern void FlushStaticData(OpenTK.Graphics.OpenGL.IbmStaticData target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IbmStaticData)target, EntryPoints[528]); - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static + [Slot(544)] + public static extern void FogCoordPointerList(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride, EntryPoints[544]); - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static + [Slot(544)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[544]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static + [Slot(544)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[544]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static + [Slot(544)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[544]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static + [Slot(544)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[544]); - 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 + [Slot(544)] + public static extern void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride, EntryPoints[544]); - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [Obsolete("Use FogPointerType overload instead")] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static + [Slot(544)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[544]); - } - 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 + [Slot(544)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[544]); - } - 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 + [Slot(544)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[544]); - } - 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 + [Slot(544)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[544]); - 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 + [Slot(1047)] + public static extern void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride, EntryPoints[1047]); - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glIndexPointerListIBM")] - public static + [Slot(1047)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[1047]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glIndexPointerListIBM")] - public static + [Slot(1047)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[1047]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glIndexPointerListIBM")] - public static + [Slot(1047)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[1047]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glIndexPointerListIBM")] - public static + [Slot(1047)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[1047]); - 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 + [Slot(1237)] + public static extern 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) - { - InteropHelper.Call((IntPtr)mode_ptr, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, (Int32)modestride, EntryPoints[1237]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawArraysIBM")] - public static + [Slot(1237)] + public static extern 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) - { - InteropHelper.Call((IntPtr)mode_ptr, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)primcount, (Int32)modestride, EntryPoints[1237]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_multimode_draw_arrays] [System.CLSCompliant(false)] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawArraysIBM")] - public static + [Slot(1237)] + public static extern unsafe void MultiModeDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)mode, (IntPtr)first, (IntPtr)count, (Int32)primcount, (Int32)modestride, EntryPoints[1237]); - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static + [Slot(1238)] + public static extern 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) - { - InteropHelper.Call((IntPtr)mode_ptr, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static + [Slot(1238)] + 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 - { - InteropHelper.Call((IntPtr)mode_ptr, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static + [Slot(1238)] + 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 - { - InteropHelper.Call((IntPtr)mode_ptr, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static + [Slot(1238)] + 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 - { - InteropHelper.Call((IntPtr)mode_ptr, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static + [Slot(1238)] + 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 - { - InteropHelper.Call((IntPtr)mode_ptr, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - 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 + [Slot(1238)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.PrimitiveType* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - InteropHelper.Call((IntPtr)mode_ptr, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static + [Slot(1238)] + 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 - { - InteropHelper.Call((IntPtr)mode_ptr, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static + [Slot(1238)] + 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 - { - InteropHelper.Call((IntPtr)mode_ptr, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static + [Slot(1238)] + 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 - { - InteropHelper.Call((IntPtr)mode_ptr, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static + [Slot(1238)] + 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 - { - InteropHelper.Call((IntPtr)mode_ptr, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - 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 + [Slot(1238)] + public static extern 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 - InteropHelper.Call((IntPtr)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_multimode_draw_arrays] [System.CLSCompliant(false)] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static + [Slot(1238)] + 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 - { - InteropHelper.Call((IntPtr)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - } - 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 + [Slot(1238)] + 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 - { - InteropHelper.Call((IntPtr)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - } - 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 + [Slot(1238)] + 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 - { - InteropHelper.Call((IntPtr)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - } - 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 + [Slot(1238)] + 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 - { - InteropHelper.Call((IntPtr)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride, EntryPoints[1238]); - 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 + [Slot(1419)] + public static extern void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride, EntryPoints[1419]); - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glNormalPointerListIBM")] - public static + [Slot(1419)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[1419]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glNormalPointerListIBM")] - public static + [Slot(1419)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[1419]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glNormalPointerListIBM")] - public static + [Slot(1419)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[1419]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glNormalPointerListIBM")] - public static + [Slot(1419)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[1419]); - 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 + [Slot(1853)] + public static extern void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride, EntryPoints[1853]); - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glSecondaryColorPointerListIBM")] - public static + [Slot(1853)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[1853]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glSecondaryColorPointerListIBM")] - public static + [Slot(1853)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[1853]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glSecondaryColorPointerListIBM")] - public static + [Slot(1853)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[1853]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glSecondaryColorPointerListIBM")] - public static + [Slot(1853)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[1853]); - 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 + [Slot(2001)] + public static extern void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride, EntryPoints[2001]); - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glTexCoordPointerListIBM")] - public static + [Slot(2001)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[2001]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glTexCoordPointerListIBM")] - public static + [Slot(2001)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[2001]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glTexCoordPointerListIBM")] - public static + [Slot(2001)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[2001]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glTexCoordPointerListIBM")] - public static + [Slot(2001)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[2001]); - 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 + [Slot(2533)] + public static extern void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride, EntryPoints[2533]); - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glVertexPointerListIBM")] - public static + [Slot(2533)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[2533]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glVertexPointerListIBM")] - public static + [Slot(2533)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[2533]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glVertexPointerListIBM")] - public static + [Slot(2533)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[2533]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glVertexPointerListIBM")] - public static + [Slot(2533)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride, EntryPoints[2533]); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + } @@ -198650,18 +130157,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use IngrBlendFuncSeparate overload instead")] [AutoGenerated(Category = "INGR_blend_func_separate", Version = "", EntryPoint = "glBlendFuncSeparateINGR")] - public static + [Slot(124)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorAlpha, EntryPoints[124]); - #if DEBUG - } - #endif - } + ; + /// [requires: INGR_blend_func_separate] /// Specify pixel arithmetic for RGB and alpha components separately @@ -198692,18 +130192,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INGR_blend_func_separate", Version = "", EntryPoint = "glBlendFuncSeparateINGR")] - public static + [Slot(124)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorAlpha, EntryPoints[124]); - #if DEBUG - } - #endif - } + ; + } @@ -198733,18 +130226,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glColorPointervINTEL")] - public static + [Slot(237)] + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer, EntryPoints[237]); - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of colors @@ -198770,27 +130256,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glColorPointervINTEL")] - public static + [Slot(237)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[237]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of colors @@ -198816,27 +130287,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glColorPointervINTEL")] - public static + [Slot(237)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[237]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of colors @@ -198862,27 +130318,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glColorPointervINTEL")] - public static + [Slot(237)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[237]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of colors @@ -198908,111 +130349,47 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glColorPointervINTEL")] - public static + [Slot(237)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[237]); - 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 + [Slot(1181)] + public static extern 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 = InteropHelper.CallReturn((UInt32)texture, (Int32)level, (UInt32)access, (IntPtr)stride_ptr, (IntPtr)layout_ptr, EntryPoints[1181]); - stride = *stride_ptr; - layout = *layout_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_map_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "INTEL_map_texture", Version = "", EntryPoint = "glMapTexture2DINTEL")] - public static + [Slot(1181)] + public static extern 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 InteropHelper.CallReturn((UInt32)texture, (Int32)level, (UInt32)access, (IntPtr)stride, (IntPtr)layout, EntryPoints[1181]); - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_map_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "INTEL_map_texture", Version = "", EntryPoint = "glMapTexture2DINTEL")] - public static + [Slot(1181)] + public static extern 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 = InteropHelper.CallReturn((UInt32)texture, (Int32)level, (UInt32)access, (IntPtr)stride_ptr, (IntPtr)layout_ptr, EntryPoints[1181]); - stride = *stride_ptr; - layout = *layout_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_map_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "INTEL_map_texture", Version = "", EntryPoint = "glMapTexture2DINTEL")] - public static + [Slot(1181)] + public static extern 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 InteropHelper.CallReturn((UInt32)texture, (Int32)level, (UInt32)access, (IntPtr)stride, (IntPtr)layout, EntryPoints[1181]); - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of normals @@ -199033,18 +130410,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glNormalPointervINTEL")] - public static + [Slot(1420)] + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer, EntryPoints[1420]); - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of normals @@ -199065,27 +130435,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glNormalPointervINTEL")] - public static + [Slot(1420)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1420]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of normals @@ -199106,27 +130461,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glNormalPointervINTEL")] - public static + [Slot(1420)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1420]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of normals @@ -199147,27 +130487,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glNormalPointervINTEL")] - public static + [Slot(1420)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1420]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of normals @@ -199188,59 +130513,29 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glNormalPointervINTEL")] - public static + [Slot(1420)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1420]); - 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 + [Slot(1895)] + public static extern void SyncTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, EntryPoints[1895]); - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_map_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "INTEL_map_texture", Version = "", EntryPoint = "glSyncTextureINTEL")] - public static + [Slot(1895)] + public static extern void SyncTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, EntryPoints[1895]); - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of texture coordinates @@ -199266,18 +130561,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glTexCoordPointervINTEL")] - public static + [Slot(2002)] + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer, EntryPoints[2002]); - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of texture coordinates @@ -199303,27 +130591,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glTexCoordPointervINTEL")] - public static + [Slot(2002)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2002]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of texture coordinates @@ -199349,27 +130622,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glTexCoordPointervINTEL")] - public static + [Slot(2002)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2002]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of texture coordinates @@ -199395,27 +130653,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glTexCoordPointervINTEL")] - public static + [Slot(2002)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2002]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of texture coordinates @@ -199441,59 +130684,29 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glTexCoordPointervINTEL")] - public static + [Slot(2002)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2002]); - 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 + [Slot(2202)] + public static extern void UnmapTexture2D(Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (Int32)level, EntryPoints[2202]); - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_map_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "INTEL_map_texture", Version = "", EntryPoint = "glUnmapTexture2DINTEL")] - public static + [Slot(2202)] + public static extern void UnmapTexture2D(UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (Int32)level, EntryPoints[2202]); - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of vertex data @@ -199519,18 +130732,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glVertexPointervINTEL")] - public static + [Slot(2534)] + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer, EntryPoints[2534]); - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of vertex data @@ -199556,27 +130762,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glVertexPointervINTEL")] - public static + [Slot(2534)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2534]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of vertex data @@ -199602,27 +130793,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glVertexPointervINTEL")] - public static + [Slot(2534)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2534]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of vertex data @@ -199648,27 +130824,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glVertexPointervINTEL")] - public static + [Slot(2534)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2534]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: INTEL_parallel_arrays] /// Define an array of vertex data @@ -199694,28 +130855,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glVertexPointervINTEL")] - public static + [Slot(2534)] + 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 - { - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2534]); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + } @@ -199735,18 +130880,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(347)] + public static extern void DebugMessageCallback(DebugProcKhr callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam, EntryPoints[347]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -199762,27 +130900,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(347)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[347]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -199798,27 +130921,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(347)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[347]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -199834,27 +130942,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(347)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[347]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -199870,28 +130963,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(347)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[347]); - 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 @@ -199927,24 +131004,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(350)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -199980,24 +131044,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(350)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -200034,18 +131085,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(350)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[350]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -200082,24 +131126,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(350)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -200136,24 +131167,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(350)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -200190,18 +131208,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(350)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[350]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -200237,18 +131248,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static + [Slot(355)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (UInt32)id, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)length, (String)buf, EntryPoints[355]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -200285,18 +131289,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static + [Slot(355)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (UInt32)id, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)length, (String)buf, EntryPoints[355]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -200342,28 +131339,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(687)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[687]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -200409,34 +131389,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(687)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[687]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -200483,18 +131440,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(687)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[687]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -200541,28 +131491,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(687)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[687]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -200609,34 +131542,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(687)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[687]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -200683,18 +131593,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(687)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[687]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -200725,24 +131628,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(820)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[820]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -200773,25 +131663,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(820)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[820]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -200823,18 +131699,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(820)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[820]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -200866,24 +131735,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(820)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[820]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -200915,25 +131771,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(820)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[820]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -200965,18 +131807,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(820)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[820]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201002,24 +131837,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[825]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201045,25 +131867,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[825]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201090,18 +131898,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[825]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201127,33 +131928,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[825]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201179,34 +131959,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[825]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201233,27 +131991,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[825]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201279,33 +132022,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[825]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201331,34 +132053,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[825]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201385,27 +132085,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[825]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201431,33 +132116,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[825]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201483,34 +132147,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[825]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201537,27 +132179,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[825]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201583,34 +132210,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[825]); - 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 @@ -201636,35 +132241,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[825]); - 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 @@ -201691,140 +132273,56 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(825)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[825]); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(859)] + public static extern void GetPointer(OpenTK.Graphics.OpenGL.KhrDebug pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)pname, (IntPtr)@params, EntryPoints[859]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(859)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[859]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(859)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[859]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(859)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[859]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(859)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[859]); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -201850,18 +132348,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static + [Slot(1432)] + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[1432]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -201888,18 +132379,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static + [Slot(1432)] + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[1432]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -201920,18 +132404,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(1434)] + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)length, (String)label, EntryPoints[1434]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -201952,27 +132429,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(1434)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[1434]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -201993,27 +132455,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(1434)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[1434]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -202034,27 +132481,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(1434)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[1434]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -202075,45 +132507,22 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(1434)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[1434]); - 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 + [Slot(1516)] + public static extern void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1516]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -202139,18 +132548,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static + [Slot(1698)] + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL.KhrDebug source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[1698]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -202177,18 +132579,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static + [Slot(1698)] + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL.KhrDebug source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.KhrDebug)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[1698]); - #if DEBUG - } - #endif - } + ; + } @@ -202196,18 +132591,11 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: MESA_resize_buffers] [AutoGenerated(Category = "MESA_resize_buffers", Version = "", EntryPoint = "glResizeBuffersMESA")] - public static + [Slot(1784)] + public static extern void ResizeBuffers() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1784]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202218,18 +132606,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2dMESA")] - public static + [Slot(2593)] + public static extern void WindowPos2(Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, EntryPoints[2593]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202240,24 +132621,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2dvMESA")] - public static + [Slot(2596)] + public static extern void WindowPos2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2596]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202268,24 +132636,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2dvMESA")] - public static + [Slot(2596)] + public static extern void WindowPos2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2596]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202297,18 +132652,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2dvMESA")] - public static + [Slot(2596)] + public static extern unsafe void WindowPos2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2596]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202319,18 +132667,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2fMESA")] - public static + [Slot(2599)] + public static extern void WindowPos2(Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, EntryPoints[2599]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202341,24 +132682,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2fvMESA")] - public static + [Slot(2602)] + public static extern void WindowPos2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2602]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202369,24 +132697,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2fvMESA")] - public static + [Slot(2602)] + public static extern void WindowPos2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2602]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202398,18 +132713,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2fvMESA")] - public static + [Slot(2602)] + public static extern unsafe void WindowPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2602]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202420,18 +132728,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2iMESA")] - public static + [Slot(2605)] + public static extern void WindowPos2(Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, EntryPoints[2605]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202442,24 +132743,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2ivMESA")] - public static + [Slot(2608)] + public static extern void WindowPos2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2608]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202470,24 +132758,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2ivMESA")] - public static + [Slot(2608)] + public static extern void WindowPos2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2608]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202499,18 +132774,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2ivMESA")] - public static + [Slot(2608)] + public static extern unsafe void WindowPos2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2608]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202521,18 +132789,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2sMESA")] - public static + [Slot(2611)] + public static extern void WindowPos2(Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, EntryPoints[2611]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202543,24 +132804,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2svMESA")] - public static + [Slot(2614)] + public static extern void WindowPos2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2614]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202571,24 +132819,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2svMESA")] - public static + [Slot(2614)] + public static extern void WindowPos2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2614]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202600,18 +132835,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2svMESA")] - public static + [Slot(2614)] + public static extern unsafe void WindowPos2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2614]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202622,18 +132850,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3dMESA")] - public static + [Slot(2617)] + public static extern void WindowPos3(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, (Double)z, EntryPoints[2617]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202644,24 +132865,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3dvMESA")] - public static + [Slot(2620)] + public static extern void WindowPos3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2620]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202672,24 +132880,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3dvMESA")] - public static + [Slot(2620)] + public static extern void WindowPos3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2620]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202701,18 +132896,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3dvMESA")] - public static + [Slot(2620)] + public static extern unsafe void WindowPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2620]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202723,18 +132911,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3fMESA")] - public static + [Slot(2623)] + public static extern void WindowPos3(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, (Single)z, EntryPoints[2623]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202745,24 +132926,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3fvMESA")] - public static + [Slot(2626)] + public static extern void WindowPos3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2626]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202773,24 +132941,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3fvMESA")] - public static + [Slot(2626)] + public static extern void WindowPos3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2626]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202802,18 +132957,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3fvMESA")] - public static + [Slot(2626)] + public static extern unsafe void WindowPos3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2626]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202824,18 +132972,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3iMESA")] - public static + [Slot(2629)] + public static extern void WindowPos3(Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)z, EntryPoints[2629]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202846,24 +132987,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3ivMESA")] - public static + [Slot(2632)] + public static extern void WindowPos3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2632]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202874,24 +133002,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3ivMESA")] - public static + [Slot(2632)] + public static extern void WindowPos3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2632]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202903,18 +133018,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3ivMESA")] - public static + [Slot(2632)] + public static extern unsafe void WindowPos3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2632]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202925,18 +133033,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3sMESA")] - public static + [Slot(2635)] + public static extern void WindowPos3(Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, (Int16)z, EntryPoints[2635]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202947,24 +133048,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3svMESA")] - public static + [Slot(2638)] + public static extern void WindowPos3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2638]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202975,24 +133063,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3svMESA")] - public static + [Slot(2638)] + public static extern void WindowPos3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2638]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203004,18 +133079,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3svMESA")] - public static + [Slot(2638)] + public static extern unsafe void WindowPos3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2638]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203026,18 +133094,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4dMESA")] - public static + [Slot(2639)] + public static extern void WindowPos4(Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2639]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203048,24 +133109,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4dvMESA")] - public static + [Slot(2640)] + public static extern void WindowPos4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2640]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203076,24 +133124,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4dvMESA")] - public static + [Slot(2640)] + public static extern void WindowPos4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2640]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203105,18 +133140,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4dvMESA")] - public static + [Slot(2640)] + public static extern unsafe void WindowPos4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2640]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203127,18 +133155,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4fMESA")] - public static + [Slot(2641)] + public static extern void WindowPos4(Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[2641]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203149,24 +133170,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4fvMESA")] - public static + [Slot(2642)] + public static extern void WindowPos4(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2642]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203177,24 +133185,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4fvMESA")] - public static + [Slot(2642)] + public static extern void WindowPos4(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2642]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203206,18 +133201,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4fvMESA")] - public static + [Slot(2642)] + public static extern unsafe void WindowPos4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2642]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203228,18 +133216,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4iMESA")] - public static + [Slot(2643)] + public static extern void WindowPos4(Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[2643]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203250,24 +133231,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4ivMESA")] - public static + [Slot(2644)] + public static extern void WindowPos4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2644]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203278,24 +133246,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4ivMESA")] - public static + [Slot(2644)] + public static extern void WindowPos4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2644]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203307,18 +133262,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4ivMESA")] - public static + [Slot(2644)] + public static extern unsafe void WindowPos4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2644]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203329,18 +133277,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4sMESA")] - public static + [Slot(2645)] + public static extern void WindowPos4(Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)x, (Int16)y, (Int16)z, (Int16)w, EntryPoints[2645]); - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203351,24 +133292,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4svMESA")] - public static + [Slot(2646)] + public static extern void WindowPos4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2646]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203379,24 +133307,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4svMESA")] - public static + [Slot(2646)] + public static extern void WindowPos4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2646]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203408,18 +133323,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4svMESA")] - public static + [Slot(2646)] + public static extern unsafe void WindowPos4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2646]); - #if DEBUG - } - #endif - } + ; + } @@ -203427,160 +133335,72 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glActiveVaryingNV")] - public static + [Slot(8)] + public static extern void ActiveVarying(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (String)name, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glActiveVaryingNV")] - public static + [Slot(8)] + public static extern void ActiveVarying(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (String)name, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glAreProgramsResidentNV")] - public static + [Slot(15)] + public static extern 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 InteropHelper.CallReturn((Int32)n, (IntPtr)programs_ptr, (IntPtr)residences_ptr, EntryPoints[15]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glAreProgramsResidentNV")] - public static + [Slot(15)] + public static extern 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 = InteropHelper.CallReturn((Int32)n, (IntPtr)programs_ptr, (IntPtr)residences_ptr, EntryPoints[15]); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glAreProgramsResidentNV")] - public static + [Slot(15)] + public static extern unsafe bool AreProgramsResident(Int32 n, Int32* programs, [OutAttribute] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((Int32)n, (IntPtr)programs, (IntPtr)residences, EntryPoints[15]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glAreProgramsResidentNV")] - public static + [Slot(15)] + public static extern 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 InteropHelper.CallReturn((Int32)n, (IntPtr)programs_ptr, (IntPtr)residences_ptr, EntryPoints[15]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glAreProgramsResidentNV")] - public static + [Slot(15)] + public static extern 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 = InteropHelper.CallReturn((Int32)n, (IntPtr)programs_ptr, (IntPtr)residences_ptr, EntryPoints[15]); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glAreProgramsResidentNV")] - public static + [Slot(15)] + public static extern unsafe bool AreProgramsResident(Int32 n, UInt32* programs, [OutAttribute] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((Int32)n, (IntPtr)programs, (IntPtr)residences, EntryPoints[15]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_conditional_render] /// Start conditional rendering @@ -203596,18 +133416,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_conditional_render", Version = "", EntryPoint = "glBeginConditionalRenderNV")] - public static + [Slot(26)] + public static extern void BeginConditionalRender(Int32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvConditionalRender)mode, EntryPoints[26]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_conditional_render] /// Start conditional rendering @@ -203624,49 +133437,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_conditional_render", Version = "", EntryPoint = "glBeginConditionalRenderNV")] - public static + [Slot(26)] + public static extern void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvConditionalRender)mode, EntryPoints[26]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glBeginOcclusionQueryNV")] - public static + [Slot(29)] + public static extern void BeginOcclusionQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[29]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glBeginOcclusionQueryNV")] - public static + [Slot(29)] + public static extern void BeginOcclusionQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[29]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Start transform feedback operation @@ -203677,49 +133469,28 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBeginTransformFeedbackNV")] - public static + [Slot(36)] + public static extern void BeginTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvTransformFeedback)primitiveMode, EntryPoints[36]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glBeginVideoCaptureNV")] - public static + [Slot(38)] + public static extern void BeginVideoCapture(Int32 video_capture_slot) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, EntryPoints[38]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glBeginVideoCaptureNV")] - public static + [Slot(38)] + public static extern void BeginVideoCapture(UInt32 video_capture_slot) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, EntryPoints[38]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Bind a buffer object to an indexed buffer target @@ -203740,18 +133511,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferBaseNV")] - public static + [Slot(45)] + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.NvTransformFeedback target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, EntryPoints[45]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Bind a buffer object to an indexed buffer target @@ -203773,49 +133537,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferBaseNV")] - public static + [Slot(45)] + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, EntryPoints[45]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferOffsetNV")] - public static + [Slot(47)] + public static extern void BindBufferOffset(OpenTK.Graphics.OpenGL.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, EntryPoints[47]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferOffsetNV")] - public static + [Slot(47)] + public static extern void BindBufferOffset(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, EntryPoints[47]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Bind a range within a buffer object to an indexed buffer target @@ -203846,18 +133589,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferRangeNV")] - public static + [Slot(50)] + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[50]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Bind a range within a buffer object to an indexed buffer target @@ -203889,49 +133625,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferRangeNV")] - public static + [Slot(50)] + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[50]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glBindProgramNV")] - public static + [Slot(67)] + public static extern void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, EntryPoints[67]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glBindProgramNV")] - public static + [Slot(67)] + public static extern void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, EntryPoints[67]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Bind a transform feedback object @@ -203947,18 +133662,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] - public static + [Slot(80)] + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvTransformFeedback2)target, (UInt32)id, EntryPoints[80]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Bind a transform feedback object @@ -203975,141 +133683,78 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] - public static + [Slot(80)] + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvTransformFeedback2)target, (UInt32)id, EntryPoints[80]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glBindVideoCaptureStreamBufferNV")] - public static + [Slot(86)] + public static extern void BindVideoCaptureStreamBuffer(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (IntPtr)offset, EntryPoints[86]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glBindVideoCaptureStreamBufferNV")] - public static + [Slot(86)] + public static extern void BindVideoCaptureStreamBuffer(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (IntPtr)offset, EntryPoints[86]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glBindVideoCaptureStreamTextureNV")] - public static + [Slot(87)] + public static extern 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 - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (OpenTK.Graphics.OpenGL.NvVideoCapture)target, (UInt32)texture, EntryPoints[87]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glBindVideoCaptureStreamTextureNV")] - public static + [Slot(87)] + public static extern 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 - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (OpenTK.Graphics.OpenGL.NvVideoCapture)target, (UInt32)texture, EntryPoints[87]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_blend_equation_advanced] [AutoGenerated(Category = "NV_blend_equation_advanced", Version = "", EntryPoint = "glBlendBarrierNV")] - public static + [Slot(101)] + public static extern void BlendBarrier() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[101]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_blend_equation_advanced] [AutoGenerated(Category = "NV_blend_equation_advanced", Version = "", EntryPoint = "glBlendParameteriNV")] - public static + [Slot(125)] + public static extern void BlendParameter(OpenTK.Graphics.OpenGL.NvBlendEquationAdvanced pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvBlendEquationAdvanced)pname, (Int32)value, EntryPoints[125]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glBufferAddressRangeNV")] - public static + [Slot(128)] + public static extern void BufferAddressRange(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, Int32 index, Int64 address, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)pname, (UInt32)index, (UInt64)address, (IntPtr)length, EntryPoints[128]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glBufferAddressRangeNV")] - public static + [Slot(128)] + public static extern void BufferAddressRange(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, UInt32 index, UInt64 address, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)pname, (UInt32)index, (UInt64)address, (IntPtr)length, EntryPoints[128]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_depth_buffer_float] /// Specify the clear value for the depth buffer @@ -204120,371 +133765,176 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_depth_buffer_float", Version = "", EntryPoint = "glClearDepthdNV")] - public static + [Slot(156)] + public static extern void ClearDepth(Double depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)depth, EntryPoints[156]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor3hNV")] - public static + [Slot(182)] + public static extern void Color3h(Half red, Half green, Half blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Half)red, (Half)green, (Half)blue, EntryPoints[182]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor3hvNV")] - public static + [Slot(183)] + public static extern void Color3h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor3hvNV")] - public static + [Slot(183)] + public static extern void Color3h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor3hvNV")] - public static + [Slot(183)] + public static extern unsafe void Color3h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[183]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor4hNV")] - public static + [Slot(204)] + public static extern void Color4h(Half red, Half green, Half blue, Half alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Half)red, (Half)green, (Half)blue, (Half)alpha, EntryPoints[204]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor4hvNV")] - public static + [Slot(205)] + public static extern void Color4h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[205]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor4hvNV")] - public static + [Slot(205)] + public static extern void Color4h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[205]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor4hvNV")] - public static + [Slot(205)] + public static extern unsafe void Color4h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[205]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glColorFormatNV")] - public static + [Slot(222)] + public static extern void ColorFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride, EntryPoints[222]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerInputNV")] - public static + [Slot(247)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[247]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerOutputNV")] - public static + [Slot(248)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[248]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerParameterfNV")] - public static + [Slot(249)] + public static extern void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single)param, EntryPoints[249]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerParameterfvNV")] - public static + [Slot(250)] + public static extern void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[250]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerParameterfvNV")] - public static + [Slot(250)] + public static extern unsafe void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params, EntryPoints[250]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerParameteriNV")] - public static + [Slot(251)] + public static extern void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32)param, EntryPoints[251]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerParameterivNV")] - public static + [Slot(252)] + public static extern void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[252]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerParameterivNV")] - public static + [Slot(252)] + public static extern unsafe void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params, EntryPoints[252]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners2] [AutoGenerated(Category = "NV_register_combiners2", Version = "", EntryPoint = "glCombinerStageParameterfvNV")] - public static + [Slot(253)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (IntPtr)@params_ptr, EntryPoints[253]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners2] [AutoGenerated(Category = "NV_register_combiners2", Version = "", EntryPoint = "glCombinerStageParameterfvNV")] - public static + [Slot(253)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (IntPtr)@params_ptr, EntryPoints[253]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners2] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners2", Version = "", EntryPoint = "glCombinerStageParameterfvNV")] - public static + [Slot(253)] + public static extern unsafe void CombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (IntPtr)@params, EntryPoints[253]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_copy_image] /// Perform a raw data copy between two images @@ -204560,18 +134010,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_copy_image", Version = "", EntryPoint = "glCopyImageSubDataNV")] - public static + [Slot(305)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[305]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_copy_image] /// Perform a raw data copy between two images @@ -204648,2084 +134091,785 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_copy_image", Version = "", EntryPoint = "glCopyImageSubDataNV")] - public static + [Slot(305)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[305]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCopyPathNV")] - public static + [Slot(311)] + public static extern void CopyPath(Int32 resultPath, Int32 srcPath) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)resultPath, (UInt32)srcPath, EntryPoints[311]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCopyPathNV")] - public static + [Slot(311)] + public static extern void CopyPath(UInt32 resultPath, UInt32 srcPath) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)resultPath, (UInt32)srcPath, EntryPoints[311]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[328]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[328]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[328]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - 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 + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - 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 + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[328]); - 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 + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - 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 + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[328]); - 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 + [Slot(328)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[328]); - 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 + [Slot(329)] + public static extern void CoverFillPath(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, EntryPoints[329]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathNV")] - public static + [Slot(329)] + public static extern void CoverFillPath(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, EntryPoints[329]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[330]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[330]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[330]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - 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 + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - 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 + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[330]); - 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 + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - 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 + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[330]); - 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 + [Slot(330)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[330]); - 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 + [Slot(331)] + public static extern void CoverStrokePath(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, EntryPoints[331]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathNV")] - public static + [Slot(331)] + public static extern void CoverStrokePath(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, EntryPoints[331]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(363)] + public static extern void DeleteFence(Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[363]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(363)] + public static extern void DeleteFence(UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[363]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(363)] + public static extern void DeleteFences(Int32 n, Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[363]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(363)] + public static extern void DeleteFences(Int32 n, ref Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[363]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(363)] + public static extern unsafe void DeleteFences(Int32 n, Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[363]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(363)] + public static extern void DeleteFences(Int32 n, UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[363]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(363)] + public static extern void DeleteFences(Int32 n, ref UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[363]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static + [Slot(363)] + public static extern unsafe void DeleteFences(Int32 n, UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[363]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static + [Slot(371)] + public static extern void DeleteOcclusionQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[371]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static + [Slot(371)] + public static extern void DeleteOcclusionQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[371]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static + [Slot(371)] + public static extern void DeleteOcclusionQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[371]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static + [Slot(371)] + public static extern void DeleteOcclusionQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[371]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static + [Slot(371)] + public static extern unsafe void DeleteOcclusionQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[371]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static + [Slot(371)] + public static extern void DeleteOcclusionQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[371]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static + [Slot(371)] + public static extern void DeleteOcclusionQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[371]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static + [Slot(371)] + public static extern unsafe void DeleteOcclusionQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[371]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glDeletePathsNV")] - public static + [Slot(372)] + public static extern void DeletePath(Int32 path, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (Int32)range, EntryPoints[372]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glDeletePathsNV")] - public static + [Slot(372)] + public static extern void DeletePath(UInt32 path, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (Int32)range, EntryPoints[372]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Deletes a program object @@ -206736,23 +134880,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static + [Slot(378)] + public static extern void DeleteProgram(Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* programs_ptr = (UInt32*)&programs; - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[378]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Deletes a program object @@ -206764,23 +134896,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static + [Slot(378)] + public static extern void DeleteProgram(UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* programs_ptr = (UInt32*)&programs; - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[378]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Deletes a program object @@ -206791,24 +134911,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static + [Slot(378)] + public static extern void DeleteProgram(Int32 n, Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[378]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Deletes a program object @@ -206819,24 +134926,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static + [Slot(378)] + public static extern void DeleteProgram(Int32 n, ref Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[378]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Deletes a program object @@ -206848,18 +134942,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static + [Slot(378)] + public static extern unsafe void DeleteProgram(Int32 n, Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)programs, EntryPoints[378]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Deletes a program object @@ -206871,24 +134958,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static + [Slot(378)] + public static extern void DeleteProgram(Int32 n, UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[378]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Deletes a program object @@ -206900,24 +134974,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static + [Slot(378)] + public static extern void DeleteProgram(Int32 n, ref UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[378]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Deletes a program object @@ -206929,59 +134990,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static + [Slot(378)] + public static extern unsafe void DeleteProgram(Int32 n, UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)programs, EntryPoints[378]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static + [Slot(389)] + public static extern void DeleteTransformFeedback(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[389]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static + [Slot(389)] + public static extern void DeleteTransformFeedback(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[389]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Delete transform feedback objects @@ -206997,24 +135027,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static + [Slot(389)] + public static extern void DeleteTransformFeedbacks(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[389]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Delete transform feedback objects @@ -207030,24 +135047,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static + [Slot(389)] + public static extern void DeleteTransformFeedbacks(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[389]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Delete transform feedback objects @@ -207064,18 +135068,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static + [Slot(389)] + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[389]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Delete transform feedback objects @@ -207092,24 +135089,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static + [Slot(389)] + public static extern void DeleteTransformFeedbacks(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[389]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Delete transform feedback objects @@ -207126,24 +135110,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static + [Slot(389)] + public static extern void DeleteTransformFeedbacks(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[389]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Delete transform feedback objects @@ -207160,33 +135131,19 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static + [Slot(389)] + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[389]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_depth_buffer_float] [AutoGenerated(Category = "NV_depth_buffer_float", Version = "", EntryPoint = "glDepthBoundsdNV")] - public static + [Slot(393)] + public static extern void DepthBounds(Double zmin, Double zmax) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)zmin, (Double)zmax, EntryPoints[393]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_depth_buffer_float] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -207202,49 +135159,28 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_depth_buffer_float", Version = "", EntryPoint = "glDepthRangedNV")] - public static + [Slot(399)] + public static extern void DepthRange(Double zNear, Double zFar) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)zNear, (Double)zFar, EntryPoints[399]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_texture] [AutoGenerated(Category = "NV_draw_texture", Version = "", EntryPoint = "glDrawTextureNV")] - public static + [Slot(451)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (UInt32)sampler, (Single)x0, (Single)y0, (Single)x1, (Single)y1, (Single)z, (Single)s0, (Single)t0, (Single)s1, (Single)t1, EntryPoints[451]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_draw_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_draw_texture", Version = "", EntryPoint = "glDrawTextureNV")] - public static + [Slot(451)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (UInt32)sampler, (Single)x0, (Single)y0, (Single)x1, (Single)y1, (Single)z, (Single)s0, (Single)t0, (Single)s1, (Single)t1, EntryPoints[451]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Render primitives using a count derived from a transform feedback object @@ -207261,18 +135197,11 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] - public static + [Slot(454)] + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, EntryPoints[454]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Render primitives using a count derived from a transform feedback object @@ -207290,18 +135219,11 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] - public static + [Slot(454)] + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, EntryPoints[454]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Render primitives using a count derived from a transform feedback object @@ -207317,18 +135239,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] - public static + [Slot(454)] + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, EntryPoints[454]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Render primitives using a count derived from a transform feedback object @@ -207345,827 +135260,382 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] - public static + [Slot(454)] + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, EntryPoints[454]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glEdgeFlagFormatNV")] - public static + [Slot(458)] + public static extern void EdgeFlagFormat(Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)stride, EntryPoints[458]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_conditional_render] [AutoGenerated(Category = "NV_conditional_render", Version = "", EntryPoint = "glEndConditionalRenderNV")] - public static + [Slot(479)] + public static extern void EndConditionalRender() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[479]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glEndOcclusionQueryNV")] - public static + [Slot(483)] + public static extern void EndOcclusionQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[483]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glEndTransformFeedbackNV")] - public static + [Slot(490)] + public static extern void EndTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[490]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glEndVideoCaptureNV")] - public static + [Slot(492)] + public static extern void EndVideoCapture(Int32 video_capture_slot) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, EntryPoints[492]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glEndVideoCaptureNV")] - public static + [Slot(492)] + public static extern void EndVideoCapture(UInt32 video_capture_slot) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, EntryPoints[492]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glEvalMapsNV")] - public static + [Slot(505)] + public static extern void EvalMap(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)mode, EntryPoints[505]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glExecuteProgramNV")] - public static + [Slot(510)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (IntPtr)@params_ptr, EntryPoints[510]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glExecuteProgramNV")] - public static + [Slot(510)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (IntPtr)@params_ptr, EntryPoints[510]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glExecuteProgramNV")] - public static + [Slot(510)] + public static extern unsafe void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (IntPtr)@params, EntryPoints[510]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glExecuteProgramNV")] - public static + [Slot(510)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (IntPtr)@params_ptr, EntryPoints[510]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glExecuteProgramNV")] - public static + [Slot(510)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (IntPtr)@params_ptr, EntryPoints[510]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glExecuteProgramNV")] - public static + [Slot(510)] + public static extern unsafe void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (IntPtr)@params, EntryPoints[510]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glFinalCombinerInputNV")] - public static + [Slot(515)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)input, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)mapping, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)componentUsage, EntryPoints[515]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static + [Slot(519)] + public static extern void FinishFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, EntryPoints[519]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static + [Slot(519)] + public static extern void FinishFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, EntryPoints[519]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_pixel_data_range] [AutoGenerated(Category = "NV_pixel_data_range", Version = "", EntryPoint = "glFlushPixelDataRangeNV")] - public static + [Slot(526)] + public static extern void FlushPixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, EntryPoints[526]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_array_range] [AutoGenerated(Category = "NV_vertex_array_range", Version = "", EntryPoint = "glFlushVertexArrayRangeNV")] - public static + [Slot(530)] + public static extern void FlushVertexArrayRange() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[530]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glFogCoordFormatNV")] - public static + [Slot(537)] + public static extern void FogCoordFormat(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride, EntryPoints[537]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glFogCoordhNV")] - public static + [Slot(540)] + public static extern void FogCoordh(Half fog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Half)fog, EntryPoints[540]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glFogCoordhvNV")] - public static + [Slot(541)] + public static extern unsafe void FogCoordh(Half* fog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)fog, EntryPoints[541]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(600)] + public static extern Int32 GenFence() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* fences_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[600]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(600)] + public static extern void GenFences(Int32 n, [OutAttribute] Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[600]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(600)] + public static extern void GenFences(Int32 n, [OutAttribute] out Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[600]); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(600)] + public static extern unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[600]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(600)] + public static extern void GenFences(Int32 n, [OutAttribute] UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[600]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(600)] + public static extern void GenFences(Int32 n, [OutAttribute] out UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - InteropHelper.Call((Int32)n, (IntPtr)fences_ptr, EntryPoints[600]); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static + [Slot(600)] + public static extern unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)fences, EntryPoints[600]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static + [Slot(606)] + public static extern Int32 GenOcclusionQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[606]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static + [Slot(606)] + public static extern void GenOcclusionQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[606]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static + [Slot(606)] + public static extern void GenOcclusionQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[606]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static + [Slot(606)] + public static extern unsafe void GenOcclusionQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[606]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static + [Slot(606)] + public static extern void GenOcclusionQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[606]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static + [Slot(606)] + public static extern void GenOcclusionQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[606]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static + [Slot(606)] + public static extern unsafe void GenOcclusionQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[606]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGenPathsNV")] - public static + [Slot(607)] + public static extern Int32 GenPath(Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((Int32)range, EntryPoints[607]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static + [Slot(612)] + public static extern Int32 GenProgram() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* programs_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[612]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static + [Slot(612)] + public static extern void GenProgram(Int32 n, [OutAttribute] Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[612]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static + [Slot(612)] + public static extern void GenProgram(Int32 n, [OutAttribute] out Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[612]); - programs = *programs_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static + [Slot(612)] + public static extern unsafe void GenProgram(Int32 n, [OutAttribute] Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)programs, EntryPoints[612]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static + [Slot(612)] + public static extern void GenProgram(Int32 n, [OutAttribute] UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[612]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static + [Slot(612)] + public static extern void GenProgram(Int32 n, [OutAttribute] out UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[612]); - programs = *programs_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static + [Slot(612)] + public static extern unsafe void GenProgram(Int32 n, [OutAttribute] UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)programs, EntryPoints[612]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static + [Slot(622)] + public static extern Int32 GenTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[622]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Reserve transform feedback object names @@ -208181,24 +135651,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static + [Slot(622)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[622]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Reserve transform feedback object names @@ -208214,25 +135671,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static + [Slot(622)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[622]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Reserve transform feedback object names @@ -208249,18 +135692,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static + [Slot(622)] + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[622]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Reserve transform feedback object names @@ -208277,24 +135713,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static + [Slot(622)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[622]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Reserve transform feedback object names @@ -208311,25 +135734,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static + [Slot(622)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[622]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Reserve transform feedback object names @@ -208346,103 +135755,46 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static + [Slot(622)] + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[622]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetActiveVaryingNV")] - public static + [Slot(638)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[638]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetActiveVaryingNV")] - public static + [Slot(638)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[638]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetActiveVaryingNV")] - public static + [Slot(638)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[638]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetActiveVaryingNV")] - public static + [Slot(638)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[638]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Return parameters of a buffer object @@ -208463,24 +135815,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetBufferParameterui64vNV")] - public static + [Slot(651)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (IntPtr)@params_ptr, EntryPoints[651]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Return parameters of a buffer object @@ -208501,25 +135840,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetBufferParameterui64vNV")] - public static + [Slot(651)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (IntPtr)@params_ptr, EntryPoints[651]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Return parameters of a buffer object @@ -208541,18 +135866,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetBufferParameterui64vNV")] - public static + [Slot(651)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (IntPtr)@params, EntryPoints[651]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Return parameters of a buffer object @@ -208574,24 +135892,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetBufferParameterui64vNV")] - public static + [Slot(651)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (IntPtr)@params_ptr, EntryPoints[651]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Return parameters of a buffer object @@ -208613,25 +135918,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetBufferParameterui64vNV")] - public static + [Slot(651)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (IntPtr)@params_ptr, EntryPoints[651]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Return parameters of a buffer object @@ -208653,1430 +135944,614 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetBufferParameterui64vNV")] - public static + [Slot(651)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (IntPtr)@params, EntryPoints[651]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerInputParameterfvNV")] - public static + [Slot(668)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[668]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerInputParameterfvNV")] - public static + [Slot(668)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[668]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerInputParameterfvNV")] - public static + [Slot(668)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params, EntryPoints[668]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerInputParameterivNV")] - public static + [Slot(669)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[669]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerInputParameterivNV")] - public static + [Slot(669)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[669]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerInputParameterivNV")] - public static + [Slot(669)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params, EntryPoints[669]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerOutputParameterfvNV")] - public static + [Slot(670)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[670]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerOutputParameterfvNV")] - public static + [Slot(670)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[670]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerOutputParameterfvNV")] - public static + [Slot(670)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params, EntryPoints[670]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerOutputParameterivNV")] - public static + [Slot(671)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[671]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerOutputParameterivNV")] - public static + [Slot(671)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[671]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerOutputParameterivNV")] - public static + [Slot(671)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params, EntryPoints[671]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners2] [AutoGenerated(Category = "NV_register_combiners2", Version = "", EntryPoint = "glGetCombinerStageParameterfvNV")] - public static + [Slot(672)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (IntPtr)@params_ptr, EntryPoints[672]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners2] [AutoGenerated(Category = "NV_register_combiners2", Version = "", EntryPoint = "glGetCombinerStageParameterfvNV")] - public static + [Slot(672)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (IntPtr)@params_ptr, EntryPoints[672]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners2] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners2", Version = "", EntryPoint = "glGetCombinerStageParameterfvNV")] - public static + [Slot(672)] + public static extern unsafe void GetCombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (IntPtr)@params, EntryPoints[672]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(694)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (IntPtr)@params_ptr, EntryPoints[694]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(694)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (IntPtr)@params_ptr, EntryPoints[694]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(694)] + public static extern unsafe void GetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (IntPtr)@params, EntryPoints[694]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(694)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (IntPtr)@params_ptr, EntryPoints[694]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(694)] + public static extern 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) - { - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (IntPtr)@params_ptr, EntryPoints[694]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static + [Slot(694)] + public static extern unsafe void GetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (IntPtr)@params, EntryPoints[694]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] - public static + [Slot(695)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[695]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] - public static + [Slot(695)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[695]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] - public static + [Slot(695)] + public static extern unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params, EntryPoints[695]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetFinalCombinerInputParameterivNV")] - public static + [Slot(696)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[696]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetFinalCombinerInputParameterivNV")] - public static + [Slot(696)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params_ptr, EntryPoints[696]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetFinalCombinerInputParameterivNV")] - public static + [Slot(696)] + public static extern unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (IntPtr)@params, EntryPoints[696]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glGetImageHandleNV")] - public static + [Slot(724)] + public static extern Int64 GetImageHandle(Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.NvBindlessTexture format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.NvBindlessTexture)format, EntryPoints[724]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glGetImageHandleNV")] - public static + [Slot(724)] + public static extern Int64 GetImageHandle(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.NvBindlessTexture format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.NvBindlessTexture)format, EntryPoints[724]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glGetIntegerui64i_vNV")] - public static + [Slot(733)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (IntPtr)result_ptr, EntryPoints[733]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glGetIntegerui64i_vNV")] - public static + [Slot(733)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (IntPtr)result_ptr, EntryPoints[733]); - result = *result_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glGetIntegerui64i_vNV")] - public static + [Slot(733)] + public static extern unsafe void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, Int32 index, [OutAttribute] Int64* result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (IntPtr)result, EntryPoints[733]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glGetIntegerui64i_vNV")] - public static + [Slot(733)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (IntPtr)result_ptr, EntryPoints[733]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glGetIntegerui64i_vNV")] - public static + [Slot(733)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (IntPtr)result_ptr, EntryPoints[733]); - result = *result_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glGetIntegerui64i_vNV")] - public static + [Slot(733)] + public static extern unsafe void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] UInt64* result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (IntPtr)result, EntryPoints[733]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static + [Slot(734)] + public static extern Int64 GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* result_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (IntPtr)result_ptr, EntryPoints[734]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static + [Slot(734)] + public static extern void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] Int64[] result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* result_ptr = result) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (IntPtr)result_ptr, EntryPoints[734]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static + [Slot(734)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (IntPtr)result_ptr, EntryPoints[734]); - result = *result_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static + [Slot(734)] + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] Int64* result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (IntPtr)result, EntryPoints[734]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static + [Slot(734)] + public static extern void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64[] result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* result_ptr = result) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (IntPtr)result_ptr, EntryPoints[734]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static + [Slot(734)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (IntPtr)result_ptr, EntryPoints[734]); - result = *result_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static + [Slot(734)] + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64* result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (IntPtr)result, EntryPoints[734]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterfvNV")] - public static + [Slot(750)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[750]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterfvNV")] - public static + [Slot(750)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[750]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterfvNV")] - public static + [Slot(750)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params, EntryPoints[750]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterfvNV")] - public static + [Slot(750)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[750]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterfvNV")] - public static + [Slot(750)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[750]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterfvNV")] - public static + [Slot(750)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params, EntryPoints[750]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterivNV")] - public static + [Slot(751)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[751]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterivNV")] - public static + [Slot(751)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[751]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterivNV")] - public static + [Slot(751)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params, EntryPoints[751]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterivNV")] - public static + [Slot(751)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[751]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterivNV")] - public static + [Slot(751)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[751]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterivNV")] - public static + [Slot(751)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params, EntryPoints[751]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static + [Slot(752)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points, EntryPoints[752]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static + [Slot(752)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject(), EntryPoints[752]); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static + [Slot(752)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject(), EntryPoints[752]); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static + [Slot(752)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject(), EntryPoints[752]); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static + [Slot(752)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject(), EntryPoints[752]); - 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 + [Slot(752)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points, EntryPoints[752]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static + [Slot(752)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject(), EntryPoints[752]); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static + [Slot(752)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject(), EntryPoints[752]); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static + [Slot(752)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject(), EntryPoints[752]); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static + [Slot(752)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject(), EntryPoints[752]); - points = (T6)points_ptr.Target; - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapParameterfvNV")] - public static + [Slot(756)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[756]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapParameterfvNV")] - public static + [Slot(756)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[756]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapParameterfvNV")] - public static + [Slot(756)] + public static extern unsafe void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params, EntryPoints[756]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapParameterivNV")] - public static + [Slot(757)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[757]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapParameterivNV")] - public static + [Slot(757)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[757]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapParameterivNV")] - public static + [Slot(757)] + public static extern unsafe void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params, EntryPoints[757]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_explicit_multisample] /// Retrieve the location of a sample @@ -210097,24 +136572,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static + [Slot(770)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[770]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_explicit_multisample] /// Retrieve the location of a sample @@ -210135,25 +136597,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static + [Slot(770)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[770]); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_explicit_multisample] /// Retrieve the location of a sample @@ -210175,18 +136623,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static + [Slot(770)] + public static extern unsafe void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, Int32 index, [OutAttribute] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (IntPtr)val, EntryPoints[770]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_explicit_multisample] /// Retrieve the location of a sample @@ -210208,24 +136649,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static + [Slot(770)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[770]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_explicit_multisample] /// Retrieve the location of a sample @@ -210247,25 +136675,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static + [Slot(770)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[770]); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_explicit_multisample] /// Retrieve the location of a sample @@ -210287,3260 +136701,1269 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static + [Slot(770)] + public static extern unsafe void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (IntPtr)val, EntryPoints[770]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetNamedBufferParameterui64vNV")] - public static + [Slot(784)] + public static extern 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) - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (IntPtr)@params_ptr, EntryPoints[784]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetNamedBufferParameterui64vNV")] - public static + [Slot(784)] + public static extern 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) - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (IntPtr)@params_ptr, EntryPoints[784]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetNamedBufferParameterui64vNV")] - public static + [Slot(784)] + public static extern unsafe void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (IntPtr)@params, EntryPoints[784]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetNamedBufferParameterui64vNV")] - public static + [Slot(784)] + public static extern 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) - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (IntPtr)@params_ptr, EntryPoints[784]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetNamedBufferParameterui64vNV")] - public static + [Slot(784)] + public static extern 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) - { - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (IntPtr)@params_ptr, EntryPoints[784]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetNamedBufferParameterui64vNV")] - public static + [Slot(784)] + public static extern unsafe void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (IntPtr)@params, EntryPoints[784]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryivNV")] - public static + [Slot(826)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[826]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryivNV")] - public static + [Slot(826)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[826]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryivNV")] - public static + [Slot(826)] + public static extern unsafe void GetOcclusionQuery(Int32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (IntPtr)@params, EntryPoints[826]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryivNV")] - public static + [Slot(826)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[826]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryivNV")] - public static + [Slot(826)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[826]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryivNV")] - public static + [Slot(826)] + public static extern unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (IntPtr)@params, EntryPoints[826]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryuivNV")] - public static + [Slot(827)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[827]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryuivNV")] - public static + [Slot(827)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (IntPtr)@params_ptr, EntryPoints[827]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryuivNV")] - public static + [Slot(827)] + public static extern unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (IntPtr)@params, EntryPoints[827]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathColorGenfvNV")] - public static + [Slot(828)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[828]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathColorGenfvNV")] - public static + [Slot(828)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[828]); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathColorGenfvNV")] - public static + [Slot(828)] + public static extern unsafe void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value, EntryPoints[828]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathColorGenivNV")] - public static + [Slot(829)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[829]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathColorGenivNV")] - public static + [Slot(829)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[829]); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathColorGenivNV")] - public static + [Slot(829)] + public static extern unsafe void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value, EntryPoints[829]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static + [Slot(830)] + public static extern Byte GetPathCommand(Int32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Byte retval; - Byte* commands_ptr = &retval; - InteropHelper.Call((UInt32)path, (IntPtr)commands_ptr, EntryPoints[830]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static + [Slot(830)] + public static extern Byte GetPathCommand(UInt32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Byte retval; - Byte* commands_ptr = &retval; - InteropHelper.Call((UInt32)path, (IntPtr)commands_ptr, EntryPoints[830]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static + [Slot(830)] + public static extern void GetPathCommands(Int32 path, [OutAttribute] Byte[] commands) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - InteropHelper.Call((UInt32)path, (IntPtr)commands_ptr, EntryPoints[830]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static + [Slot(830)] + public static extern void GetPathCommands(Int32 path, [OutAttribute] out Byte commands) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - InteropHelper.Call((UInt32)path, (IntPtr)commands_ptr, EntryPoints[830]); - commands = *commands_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static + [Slot(830)] + public static extern unsafe void GetPathCommands(Int32 path, [OutAttribute] Byte* commands) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (IntPtr)commands, EntryPoints[830]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static + [Slot(830)] + public static extern void GetPathCommands(UInt32 path, [OutAttribute] Byte[] commands) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - InteropHelper.Call((UInt32)path, (IntPtr)commands_ptr, EntryPoints[830]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static + [Slot(830)] + public static extern void GetPathCommands(UInt32 path, [OutAttribute] out Byte commands) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - InteropHelper.Call((UInt32)path, (IntPtr)commands_ptr, EntryPoints[830]); - commands = *commands_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static + [Slot(830)] + public static extern unsafe void GetPathCommands(UInt32 path, [OutAttribute] Byte* commands) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (IntPtr)commands, EntryPoints[830]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static + [Slot(831)] + public static extern Single GetPathCoord(Int32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* coords_ptr = &retval; - InteropHelper.Call((UInt32)path, (IntPtr)coords_ptr, EntryPoints[831]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static + [Slot(831)] + public static extern Single GetPathCoord(UInt32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* coords_ptr = &retval; - InteropHelper.Call((UInt32)path, (IntPtr)coords_ptr, EntryPoints[831]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static + [Slot(831)] + public static extern void GetPathCoords(Int32 path, [OutAttribute] Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - InteropHelper.Call((UInt32)path, (IntPtr)coords_ptr, EntryPoints[831]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static + [Slot(831)] + public static extern void GetPathCoords(Int32 path, [OutAttribute] out Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - InteropHelper.Call((UInt32)path, (IntPtr)coords_ptr, EntryPoints[831]); - coords = *coords_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static + [Slot(831)] + public static extern unsafe void GetPathCoords(Int32 path, [OutAttribute] Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (IntPtr)coords, EntryPoints[831]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static + [Slot(831)] + public static extern void GetPathCoords(UInt32 path, [OutAttribute] Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - InteropHelper.Call((UInt32)path, (IntPtr)coords_ptr, EntryPoints[831]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static + [Slot(831)] + public static extern void GetPathCoords(UInt32 path, [OutAttribute] out Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - InteropHelper.Call((UInt32)path, (IntPtr)coords_ptr, EntryPoints[831]); - coords = *coords_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static + [Slot(831)] + public static extern unsafe void GetPathCoords(UInt32 path, [OutAttribute] Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (IntPtr)coords, EntryPoints[831]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static + [Slot(832)] + public static extern Single GetPathDashArray(Int32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* dashArray_ptr = &retval; - InteropHelper.Call((UInt32)path, (IntPtr)dashArray_ptr, EntryPoints[832]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static + [Slot(832)] + public static extern Single GetPathDashArray(UInt32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* dashArray_ptr = &retval; - InteropHelper.Call((UInt32)path, (IntPtr)dashArray_ptr, EntryPoints[832]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static + [Slot(832)] + public static extern void GetPathDashArray(Int32 path, [OutAttribute] Single[] dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = dashArray) - { - InteropHelper.Call((UInt32)path, (IntPtr)dashArray_ptr, EntryPoints[832]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static + [Slot(832)] + public static extern void GetPathDashArray(Int32 path, [OutAttribute] out Single dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = &dashArray) - { - InteropHelper.Call((UInt32)path, (IntPtr)dashArray_ptr, EntryPoints[832]); - dashArray = *dashArray_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static + [Slot(832)] + public static extern unsafe void GetPathDashArray(Int32 path, [OutAttribute] Single* dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (IntPtr)dashArray, EntryPoints[832]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static + [Slot(832)] + public static extern void GetPathDashArray(UInt32 path, [OutAttribute] Single[] dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = dashArray) - { - InteropHelper.Call((UInt32)path, (IntPtr)dashArray_ptr, EntryPoints[832]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static + [Slot(832)] + public static extern void GetPathDashArray(UInt32 path, [OutAttribute] out Single dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = &dashArray) - { - InteropHelper.Call((UInt32)path, (IntPtr)dashArray_ptr, EntryPoints[832]); - dashArray = *dashArray_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static + [Slot(832)] + public static extern unsafe void GetPathDashArray(UInt32 path, [OutAttribute] Single* dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (IntPtr)dashArray, EntryPoints[832]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathLengthNV")] - public static + [Slot(833)] + public static extern Single GetPathLength(Int32 path, Int32 startSegment, Int32 numSegments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)path, (Int32)startSegment, (Int32)numSegments, EntryPoints[833]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathLengthNV")] - public static + [Slot(833)] + public static extern Single GetPathLength(UInt32 path, Int32 startSegment, Int32 numSegments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)path, (Int32)startSegment, (Int32)numSegments, EntryPoints[833]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricRangeNV")] - public static + [Slot(834)] + public static extern 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) - { - InteropHelper.Call((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[834]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricRangeNV")] - public static + [Slot(834)] + public static extern 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) - { - InteropHelper.Call((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[834]); - metrics = *metrics_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricRangeNV")] - public static + [Slot(834)] + public static extern unsafe void GetPathMetricRange(Int32 metricQueryMask, Int32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single* metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (IntPtr)metrics, EntryPoints[834]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricRangeNV")] - public static + [Slot(834)] + public static extern 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) - { - InteropHelper.Call((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[834]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricRangeNV")] - public static + [Slot(834)] + public static extern 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) - { - InteropHelper.Call((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[834]); - metrics = *metrics_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricRangeNV")] - public static + [Slot(834)] + public static extern unsafe void GetPathMetricRange(UInt32 metricQueryMask, UInt32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single* metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (IntPtr)metrics, EntryPoints[834]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + public static extern 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) - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + public static extern 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) - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - metrics = *metrics_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + public static extern 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 - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (IntPtr)metrics, EntryPoints[835]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - 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 + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics, EntryPoints[835]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - 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 + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics, EntryPoints[835]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - 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 + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics, EntryPoints[835]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - 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 + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - 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 + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics, EntryPoints[835]); - 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 + [Slot(835)] + public static extern 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) - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + public static extern 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) - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - metrics = *metrics_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + public static extern 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 - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (IntPtr)metrics, EntryPoints[835]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - 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 + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics, EntryPoints[835]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - 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 + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics, EntryPoints[835]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - 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 + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics, EntryPoints[835]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - 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 + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics_ptr, EntryPoints[835]); - 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 + [Slot(835)] + 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 - { - InteropHelper.Call((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (IntPtr)metrics, EntryPoints[835]); - 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 + [Slot(836)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[836]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterfvNV")] - public static + [Slot(836)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[836]); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterfvNV")] - public static + [Slot(836)] + public static extern unsafe void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value, EntryPoints[836]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterfvNV")] - public static + [Slot(836)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[836]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterfvNV")] - public static + [Slot(836)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[836]); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterfvNV")] - public static + [Slot(836)] + public static extern unsafe void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value, EntryPoints[836]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterivNV")] - public static + [Slot(837)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[837]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterivNV")] - public static + [Slot(837)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[837]); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterivNV")] - public static + [Slot(837)] + public static extern unsafe void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value, EntryPoints[837]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterivNV")] - public static + [Slot(837)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[837]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterivNV")] - public static + [Slot(837)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[837]); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterivNV")] - public static + [Slot(837)] + public static extern unsafe void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value, EntryPoints[837]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = returnedSpacing) - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = &returnedSpacing) - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - returnedSpacing = *returnedSpacing_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, (IntPtr)returnedSpacing, EntryPoints[838]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = returnedSpacing) - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = &returnedSpacing) - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - returnedSpacing = *returnedSpacing_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, (IntPtr)returnedSpacing, EntryPoints[838]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - 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 + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing, EntryPoints[838]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - 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 + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing, EntryPoints[838]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - 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 + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing, EntryPoints[838]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - 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 + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing, EntryPoints[838]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - 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 + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing, EntryPoints[838]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - 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 + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing, EntryPoints[838]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - 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 + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - 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 + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing, EntryPoints[838]); - 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 + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - 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 + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing_ptr, EntryPoints[838]); - 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 + [Slot(838)] + 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 - { - InteropHelper.Call((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, (IntPtr)returnedSpacing, EntryPoints[838]); - 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 + [Slot(839)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[839]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathTexGenfvNV")] - public static + [Slot(839)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[839]); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathTexGenfvNV")] - public static + [Slot(839)] + public static extern unsafe void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value, EntryPoints[839]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathTexGenivNV")] - public static + [Slot(840)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[840]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathTexGenivNV")] - public static + [Slot(840)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[840]); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathTexGenivNV")] - public static + [Slot(840)] + public static extern unsafe void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value, EntryPoints[840]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static + [Slot(864)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[864]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static + [Slot(864)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[864]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static + [Slot(864)] + public static extern unsafe void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params, EntryPoints[864]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static + [Slot(864)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[864]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static + [Slot(864)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[864]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static + [Slot(864)] + public static extern unsafe void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params, EntryPoints[864]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIuivNV")] - public static + [Slot(865)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[865]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIuivNV")] - public static + [Slot(865)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[865]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIuivNV")] - public static + [Slot(865)] + public static extern unsafe void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params, EntryPoints[865]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Returns a parameter from a program object @@ -213561,24 +137984,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static + [Slot(870)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params_ptr, EntryPoints[870]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Returns a parameter from a program object @@ -213599,25 +138009,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static + [Slot(870)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params_ptr, EntryPoints[870]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Returns a parameter from a program object @@ -213639,18 +138035,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static + [Slot(870)] + public static extern unsafe void GetProgram(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params, EntryPoints[870]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Returns a parameter from a program object @@ -213672,24 +138061,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static + [Slot(870)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params_ptr, EntryPoints[870]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Returns a parameter from a program object @@ -213711,25 +138087,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static + [Slot(870)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params_ptr, EntryPoints[870]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Returns a parameter from a program object @@ -213751,1066 +138113,471 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static + [Slot(870)] + public static extern unsafe void GetProgram(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params, EntryPoints[870]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static + [Slot(873)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[873]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static + [Slot(873)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[873]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static + [Slot(873)] + public static extern unsafe void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params, EntryPoints[873]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static + [Slot(873)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[873]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static + [Slot(873)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[873]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static + [Slot(873)] + public static extern unsafe void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params, EntryPoints[873]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIuivNV")] - public static + [Slot(874)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[874]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIuivNV")] - public static + [Slot(874)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[874]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIuivNV")] - public static + [Slot(874)] + public static extern unsafe void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params, EntryPoints[874]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static + [Slot(875)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)@params_ptr, EntryPoints[875]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static + [Slot(875)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)@params_ptr, EntryPoints[875]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static + [Slot(875)] + public static extern unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name, (IntPtr)@params, EntryPoints[875]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static + [Slot(875)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)@params_ptr, EntryPoints[875]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static + [Slot(875)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)@params_ptr, EntryPoints[875]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static + [Slot(875)] + public static extern unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name, (IntPtr)@params, EntryPoints[875]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static + [Slot(876)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)@params_ptr, EntryPoints[876]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static + [Slot(876)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)@params_ptr, EntryPoints[876]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static + [Slot(876)] + public static extern unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name, (IntPtr)@params, EntryPoints[876]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static + [Slot(876)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)@params_ptr, EntryPoints[876]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static + [Slot(876)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)@params_ptr, EntryPoints[876]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static + [Slot(876)] + public static extern unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name, (IntPtr)@params, EntryPoints[876]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterdvNV")] - public static + [Slot(877)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[877]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterdvNV")] - public static + [Slot(877)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[877]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterdvNV")] - public static + [Slot(877)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params, EntryPoints[877]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterdvNV")] - public static + [Slot(877)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[877]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterdvNV")] - public static + [Slot(877)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[877]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterdvNV")] - public static + [Slot(877)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params, EntryPoints[877]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterfvNV")] - public static + [Slot(878)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[878]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterfvNV")] - public static + [Slot(878)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[878]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterfvNV")] - public static + [Slot(878)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params, EntryPoints[878]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterfvNV")] - public static + [Slot(878)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[878]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterfvNV")] - public static + [Slot(878)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[878]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterfvNV")] - public static + [Slot(878)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params, EntryPoints[878]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramStringNV")] - public static + [Slot(890)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)program_ptr, EntryPoints[890]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramStringNV")] - public static + [Slot(890)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)program_ptr, EntryPoints[890]); - program = *program_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramStringNV")] - public static + [Slot(890)] + public static extern unsafe void GetProgramString(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)program, EntryPoints[890]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramStringNV")] - public static + [Slot(890)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)program_ptr, EntryPoints[890]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramStringNV")] - public static + [Slot(890)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)program_ptr, EntryPoints[890]); - program = *program_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramStringNV")] - public static + [Slot(890)] + public static extern unsafe void GetProgramString(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)program, EntryPoints[890]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program5] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glGetProgramSubroutineParameteruivNV")] - public static + [Slot(891)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (IntPtr)param_ptr, EntryPoints[891]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program5] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glGetProgramSubroutineParameteruivNV")] - public static + [Slot(891)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (IntPtr)param_ptr, EntryPoints[891]); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glGetProgramSubroutineParameteruivNV")] - public static + [Slot(891)] + public static extern unsafe void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 index, [OutAttribute] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (IntPtr)param, EntryPoints[891]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glGetProgramSubroutineParameteruivNV")] - public static + [Slot(891)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (IntPtr)param_ptr, EntryPoints[891]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glGetProgramSubroutineParameteruivNV")] - public static + [Slot(891)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (IntPtr)param_ptr, EntryPoints[891]); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glGetProgramSubroutineParameteruivNV")] - public static + [Slot(891)] + public static extern unsafe void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] UInt32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (IntPtr)param, EntryPoints[891]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glGetTextureHandleNV")] - public static + [Slot(945)] + public static extern Int64 GetTextureHandle(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[945]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glGetTextureHandleNV")] - public static + [Slot(945)] + public static extern Int64 GetTextureHandle(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[945]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glGetTextureSamplerHandleNV")] - public static + [Slot(954)] + public static extern Int64 GetTextureSamplerHandle(Int32 texture, Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, (UInt32)sampler, EntryPoints[954]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glGetTextureSamplerHandleNV")] - public static + [Slot(954)] + public static extern Int64 GetTextureSamplerHandle(UInt32 texture, UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, (UInt32)sampler, EntryPoints[954]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetTrackMatrixivNV")] - public static + [Slot(955)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[955]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetTrackMatrixivNV")] - public static + [Slot(955)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params, EntryPoints[955]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetTrackMatrixivNV")] - public static + [Slot(955)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[955]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetTrackMatrixivNV")] - public static + [Slot(955)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@params, EntryPoints[955]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -214851,25 +138618,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static + [Slot(958)] + public static extern void GetTransformFeedbackVarying(Int32 program, Int32 index, [OutAttribute] out Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* location_ptr = &location) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (IntPtr)location_ptr, EntryPoints[958]); - location = *location_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -214911,18 +138664,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static + [Slot(958)] + public static extern unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, [OutAttribute] Int32* location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (IntPtr)location, EntryPoints[958]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -214964,25 +138710,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static + [Slot(958)] + public static extern void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [OutAttribute] out Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* location_ptr = &location) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (IntPtr)location_ptr, EntryPoints[958]); - location = *location_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -215024,18 +138756,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static + [Slot(958)] + public static extern unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [OutAttribute] Int32* location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (IntPtr)location, EntryPoints[958]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Returns the value of a uniform variable @@ -215056,24 +138781,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glGetUniformi64vNV")] - public static + [Slot(964)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[964]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Returns the value of a uniform variable @@ -215094,25 +138806,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glGetUniformi64vNV")] - public static + [Slot(964)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[964]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Returns the value of a uniform variable @@ -215134,18 +138832,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glGetUniformi64vNV")] - public static + [Slot(964)] + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[964]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Returns the value of a uniform variable @@ -215167,24 +138858,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glGetUniformi64vNV")] - public static + [Slot(964)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[964]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Returns the value of a uniform variable @@ -215206,25 +138884,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glGetUniformi64vNV")] - public static + [Slot(964)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[964]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Returns the value of a uniform variable @@ -215246,18 +138910,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glGetUniformi64vNV")] - public static + [Slot(964)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[964]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Returns the value of a uniform variable @@ -215279,24 +138936,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetUniformui64vNV")] - public static + [Slot(972)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[972]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Returns the value of a uniform variable @@ -215318,25 +138962,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetUniformui64vNV")] - public static + [Slot(972)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[972]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Returns the value of a uniform variable @@ -215358,49 +138988,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetUniformui64vNV")] - public static + [Slot(972)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[972]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetVaryingLocationNV")] - public static + [Slot(981)] + public static extern Int32 GetVaryingLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[981]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetVaryingLocationNV")] - public static + [Slot(981)] + public static extern Int32 GetVaryingLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[981]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215421,25 +139030,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribdvNV")] - public static + [Slot(990)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params_ptr, EntryPoints[990]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215461,18 +139056,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribdvNV")] - public static + [Slot(990)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params, EntryPoints[990]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215494,25 +139082,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribdvNV")] - public static + [Slot(990)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params_ptr, EntryPoints[990]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215534,18 +139108,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribdvNV")] - public static + [Slot(990)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params, EntryPoints[990]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215566,25 +139133,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribfvNV")] - public static + [Slot(993)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params_ptr, EntryPoints[993]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215606,18 +139159,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribfvNV")] - public static + [Slot(993)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params, EntryPoints[993]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215639,25 +139185,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribfvNV")] - public static + [Slot(993)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params_ptr, EntryPoints[993]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215679,18 +139211,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribfvNV")] - public static + [Slot(993)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params, EntryPoints[993]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215711,25 +139236,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribivNV")] - public static + [Slot(1000)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params_ptr, EntryPoints[1000]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215751,18 +139262,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribivNV")] - public static + [Slot(1000)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params, EntryPoints[1000]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215784,25 +139288,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribivNV")] - public static + [Slot(1000)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params_ptr, EntryPoints[1000]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215824,1548 +139314,701 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribivNV")] - public static + [Slot(1000)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)@params, EntryPoints[1000]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLi64vNV")] - public static + [Slot(1003)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (IntPtr)@params_ptr, EntryPoints[1003]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLi64vNV")] - public static + [Slot(1003)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (IntPtr)@params_ptr, EntryPoints[1003]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLi64vNV")] - public static + [Slot(1003)] + public static extern unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (IntPtr)@params, EntryPoints[1003]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLi64vNV")] - public static + [Slot(1003)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (IntPtr)@params_ptr, EntryPoints[1003]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLi64vNV")] - public static + [Slot(1003)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (IntPtr)@params_ptr, EntryPoints[1003]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLi64vNV")] - public static + [Slot(1003)] + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (IntPtr)@params, EntryPoints[1003]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLui64vNV")] - public static + [Slot(1005)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (IntPtr)@params_ptr, EntryPoints[1005]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLui64vNV")] - public static + [Slot(1005)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (IntPtr)@params_ptr, EntryPoints[1005]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLui64vNV")] - public static + [Slot(1005)] + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (IntPtr)@params, EntryPoints[1005]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static + [Slot(1008)] + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer, EntryPoints[1008]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static + [Slot(1008)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1008]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static + [Slot(1008)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1008]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static + [Slot(1008)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1008]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static + [Slot(1008)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1008]); - 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 + [Slot(1008)] + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer, EntryPoints[1008]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static + [Slot(1008)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1008]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static + [Slot(1008)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1008]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static + [Slot(1008)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1008]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static + [Slot(1008)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1008]); - 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 + [Slot(1009)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1009]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureivNV")] - public static + [Slot(1009)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1009]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureivNV")] - public static + [Slot(1009)] + public static extern unsafe void GetVideoCapture(Int32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[1009]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureivNV")] - public static + [Slot(1009)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1009]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureivNV")] - public static + [Slot(1009)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1009]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureivNV")] - public static + [Slot(1009)] + public static extern unsafe void GetVideoCapture(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[1009]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamdvNV")] - public static + [Slot(1010)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1010]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamdvNV")] - public static + [Slot(1010)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1010]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamdvNV")] - public static + [Slot(1010)] + public static extern 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 - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[1010]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamdvNV")] - public static + [Slot(1010)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1010]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamdvNV")] - public static + [Slot(1010)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1010]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamdvNV")] - public static + [Slot(1010)] + public static extern 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 - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[1010]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamfvNV")] - public static + [Slot(1011)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1011]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamfvNV")] - public static + [Slot(1011)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1011]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamfvNV")] - public static + [Slot(1011)] + public static extern 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 - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[1011]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamfvNV")] - public static + [Slot(1011)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1011]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamfvNV")] - public static + [Slot(1011)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1011]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamfvNV")] - public static + [Slot(1011)] + public static extern 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 - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[1011]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamivNV")] - public static + [Slot(1012)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1012]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamivNV")] - public static + [Slot(1012)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1012]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamivNV")] - public static + [Slot(1012)] + public static extern 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 - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[1012]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamivNV")] - public static + [Slot(1012)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1012]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamivNV")] - public static + [Slot(1012)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[1012]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamivNV")] - public static + [Slot(1012)] + public static extern 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 - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[1012]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoi64vNV")] - public static + [Slot(1013)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params_ptr, EntryPoints[1013]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoi64vNV")] - public static + [Slot(1013)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params_ptr, EntryPoints[1013]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoi64vNV")] - public static + [Slot(1013)] + public static extern unsafe void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params, EntryPoints[1013]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoi64vNV")] - public static + [Slot(1013)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params_ptr, EntryPoints[1013]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoi64vNV")] - public static + [Slot(1013)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params_ptr, EntryPoints[1013]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoi64vNV")] - public static + [Slot(1013)] + public static extern unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params, EntryPoints[1013]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoivNV")] - public static + [Slot(1014)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params_ptr, EntryPoints[1014]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoivNV")] - public static + [Slot(1014)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params_ptr, EntryPoints[1014]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoivNV")] - public static + [Slot(1014)] + public static extern unsafe void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params, EntryPoints[1014]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoivNV")] - public static + [Slot(1014)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params_ptr, EntryPoints[1014]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoivNV")] - public static + [Slot(1014)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params_ptr, EntryPoints[1014]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoivNV")] - public static + [Slot(1014)] + public static extern unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params, EntryPoints[1014]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoui64vNV")] - public static + [Slot(1015)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params_ptr, EntryPoints[1015]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoui64vNV")] - public static + [Slot(1015)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params_ptr, EntryPoints[1015]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoui64vNV")] - public static + [Slot(1015)] + public static extern unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params, EntryPoints[1015]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideouivNV")] - public static + [Slot(1016)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params_ptr, EntryPoints[1016]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideouivNV")] - public static + [Slot(1016)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params_ptr, EntryPoints[1016]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideouivNV")] - public static + [Slot(1016)] + public static extern unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (IntPtr)@params, EntryPoints[1016]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glIndexFormatNV")] - public static + [Slot(1038)] + public static extern void IndexFormat(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride, EntryPoints[1038]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glInterpolatePathsNV")] - public static + [Slot(1059)] + public static extern void InterpolatePath(Int32 resultPath, Int32 pathA, Int32 pathB, Single weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)resultPath, (UInt32)pathA, (UInt32)pathB, (Single)weight, EntryPoints[1059]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glInterpolatePathsNV")] - public static + [Slot(1059)] + public static extern void InterpolatePath(UInt32 resultPath, UInt32 pathA, UInt32 pathB, Single weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)resultPath, (UInt32)pathA, (UInt32)pathB, (Single)weight, EntryPoints[1059]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glIsBufferResidentNV")] - public static + [Slot(1069)] + public static extern bool IsBufferResident(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, EntryPoints[1069]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static + [Slot(1074)] + public static extern bool IsFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[1074]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static + [Slot(1074)] + public static extern bool IsFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[1074]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glIsImageHandleResidentNV")] - public static + [Slot(1078)] + public static extern bool IsImageHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt64)handle, EntryPoints[1078]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glIsImageHandleResidentNV")] - public static + [Slot(1078)] + public static extern bool IsImageHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt64)handle, EntryPoints[1078]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glIsNamedBufferResidentNV")] - public static + [Slot(1081)] + public static extern bool IsNamedBufferResident(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[1081]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glIsNamedBufferResidentNV")] - public static + [Slot(1081)] + public static extern bool IsNamedBufferResident(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[1081]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glIsOcclusionQueryNV")] - public static + [Slot(1084)] + public static extern bool IsOcclusionQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[1084]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glIsOcclusionQueryNV")] - public static + [Slot(1084)] + public static extern bool IsOcclusionQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[1084]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glIsPathNV")] - public static + [Slot(1085)] + public static extern bool IsPath(Int32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)path, EntryPoints[1085]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glIsPathNV")] - public static + [Slot(1085)] + public static extern bool IsPath(UInt32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)path, EntryPoints[1085]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glIsPointInFillPathNV")] - public static + [Slot(1086)] + public static extern bool IsPointInFillPath(Int32 path, Int32 mask, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)path, (UInt32)mask, (Single)x, (Single)y, EntryPoints[1086]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glIsPointInFillPathNV")] - public static + [Slot(1086)] + public static extern bool IsPointInFillPath(UInt32 path, UInt32 mask, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)path, (UInt32)mask, (Single)x, (Single)y, EntryPoints[1086]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glIsPointInStrokePathNV")] - public static + [Slot(1087)] + public static extern bool IsPointInStrokePath(Int32 path, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)path, (Single)x, (Single)y, EntryPoints[1087]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glIsPointInStrokePathNV")] - public static + [Slot(1087)] + public static extern bool IsPointInStrokePath(UInt32 path, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)path, (Single)x, (Single)y, EntryPoints[1087]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Determines if a name corresponds to a program object @@ -217376,18 +140019,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glIsProgramNV")] - public static + [Slot(1090)] + public static extern bool IsProgram(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[1090]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Determines if a name corresponds to a program object @@ -217399,49 +140035,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glIsProgramNV")] - public static + [Slot(1090)] + public static extern bool IsProgram(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[1090]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glIsTextureHandleResidentNV")] - public static + [Slot(1103)] + public static extern bool IsTextureHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt64)handle, EntryPoints[1103]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glIsTextureHandleResidentNV")] - public static + [Slot(1103)] + public static extern bool IsTextureHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt64)handle, EntryPoints[1103]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Determine if a name corresponds to a transform feedback object @@ -217452,18 +140067,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glIsTransformFeedbackNV")] - public static + [Slot(1105)] + public static extern bool IsTransformFeedback(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[1105]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Determine if a name corresponds to a transform feedback object @@ -217475,4796 +140083,1946 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glIsTransformFeedbackNV")] - public static + [Slot(1105)] + public static extern bool IsTransformFeedback(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[1105]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glLoadProgramNV")] - public static + [Slot(1140)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (IntPtr)program_ptr, EntryPoints[1140]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glLoadProgramNV")] - public static + [Slot(1140)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (IntPtr)program_ptr, EntryPoints[1140]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glLoadProgramNV")] - public static + [Slot(1140)] + public static extern unsafe void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte* program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (IntPtr)program, EntryPoints[1140]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glLoadProgramNV")] - public static + [Slot(1140)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (IntPtr)program_ptr, EntryPoints[1140]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glLoadProgramNV")] - public static + [Slot(1140)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (IntPtr)program_ptr, EntryPoints[1140]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glLoadProgramNV")] - public static + [Slot(1140)] + public static extern unsafe void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (IntPtr)program, EntryPoints[1140]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glMakeBufferNonResidentNV")] - public static + [Slot(1148)] + public static extern void MakeBufferNonResident(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, EntryPoints[1148]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glMakeBufferResidentNV")] - public static + [Slot(1149)] + public static extern void MakeBufferResident(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)access, EntryPoints[1149]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleNonResidentNV")] - public static + [Slot(1151)] + public static extern void MakeImageHandleNonResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[1151]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleNonResidentNV")] - public static + [Slot(1151)] + public static extern void MakeImageHandleNonResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[1151]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleResidentNV")] - public static + [Slot(1153)] + public static extern void MakeImageHandleResident(Int64 handle, OpenTK.Graphics.OpenGL.NvBindlessTexture access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, (OpenTK.Graphics.OpenGL.NvBindlessTexture)access, EntryPoints[1153]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleResidentNV")] - public static + [Slot(1153)] + public static extern void MakeImageHandleResident(UInt64 handle, OpenTK.Graphics.OpenGL.NvBindlessTexture access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, (OpenTK.Graphics.OpenGL.NvBindlessTexture)access, EntryPoints[1153]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glMakeNamedBufferNonResidentNV")] - public static + [Slot(1154)] + public static extern void MakeNamedBufferNonResident(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, EntryPoints[1154]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glMakeNamedBufferNonResidentNV")] - public static + [Slot(1154)] + public static extern void MakeNamedBufferNonResident(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, EntryPoints[1154]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glMakeNamedBufferResidentNV")] - public static + [Slot(1155)] + public static extern void MakeNamedBufferResident(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)access, EntryPoints[1155]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glMakeNamedBufferResidentNV")] - public static + [Slot(1155)] + public static extern void MakeNamedBufferResident(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)access, EntryPoints[1155]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleNonResidentNV")] - public static + [Slot(1157)] + public static extern void MakeTextureHandleNonResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[1157]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleNonResidentNV")] - public static + [Slot(1157)] + public static extern void MakeTextureHandleNonResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[1157]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleResidentNV")] - public static + [Slot(1159)] + public static extern void MakeTextureHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[1159]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleResidentNV")] - public static + [Slot(1159)] + public static extern void MakeTextureHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[1159]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static + [Slot(1169)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points, EntryPoints[1169]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static + [Slot(1169)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1169]); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static + [Slot(1169)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1169]); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static + [Slot(1169)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1169]); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static + [Slot(1169)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1169]); - 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 + [Slot(1169)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points, EntryPoints[1169]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static + [Slot(1169)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1169]); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static + [Slot(1169)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1169]); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static + [Slot(1169)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1169]); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static + [Slot(1169)] + 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 - { - InteropHelper.Call((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(), EntryPoints[1169]); - points = (T8)points_ptr.Target; - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapParameterfvNV")] - public static + [Slot(1179)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[1179]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapParameterfvNV")] - public static + [Slot(1179)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[1179]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapParameterfvNV")] - public static + [Slot(1179)] + public static extern unsafe void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params, EntryPoints[1179]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapParameterivNV")] - public static + [Slot(1180)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[1180]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapParameterivNV")] - public static + [Slot(1180)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params_ptr, EntryPoints[1180]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapParameterivNV")] - public static + [Slot(1180)] + public static extern unsafe void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (IntPtr)@params, EntryPoints[1180]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_multi_draw_indirect] [AutoGenerated(Category = "NV_bindless_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectBindlessNV")] - public static + [Slot(1226)] + public static extern void MultiDrawArraysIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (IntPtr)indirect, (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount, EntryPoints[1226]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_multi_draw_indirect] [AutoGenerated(Category = "NV_bindless_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectBindlessNV")] - public static + [Slot(1226)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount, EntryPoints[1226]); - } - 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 + [Slot(1226)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount, EntryPoints[1226]); - } - 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 + [Slot(1226)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount, EntryPoints[1226]); - } - 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 + [Slot(1226)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount, EntryPoints[1226]); - 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 + [Slot(1234)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)type, (IntPtr)indirect, (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount, EntryPoints[1234]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_multi_draw_indirect] [AutoGenerated(Category = "NV_bindless_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectBindlessNV")] - public static + [Slot(1234)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount, EntryPoints[1234]); - } - 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 + [Slot(1234)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount, EntryPoints[1234]); - } - 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 + [Slot(1234)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount, EntryPoints[1234]); - } - 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 + [Slot(1234)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount, EntryPoints[1234]); - 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 + [Slot(1250)] + public static extern void MultiTexCoord1h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, EntryPoints[1250]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord1hvNV")] - public static + [Slot(1251)] + public static extern unsafe void MultiTexCoord1h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1251]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord2hNV")] - public static + [Slot(1272)] + public static extern void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t, EntryPoints[1272]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord2hvNV")] - public static + [Slot(1273)] + public static extern void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord2hvNV")] - public static + [Slot(1273)] + public static extern void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1273]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord2hvNV")] - public static + [Slot(1273)] + public static extern unsafe void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1273]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord3hNV")] - public static + [Slot(1294)] + public static extern void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t, (Half)r, EntryPoints[1294]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord3hvNV")] - public static + [Slot(1295)] + public static extern void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1295]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord3hvNV")] - public static + [Slot(1295)] + public static extern void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1295]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord3hvNV")] - public static + [Slot(1295)] + public static extern unsafe void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1295]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord4hNV")] - public static + [Slot(1316)] + public static extern void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r, Half q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t, (Half)r, (Half)q, EntryPoints[1316]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord4hvNV")] - public static + [Slot(1317)] + public static extern void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1317]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord4hvNV")] - public static + [Slot(1317)] + public static extern void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v_ptr, EntryPoints[1317]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord4hvNV")] - public static + [Slot(1317)] + public static extern unsafe void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureUnit)target, (IntPtr)v, EntryPoints[1317]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glNormal3hNV")] - public static + [Slot(1406)] + public static extern void Normal3h(Half nx, Half ny, Half nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Half)nx, (Half)ny, (Half)nz, EntryPoints[1406]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glNormal3hvNV")] - public static + [Slot(1407)] + public static extern void Normal3h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1407]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glNormal3hvNV")] - public static + [Slot(1407)] + public static extern void Normal3h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1407]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glNormal3hvNV")] - public static + [Slot(1407)] + public static extern unsafe void Normal3h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1407]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glNormalFormatNV")] - public static + [Slot(1414)] + public static extern void NormalFormat(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride, EntryPoints[1414]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathColorGenNV")] - public static + [Slot(1445)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (OpenTK.Graphics.OpenGL.NvPathRendering)colorFormat, (IntPtr)coeffs_ptr, EntryPoints[1445]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathColorGenNV")] - public static + [Slot(1445)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (OpenTK.Graphics.OpenGL.NvPathRendering)colorFormat, (IntPtr)coeffs_ptr, EntryPoints[1445]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathColorGenNV")] - public static + [Slot(1445)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (OpenTK.Graphics.OpenGL.NvPathRendering)colorFormat, (IntPtr)coeffs, EntryPoints[1445]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1446]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - 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 + [Slot(1446)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1446]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - 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 + [Slot(1446)] + public static extern 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 - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1446]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - 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 + [Slot(1446)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1446]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - 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 + [Slot(1446)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1446]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - 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 + [Slot(1446)] + public static extern 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 - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1446]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static + [Slot(1446)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1446]); - 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 + [Slot(1447)] + public static extern void PathCoords(Int32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1447]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static + [Slot(1447)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1447]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static + [Slot(1447)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1447]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static + [Slot(1447)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1447]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static + [Slot(1447)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1447]); - 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 + [Slot(1447)] + public static extern void PathCoords(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1447]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static + [Slot(1447)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1447]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static + [Slot(1447)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1447]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static + [Slot(1447)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1447]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static + [Slot(1447)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1447]); - 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 + [Slot(1448)] + public static extern void PathCoverDepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.DepthFunction)func, EntryPoints[1448]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathDashArrayNV")] - public static + [Slot(1449)] + public static extern void PathDashArray(Int32 path, Int32 dashCount, Single[] dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = dashArray) - { - InteropHelper.Call((UInt32)path, (Int32)dashCount, (IntPtr)dashArray_ptr, EntryPoints[1449]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathDashArrayNV")] - public static + [Slot(1449)] + public static extern void PathDashArray(Int32 path, Int32 dashCount, ref Single dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = &dashArray) - { - InteropHelper.Call((UInt32)path, (Int32)dashCount, (IntPtr)dashArray_ptr, EntryPoints[1449]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathDashArrayNV")] - public static + [Slot(1449)] + public static extern unsafe void PathDashArray(Int32 path, Int32 dashCount, Single* dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (Int32)dashCount, (IntPtr)dashArray, EntryPoints[1449]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathDashArrayNV")] - public static + [Slot(1449)] + public static extern void PathDashArray(UInt32 path, Int32 dashCount, Single[] dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = dashArray) - { - InteropHelper.Call((UInt32)path, (Int32)dashCount, (IntPtr)dashArray_ptr, EntryPoints[1449]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathDashArrayNV")] - public static + [Slot(1449)] + public static extern void PathDashArray(UInt32 path, Int32 dashCount, ref Single dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = &dashArray) - { - InteropHelper.Call((UInt32)path, (Int32)dashCount, (IntPtr)dashArray_ptr, EntryPoints[1449]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathDashArrayNV")] - public static + [Slot(1449)] + public static extern unsafe void PathDashArray(UInt32 path, Int32 dashCount, Single* dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (Int32)dashCount, (IntPtr)dashArray, EntryPoints[1449]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathFogGenNV")] - public static + [Slot(1450)] + public static extern void PathFogGen(OpenTK.Graphics.OpenGL.NvPathRendering genMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPathRendering)genMode, EntryPoints[1450]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static + [Slot(1451)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName, (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale, EntryPoints[1451]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static + [Slot(1451)] + 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 - { - InteropHelper.Call((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, EntryPoints[1451]); - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static + [Slot(1451)] + 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 - { - InteropHelper.Call((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, EntryPoints[1451]); - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static + [Slot(1451)] + 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 - { - InteropHelper.Call((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, EntryPoints[1451]); - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static + [Slot(1451)] + 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 - { - InteropHelper.Call((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, EntryPoints[1451]); - 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 + [Slot(1451)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName, (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale, EntryPoints[1451]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static + [Slot(1451)] + 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 - { - InteropHelper.Call((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, EntryPoints[1451]); - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static + [Slot(1451)] + 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 - { - InteropHelper.Call((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, EntryPoints[1451]); - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static + [Slot(1451)] + 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 - { - InteropHelper.Call((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, EntryPoints[1451]); - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static + [Slot(1451)] + 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 - { - InteropHelper.Call((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, EntryPoints[1451]); - 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 + [Slot(1452)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1452]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static + [Slot(1452)] + 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 - { - InteropHelper.Call((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, EntryPoints[1452]); - } - finally - { - fontName_ptr.Free(); - charcodes_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static + [Slot(1452)] + 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 - { - InteropHelper.Call((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, EntryPoints[1452]); - } - finally - { - fontName_ptr.Free(); - charcodes_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static + [Slot(1452)] + 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 - { - InteropHelper.Call((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, EntryPoints[1452]); - } - finally - { - fontName_ptr.Free(); - charcodes_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static + [Slot(1452)] + 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 - { - InteropHelper.Call((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, EntryPoints[1452]); - 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 + [Slot(1452)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1452]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static + [Slot(1452)] + 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 - { - InteropHelper.Call((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, EntryPoints[1452]); - } - 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 + [Slot(1452)] + 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 - { - InteropHelper.Call((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, EntryPoints[1452]); - } - 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 + [Slot(1452)] + 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 - { - InteropHelper.Call((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, EntryPoints[1452]); - } - 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 + [Slot(1452)] + 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 - { - InteropHelper.Call((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, EntryPoints[1452]); - 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 + [Slot(1453)] + public static extern void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single)value, EntryPoints[1453]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterfNV")] - public static + [Slot(1453)] + public static extern void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single)value, EntryPoints[1453]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterfvNV")] - public static + [Slot(1454)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[1454]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterfvNV")] - public static + [Slot(1454)] + public static extern unsafe void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value, EntryPoints[1454]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterfvNV")] - public static + [Slot(1454)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[1454]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterfvNV")] - public static + [Slot(1454)] + public static extern unsafe void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value, EntryPoints[1454]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameteriNV")] - public static + [Slot(1455)] + public static extern void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32)value, EntryPoints[1455]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameteriNV")] - public static + [Slot(1455)] + public static extern void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32)value, EntryPoints[1455]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterivNV")] - public static + [Slot(1456)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[1456]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterivNV")] - public static + [Slot(1456)] + public static extern unsafe void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value, EntryPoints[1456]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterivNV")] - public static + [Slot(1456)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value_ptr, EntryPoints[1456]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterivNV")] - public static + [Slot(1456)] + public static extern unsafe void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (IntPtr)value, EntryPoints[1456]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStencilDepthOffsetNV")] - public static + [Slot(1457)] + public static extern void PathStencilDepthOffset(Single factor, Single units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)factor, (Single)units, EntryPoints[1457]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStencilFuncNV")] - public static + [Slot(1458)] + public static extern void PathStencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[1458]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStencilFuncNV")] - public static + [Slot(1458)] + public static extern void PathStencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[1458]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static + [Slot(1459)] + public static extern void PathString(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, IntPtr pathString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString, EntryPoints[1459]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static + [Slot(1459)] + 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 - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject(), EntryPoints[1459]); - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static + [Slot(1459)] + 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 - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject(), EntryPoints[1459]); - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static + [Slot(1459)] + 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 - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject(), EntryPoints[1459]); - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static + [Slot(1459)] + 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 - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject(), EntryPoints[1459]); - 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 + [Slot(1459)] + public static extern void PathString(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, IntPtr pathString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString, EntryPoints[1459]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static + [Slot(1459)] + 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 - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject(), EntryPoints[1459]); - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static + [Slot(1459)] + 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 - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject(), EntryPoints[1459]); - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static + [Slot(1459)] + 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 - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject(), EntryPoints[1459]); - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static + [Slot(1459)] + 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 - { - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject(), EntryPoints[1459]); - 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 + [Slot(1460)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1460]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - 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 + [Slot(1460)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1460]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - 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 + [Slot(1460)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1460]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - 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 + [Slot(1460)] + public static extern 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) - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1460]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - 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 + [Slot(1460)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1460]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - 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 + [Slot(1460)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1460]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static + [Slot(1460)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (IntPtr)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1460]); - 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 + [Slot(1461)] + public static extern void PathSubCoords(Int32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1461]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static + [Slot(1461)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1461]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static + [Slot(1461)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1461]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static + [Slot(1461)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1461]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static + [Slot(1461)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1461]); - 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 + [Slot(1461)] + public static extern void PathSubCoords(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords, EntryPoints[1461]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static + [Slot(1461)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1461]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static + [Slot(1461)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1461]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static + [Slot(1461)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1461]); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static + [Slot(1461)] + 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 - { - InteropHelper.Call((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject(), EntryPoints[1461]); - 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 + [Slot(1462)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPathRendering)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (Int32)components, (IntPtr)coeffs_ptr, EntryPoints[1462]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathTexGenNV")] - public static + [Slot(1462)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPathRendering)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (Int32)components, (IntPtr)coeffs_ptr, EntryPoints[1462]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathTexGenNV")] - public static + [Slot(1462)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPathRendering)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (Int32)components, (IntPtr)coeffs, EntryPoints[1462]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Pause transform feedback operations /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glPauseTransformFeedbackNV")] - public static + [Slot(1464)] + public static extern void PauseTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1464]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_pixel_data_range] [AutoGenerated(Category = "NV_pixel_data_range", Version = "", EntryPoint = "glPixelDataRangeNV")] - public static + [Slot(1465)] + public static extern void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer, EntryPoints[1465]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_pixel_data_range] [AutoGenerated(Category = "NV_pixel_data_range", Version = "", EntryPoint = "glPixelDataRangeNV")] - public static + [Slot(1465)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1465]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_pixel_data_range] [AutoGenerated(Category = "NV_pixel_data_range", Version = "", EntryPoint = "glPixelDataRangeNV")] - public static + [Slot(1465)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1465]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_pixel_data_range] [AutoGenerated(Category = "NV_pixel_data_range", Version = "", EntryPoint = "glPixelDataRangeNV")] - public static + [Slot(1465)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1465]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_pixel_data_range] [AutoGenerated(Category = "NV_pixel_data_range", Version = "", EntryPoint = "glPixelDataRangeNV")] - public static + [Slot(1465)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1465]); - 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 + [Slot(1489)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)path, (Int32)startSegment, (Int32)numSegments, (Single)distance, (IntPtr)x_ptr, (IntPtr)y_ptr, (IntPtr)tangentX_ptr, (IntPtr)tangentY_ptr, EntryPoints[1489]); - x = *x_ptr; - y = *y_ptr; - tangentX = *tangentX_ptr; - tangentY = *tangentY_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPointAlongPathNV")] - public static + [Slot(1489)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)path, (Int32)startSegment, (Int32)numSegments, (Single)distance, (IntPtr)x, (IntPtr)y, (IntPtr)tangentX, (IntPtr)tangentY, EntryPoints[1489]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPointAlongPathNV")] - public static + [Slot(1489)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)path, (Int32)startSegment, (Int32)numSegments, (Single)distance, (IntPtr)x_ptr, (IntPtr)y_ptr, (IntPtr)tangentX_ptr, (IntPtr)tangentY_ptr, EntryPoints[1489]); - x = *x_ptr; - y = *y_ptr; - tangentX = *tangentX_ptr; - tangentY = *tangentY_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPointAlongPathNV")] - public static + [Slot(1489)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)path, (Int32)startSegment, (Int32)numSegments, (Single)distance, (IntPtr)x, (IntPtr)y, (IntPtr)tangentX, (IntPtr)tangentY, EntryPoints[1489]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_point_sprite] /// Specify point parameters @@ -222285,18 +142043,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_point_sprite", Version = "", EntryPoint = "glPointParameteriNV")] - public static + [Slot(1499)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPointSprite)pname, (Int32)param, EntryPoints[1499]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_point_sprite] /// Specify point parameters @@ -222317,24 +142068,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_point_sprite", Version = "", EntryPoint = "glPointParameterivNV")] - public static + [Slot(1501)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPointSprite)pname, (IntPtr)@params_ptr, EntryPoints[1501]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_point_sprite] /// Specify point parameters @@ -222356,80 +142094,45 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_point_sprite", Version = "", EntryPoint = "glPointParameterivNV")] - public static + [Slot(1501)] + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvPointSprite)pname, (IntPtr)@params, EntryPoints[1501]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glPresentFrameDualFillNV")] - public static + [Slot(1520)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1520]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glPresentFrameDualFillNV")] - public static + [Slot(1520)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1520]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glPresentFrameKeyedNV")] - public static + [Slot(1521)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1521]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glPresentFrameKeyedNV")] - public static + [Slot(1521)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1521]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_primitive_restart] /// Specify the primitive restart index @@ -222440,18 +142143,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_primitive_restart", Version = "", EntryPoint = "glPrimitiveRestartIndexNV")] - public static + [Slot(1523)] + public static extern void PrimitiveRestartIndex(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[1523]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_primitive_restart] /// Specify the primitive restart index @@ -222463,1529 +142159,692 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_primitive_restart", Version = "", EntryPoint = "glPrimitiveRestartIndexNV")] - public static + [Slot(1523)] + public static extern void PrimitiveRestartIndex(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[1523]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_primitive_restart] [AutoGenerated(Category = "NV_primitive_restart", Version = "", EntryPoint = "glPrimitiveRestartNV")] - public static + [Slot(1524)] + public static extern void PrimitiveRestart() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1524]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersfvNV")] - public static + [Slot(1529)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1529]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersfvNV")] - public static + [Slot(1529)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1529]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersfvNV")] - public static + [Slot(1529)] + public static extern unsafe void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params, EntryPoints[1529]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersfvNV")] - public static + [Slot(1529)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1529]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersfvNV")] - public static + [Slot(1529)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1529]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersfvNV")] - public static + [Slot(1529)] + public static extern unsafe void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params, EntryPoints[1529]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIivNV")] - public static + [Slot(1530)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1530]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIivNV")] - public static + [Slot(1530)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1530]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIivNV")] - public static + [Slot(1530)] + public static extern unsafe void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params, EntryPoints[1530]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIivNV")] - public static + [Slot(1530)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1530]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIivNV")] - public static + [Slot(1530)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1530]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIivNV")] - public static + [Slot(1530)] + public static extern unsafe void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params, EntryPoints[1530]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIuivNV")] - public static + [Slot(1531)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1531]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIuivNV")] - public static + [Slot(1531)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1531]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIuivNV")] - public static + [Slot(1531)] + public static extern unsafe void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (IntPtr)@params, EntryPoints[1531]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4iNV")] - public static + [Slot(1536)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[1536]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4iNV")] - public static + [Slot(1536)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[1536]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static + [Slot(1537)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1537]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static + [Slot(1537)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1537]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static + [Slot(1537)] + public static extern unsafe void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params, EntryPoints[1537]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static + [Slot(1537)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1537]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static + [Slot(1537)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1537]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static + [Slot(1537)] + public static extern unsafe void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params, EntryPoints[1537]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4uiNV")] - public static + [Slot(1538)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w, EntryPoints[1538]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4uivNV")] - public static + [Slot(1539)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1539]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4uivNV")] - public static + [Slot(1539)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1539]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4uivNV")] - public static + [Slot(1539)] + public static extern unsafe void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params, EntryPoints[1539]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static + [Slot(1541)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1541]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static + [Slot(1541)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1541]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static + [Slot(1541)] + public static extern unsafe void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1541]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static + [Slot(1541)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1541]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static + [Slot(1541)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1541]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static + [Slot(1541)] + public static extern unsafe void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1541]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4uivNV")] - public static + [Slot(1542)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1542]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4uivNV")] - public static + [Slot(1542)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1542]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4uivNV")] - public static + [Slot(1542)] + public static extern unsafe void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1542]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4iNV")] - public static + [Slot(1547)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[1547]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4iNV")] - public static + [Slot(1547)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[1547]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static + [Slot(1548)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1548]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static + [Slot(1548)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1548]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static + [Slot(1548)] + public static extern unsafe void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params, EntryPoints[1548]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static + [Slot(1548)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1548]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static + [Slot(1548)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1548]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static + [Slot(1548)] + public static extern unsafe void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params, EntryPoints[1548]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4uiNV")] - public static + [Slot(1549)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w, EntryPoints[1549]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4uivNV")] - public static + [Slot(1550)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1550]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4uivNV")] - public static + [Slot(1550)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params_ptr, EntryPoints[1550]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4uivNV")] - public static + [Slot(1550)] + public static extern unsafe void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (IntPtr)@params, EntryPoints[1550]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static + [Slot(1552)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1552]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static + [Slot(1552)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1552]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static + [Slot(1552)] + public static extern unsafe void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1552]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static + [Slot(1552)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1552]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static + [Slot(1552)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1552]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static + [Slot(1552)] + public static extern unsafe void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1552]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4uivNV")] - public static + [Slot(1553)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1553]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4uivNV")] - public static + [Slot(1553)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1553]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4uivNV")] - public static + [Slot(1553)] + public static extern unsafe void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (IntPtr)@params, EntryPoints[1553]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dNV")] - public static + [Slot(1554)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1554]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dNV")] - public static + [Slot(1554)] + public static extern 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 - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1554]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dNV")] - public static + [Slot(1554)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1554]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dNV")] - public static + [Slot(1554)] + public static extern 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 - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1554]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dvNV")] - public static + [Slot(1555)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)v_ptr, EntryPoints[1555]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dvNV")] - public static + [Slot(1555)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)v_ptr, EntryPoints[1555]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dvNV")] - public static + [Slot(1555)] + public static extern unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name, (IntPtr)v, EntryPoints[1555]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dvNV")] - public static + [Slot(1555)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)v_ptr, EntryPoints[1555]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dvNV")] - public static + [Slot(1555)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)v_ptr, EntryPoints[1555]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dvNV")] - public static + [Slot(1555)] + public static extern unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name, (IntPtr)v, EntryPoints[1555]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fNV")] - public static + [Slot(1556)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1556]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fNV")] - public static + [Slot(1556)] + public static extern 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 - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1556]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fNV")] - public static + [Slot(1556)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1556]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fNV")] - public static + [Slot(1556)] + public static extern 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 - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1556]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fvNV")] - public static + [Slot(1557)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)v_ptr, EntryPoints[1557]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fvNV")] - public static + [Slot(1557)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)v_ptr, EntryPoints[1557]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fvNV")] - public static + [Slot(1557)] + public static extern unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name, (IntPtr)v, EntryPoints[1557]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fvNV")] - public static + [Slot(1557)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)v_ptr, EntryPoints[1557]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fvNV")] - public static + [Slot(1557)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name_ptr, (IntPtr)v_ptr, EntryPoints[1557]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fvNV")] - public static + [Slot(1557)] + public static extern unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (Int32)len, (IntPtr)name, (IntPtr)v, EntryPoints[1557]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224006,18 +142865,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dNV")] - public static + [Slot(1558)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1558]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224039,18 +142891,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dNV")] - public static + [Slot(1558)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[1558]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224071,24 +142916,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dvNV")] - public static + [Slot(1559)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)v_ptr, EntryPoints[1559]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224109,24 +142941,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dvNV")] - public static + [Slot(1559)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)v_ptr, EntryPoints[1559]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224148,18 +142967,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dvNV")] - public static + [Slot(1559)] + public static extern unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)v, EntryPoints[1559]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224181,24 +142993,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dvNV")] - public static + [Slot(1559)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)v_ptr, EntryPoints[1559]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224220,24 +143019,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dvNV")] - public static + [Slot(1559)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)v_ptr, EntryPoints[1559]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224259,18 +143045,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dvNV")] - public static + [Slot(1559)] + public static extern unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)v, EntryPoints[1559]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224291,18 +143070,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fNV")] - public static + [Slot(1560)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1560]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224324,18 +143096,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fNV")] - public static + [Slot(1560)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1560]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224356,24 +143121,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fvNV")] - public static + [Slot(1561)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)v_ptr, EntryPoints[1561]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224394,24 +143146,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fvNV")] - public static + [Slot(1561)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)v_ptr, EntryPoints[1561]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224433,18 +143172,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fvNV")] - public static + [Slot(1561)] + public static extern unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)v, EntryPoints[1561]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224466,24 +143198,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fvNV")] - public static + [Slot(1561)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)v_ptr, EntryPoints[1561]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224505,24 +143224,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fvNV")] - public static + [Slot(1561)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)v_ptr, EntryPoints[1561]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224544,498 +143250,227 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fvNV")] - public static + [Slot(1561)] + public static extern unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (IntPtr)v, EntryPoints[1561]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static + [Slot(1565)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[1565]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static + [Slot(1565)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[1565]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static + [Slot(1565)] + public static extern unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[1565]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static + [Slot(1565)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[1565]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static + [Slot(1565)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[1565]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static + [Slot(1565)] + public static extern unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[1565]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static + [Slot(1565)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[1565]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static + [Slot(1565)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[1565]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static + [Slot(1565)] + public static extern unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[1565]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static + [Slot(1566)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[1566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static + [Slot(1566)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[1566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static + [Slot(1566)] + public static extern unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[1566]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static + [Slot(1566)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[1566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static + [Slot(1566)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[1566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static + [Slot(1566)] + public static extern unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[1566]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static + [Slot(1566)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[1566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static + [Slot(1566)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[1566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static + [Slot(1566)] + public static extern unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[1566]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program5] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glProgramSubroutineParametersuivNV")] - public static + [Slot(1568)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1568]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program5] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glProgramSubroutineParametersuivNV")] - public static + [Slot(1568)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1568]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glProgramSubroutineParametersuivNV")] - public static + [Slot(1568)] + public static extern unsafe void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (IntPtr)@params, EntryPoints[1568]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glProgramSubroutineParametersuivNV")] - public static + [Slot(1568)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1568]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glProgramSubroutineParametersuivNV")] - public static + [Slot(1568)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (IntPtr)@params_ptr, EntryPoints[1568]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glProgramSubroutineParametersuivNV")] - public static + [Slot(1568)] + public static extern unsafe void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (IntPtr)@params, EntryPoints[1568]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225074,18 +143509,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64NV")] - public static + [Slot(1578)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int64)x, EntryPoints[1578]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225125,18 +143553,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64NV")] - public static + [Slot(1578)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int64)x, EntryPoints[1578]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225175,24 +143596,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64vNV")] - public static + [Slot(1579)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1579]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225231,24 +143639,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64vNV")] - public static + [Slot(1579)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1579]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225288,18 +143683,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64vNV")] - public static + [Slot(1579)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1579]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225339,24 +143727,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64vNV")] - public static + [Slot(1579)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1579]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225396,24 +143771,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64vNV")] - public static + [Slot(1579)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1579]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225453,18 +143815,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64vNV")] - public static + [Slot(1579)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1579]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225504,18 +143859,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1ui64NV")] - public static + [Slot(1584)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, UInt64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt64)x, EntryPoints[1584]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225555,24 +143903,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1ui64vNV")] - public static + [Slot(1585)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1585]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225612,24 +143947,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1ui64vNV")] - public static + [Slot(1585)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1585]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225669,18 +143991,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1ui64vNV")] - public static + [Slot(1585)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1585]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225719,18 +144034,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64NV")] - public static + [Slot(1598)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int64 x, Int64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int64)x, (Int64)y, EntryPoints[1598]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225770,18 +144078,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64NV")] - public static + [Slot(1598)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int64 x, Int64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int64)x, (Int64)y, EntryPoints[1598]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225820,24 +144121,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64vNV")] - public static + [Slot(1599)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1599]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225876,24 +144164,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64vNV")] - public static + [Slot(1599)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1599]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225933,18 +144208,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64vNV")] - public static + [Slot(1599)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1599]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225984,24 +144252,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64vNV")] - public static + [Slot(1599)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1599]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226041,24 +144296,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64vNV")] - public static + [Slot(1599)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1599]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226098,18 +144340,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64vNV")] - public static + [Slot(1599)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1599]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226149,18 +144384,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2ui64NV")] - public static + [Slot(1604)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, UInt64 x, UInt64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y, EntryPoints[1604]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226200,24 +144428,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2ui64vNV")] - public static + [Slot(1605)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1605]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226257,24 +144472,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2ui64vNV")] - public static + [Slot(1605)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1605]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226314,18 +144516,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2ui64vNV")] - public static + [Slot(1605)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1605]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226364,18 +144559,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64NV")] - public static + [Slot(1618)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int64 x, Int64 y, Int64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z, EntryPoints[1618]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226415,18 +144603,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64NV")] - public static + [Slot(1618)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z, EntryPoints[1618]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226465,24 +144646,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64vNV")] - public static + [Slot(1619)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1619]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226521,24 +144689,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64vNV")] - public static + [Slot(1619)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1619]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226578,18 +144733,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64vNV")] - public static + [Slot(1619)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1619]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226629,24 +144777,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64vNV")] - public static + [Slot(1619)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1619]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226686,24 +144821,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64vNV")] - public static + [Slot(1619)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1619]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226743,18 +144865,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64vNV")] - public static + [Slot(1619)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1619]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226794,18 +144909,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3ui64NV")] - public static + [Slot(1624)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y, (UInt64)z, EntryPoints[1624]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226845,24 +144953,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3ui64vNV")] - public static + [Slot(1625)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1625]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226902,24 +144997,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3ui64vNV")] - public static + [Slot(1625)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1625]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226959,18 +145041,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3ui64vNV")] - public static + [Slot(1625)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1625]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227009,18 +145084,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64NV")] - public static + [Slot(1638)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z, (Int64)w, EntryPoints[1638]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227060,18 +145128,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64NV")] - public static + [Slot(1638)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z, (Int64)w, EntryPoints[1638]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227110,24 +145171,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64vNV")] - public static + [Slot(1639)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1639]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227166,24 +145214,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64vNV")] - public static + [Slot(1639)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1639]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227223,18 +145258,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64vNV")] - public static + [Slot(1639)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1639]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227274,24 +145302,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64vNV")] - public static + [Slot(1639)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1639]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227331,24 +145346,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64vNV")] - public static + [Slot(1639)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1639]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227388,18 +145390,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64vNV")] - public static + [Slot(1639)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1639]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227439,18 +145434,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4ui64NV")] - public static + [Slot(1644)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w, EntryPoints[1644]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227490,24 +145478,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4ui64vNV")] - public static + [Slot(1645)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1645]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227547,24 +145522,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4ui64vNV")] - public static + [Slot(1645)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1645]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227604,167 +145566,80 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4ui64vNV")] - public static + [Slot(1645)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1645]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64NV")] - public static + [Slot(1650)] + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt64)value, EntryPoints[1650]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64NV")] - public static + [Slot(1650)] + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt64)value, EntryPoints[1650]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vNV")] - public static + [Slot(1652)] + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* values_ptr = values) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values_ptr, EntryPoints[1652]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vNV")] - public static + [Slot(1652)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values_ptr, EntryPoints[1652]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vNV")] - public static + [Slot(1652)] + public static extern unsafe void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values, EntryPoints[1652]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vNV")] - public static + [Slot(1652)] + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* values_ptr = values) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values_ptr, EntryPoints[1652]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vNV")] - public static + [Slot(1652)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values_ptr, EntryPoints[1652]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vNV")] - public static + [Slot(1652)] + public static extern unsafe void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values, EntryPoints[1652]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -227803,18 +145678,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64NV")] - public static + [Slot(1689)] + public static extern void ProgramUniform(Int32 program, Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt64)value, EntryPoints[1689]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -227854,18 +145722,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64NV")] - public static + [Slot(1689)] + public static extern void ProgramUniform(UInt32 program, Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt64)value, EntryPoints[1689]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -227904,24 +145765,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64vNV")] - public static + [Slot(1690)] + public static extern void ProgramUniform(Int32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1690]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -227960,24 +145808,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64vNV")] - public static + [Slot(1690)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1690]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -228017,18 +145852,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64vNV")] - public static + [Slot(1690)] + public static extern unsafe void ProgramUniform(Int32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1690]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -228068,24 +145896,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64vNV")] - public static + [Slot(1690)] + public static extern void ProgramUniform(UInt32 program, Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1690]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -228125,24 +145940,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64vNV")] - public static + [Slot(1690)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[1690]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -228182,2724 +145984,1110 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64vNV")] - public static + [Slot(1690)] + public static extern unsafe void ProgramUniform(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[1690]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_geometry_program4] [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glProgramVertexLimitNV")] - public static + [Slot(1691)] + public static extern void ProgramVertexLimit(OpenTK.Graphics.OpenGL.NvGeometryProgram4 target, Int32 limit) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvGeometryProgram4)target, (Int32)limit, EntryPoints[1691]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_framebuffer_multisample_coverage] [AutoGenerated(Category = "NV_framebuffer_multisample_coverage", Version = "", EntryPoint = "glRenderbufferStorageMultisampleCoverageNV")] - public static + [Slot(1753)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[1753]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glRequestResidentProgramsNV")] - public static + [Slot(1779)] + public static extern void RequestResidentProgram(Int32 n, Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[1779]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glRequestResidentProgramsNV")] - public static + [Slot(1779)] + public static extern void RequestResidentProgram(Int32 n, ref Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[1779]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glRequestResidentProgramsNV")] - public static + [Slot(1779)] + public static extern unsafe void RequestResidentProgram(Int32 n, Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)programs, EntryPoints[1779]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glRequestResidentProgramsNV")] - public static + [Slot(1779)] + public static extern void RequestResidentProgram(Int32 n, UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[1779]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glRequestResidentProgramsNV")] - public static + [Slot(1779)] + public static extern void RequestResidentProgram(Int32 n, ref UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - InteropHelper.Call((Int32)n, (IntPtr)programs_ptr, EntryPoints[1779]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glRequestResidentProgramsNV")] - public static + [Slot(1779)] + public static extern unsafe void RequestResidentProgram(Int32 n, UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)programs, EntryPoints[1779]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback2] /// Resume transform feedback operations /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glResumeTransformFeedbackNV")] - public static + [Slot(1786)] + public static extern void ResumeTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1786]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_explicit_multisample] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] - public static + [Slot(1797)] + public static extern void SampleMaskIndexed(Int32 index, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)mask, EntryPoints[1797]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_explicit_multisample] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] - public static + [Slot(1797)] + public static extern void SampleMaskIndexed(UInt32 index, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)mask, EntryPoints[1797]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glSecondaryColor3hNV")] - public static + [Slot(1826)] + public static extern void SecondaryColor3h(Half red, Half green, Half blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Half)red, (Half)green, (Half)blue, EntryPoints[1826]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glSecondaryColor3hvNV")] - public static + [Slot(1827)] + public static extern void SecondaryColor3h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1827]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glSecondaryColor3hvNV")] - public static + [Slot(1827)] + public static extern void SecondaryColor3h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1827]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glSecondaryColor3hvNV")] - public static + [Slot(1827)] + public static extern unsafe void SecondaryColor3h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1827]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glSecondaryColorFormatNV")] - public static + [Slot(1848)] + public static extern void SecondaryColorFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride, EntryPoints[1848]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static + [Slot(1859)] + public static extern void SetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)condition, EntryPoints[1859]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static + [Slot(1859)] + public static extern void SetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)condition, EntryPoints[1859]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[1879]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[1879]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues, EntryPoints[1879]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - 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 + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - 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 + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues, EntryPoints[1879]); - 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 + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - 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 + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues_ptr, EntryPoints[1879]); - 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 + [Slot(1879)] + 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 - { - InteropHelper.Call((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, (IntPtr)transformValues, EntryPoints[1879]); - 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 + [Slot(1880)] + public static extern void StencilFillPath(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, EntryPoints[1880]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathNV")] - public static + [Slot(1880)] + public static extern void StencilFillPath(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, EntryPoints[1880]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[1890]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[1890]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[1890]); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - 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 + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - 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 + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[1890]); - 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 + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - 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 + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[1890]); - 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 + [Slot(1890)] + 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 - { - InteropHelper.Call((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[1890]); - 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 + [Slot(1891)] + public static extern void StencilStrokePath(Int32 path, Int32 reference, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (Int32)reference, (UInt32)mask, EntryPoints[1891]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathNV")] - public static + [Slot(1891)] + public static extern void StencilStrokePath(UInt32 path, Int32 reference, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)path, (Int32)reference, (UInt32)mask, EntryPoints[1891]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static + [Slot(1912)] + public static extern bool TestFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[1912]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static + [Slot(1912)] + public static extern bool TestFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)fence, EntryPoints[1912]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord1hNV")] - public static + [Slot(1926)] + public static extern void TexCoord1h(Half s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Half)s, EntryPoints[1926]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord1hvNV")] - public static + [Slot(1927)] + public static extern unsafe void TexCoord1h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1927]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord2hNV")] - public static + [Slot(1950)] + public static extern void TexCoord2h(Half s, Half t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Half)s, (Half)t, EntryPoints[1950]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord2hvNV")] - public static + [Slot(1951)] + public static extern void TexCoord2h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1951]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord2hvNV")] - public static + [Slot(1951)] + public static extern void TexCoord2h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1951]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord2hvNV")] - public static + [Slot(1951)] + public static extern unsafe void TexCoord2h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1951]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord3hNV")] - public static + [Slot(1964)] + public static extern void TexCoord3h(Half s, Half t, Half r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Half)s, (Half)t, (Half)r, EntryPoints[1964]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord3hvNV")] - public static + [Slot(1965)] + public static extern void TexCoord3h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1965]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord3hvNV")] - public static + [Slot(1965)] + public static extern void TexCoord3h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1965]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord3hvNV")] - public static + [Slot(1965)] + public static extern unsafe void TexCoord3h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1965]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord4hNV")] - public static + [Slot(1982)] + public static extern void TexCoord4h(Half s, Half t, Half r, Half q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Half)s, (Half)t, (Half)r, (Half)q, EntryPoints[1982]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord4hvNV")] - public static + [Slot(1983)] + public static extern void TexCoord4h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1983]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord4hvNV")] - public static + [Slot(1983)] + public static extern void TexCoord4h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[1983]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord4hvNV")] - public static + [Slot(1983)] + public static extern unsafe void TexCoord4h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[1983]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glTexCoordFormatNV")] - public static + [Slot(1990)] + public static extern void TexCoordFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride, EntryPoints[1990]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_texture_multisample] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTexImage2DMultisampleCoverageNV")] - public static + [Slot(2021)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations, EntryPoints[2021]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_texture_multisample] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTexImage3DMultisampleCoverageNV")] - public static + [Slot(2025)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations, EntryPoints[2025]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_explicit_multisample] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glTexRenderbufferNV")] - public static + [Slot(2038)] + public static extern void TexRenderbuffer(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer, EntryPoints[2038]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_explicit_multisample] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glTexRenderbufferNV")] - public static + [Slot(2038)] + public static extern void TexRenderbuffer(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer, EntryPoints[2038]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_texture_barrier] [AutoGenerated(Category = "NV_texture_barrier", Version = "", EntryPoint = "glTextureBarrierNV")] - public static + [Slot(2052)] + public static extern void TextureBarrier() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[2052]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_texture_multisample] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage2DMultisampleCoverageNV")] - public static + [Slot(2058)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations, EntryPoints[2058]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_texture_multisample] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage2DMultisampleCoverageNV")] - public static + [Slot(2058)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations, EntryPoints[2058]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_texture_multisample] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage2DMultisampleNV")] - public static + [Slot(2059)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations, EntryPoints[2059]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_texture_multisample] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage2DMultisampleNV")] - public static + [Slot(2059)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations, EntryPoints[2059]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_texture_multisample] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage3DMultisampleCoverageNV")] - public static + [Slot(2061)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations, EntryPoints[2061]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_texture_multisample] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage3DMultisampleCoverageNV")] - public static + [Slot(2061)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations, EntryPoints[2061]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_texture_multisample] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage3DMultisampleNV")] - public static + [Slot(2062)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations, EntryPoints[2062]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_texture_multisample] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage3DMultisampleNV")] - public static + [Slot(2062)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations, EntryPoints[2062]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glTrackMatrixNV")] - public static + [Slot(2085)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.NvVertexProgram)matrix, (OpenTK.Graphics.OpenGL.NvVertexProgram)transform, EntryPoints[2085]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glTrackMatrixNV")] - public static + [Slot(2085)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.NvVertexProgram)matrix, (OpenTK.Graphics.OpenGL.NvVertexProgram)transform, EntryPoints[2085]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackAttribsNV")] - public static + [Slot(2086)] + public static extern 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) - { - InteropHelper.Call((UInt32)count, (IntPtr)attribs_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2086]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackAttribsNV")] - public static + [Slot(2086)] + public static extern 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) - { - InteropHelper.Call((UInt32)count, (IntPtr)attribs_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2086]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackAttribsNV")] - public static + [Slot(2086)] + public static extern unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)count, (IntPtr)attribs, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2086]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackAttribsNV")] - public static + [Slot(2086)] + public static extern 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) - { - InteropHelper.Call((UInt32)count, (IntPtr)attribs_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2086]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackAttribsNV")] - public static + [Slot(2086)] + public static extern 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) - { - InteropHelper.Call((UInt32)count, (IntPtr)attribs_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2086]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackAttribsNV")] - public static + [Slot(2086)] + public static extern unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)count, (IntPtr)attribs, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2086]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackStreamAttribsNV")] - public static + [Slot(2087)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)attribs_ptr, (Int32)nbuffers, (IntPtr)bufstreams_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2087]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackStreamAttribsNV")] - public static + [Slot(2087)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)attribs_ptr, (Int32)nbuffers, (IntPtr)bufstreams_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2087]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackStreamAttribsNV")] - public static + [Slot(2087)] + public static extern unsafe void TransformFeedbackStreamAttrib(Int32 count, Int32* attribs, Int32 nbuffers, Int32* bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)attribs, (Int32)nbuffers, (IntPtr)bufstreams, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2087]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Specify values to record in transform feedback buffers @@ -230925,24 +147113,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static + [Slot(2090)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)count, (IntPtr)locations_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2090]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Specify values to record in transform feedback buffers @@ -230968,24 +147143,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static + [Slot(2090)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)count, (IntPtr)locations_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2090]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Specify values to record in transform feedback buffers @@ -231012,18 +147174,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static + [Slot(2090)] + public static extern unsafe void TransformFeedbackVaryings(Int32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)count, (IntPtr)locations, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2090]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Specify values to record in transform feedback buffers @@ -231050,24 +147205,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static + [Slot(2090)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)count, (IntPtr)locations_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2090]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Specify values to record in transform feedback buffers @@ -231094,24 +147236,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static + [Slot(2090)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)count, (IntPtr)locations_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2090]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_transform_feedback] /// Specify values to record in transform feedback buffers @@ -231138,136 +147267,63 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static + [Slot(2090)] + public static extern unsafe void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)count, (IntPtr)locations, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode, EntryPoints[2090]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glTransformPathNV")] - public static + [Slot(2091)] + public static extern 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) - { - InteropHelper.Call((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[2091]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glTransformPathNV")] - public static + [Slot(2091)] + public static extern 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) - { - InteropHelper.Call((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[2091]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glTransformPathNV")] - public static + [Slot(2091)] + public static extern unsafe void TransformPath(Int32 resultPath, Int32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[2091]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glTransformPathNV")] - public static + [Slot(2091)] + public static extern 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) - { - InteropHelper.Call((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[2091]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glTransformPathNV")] - public static + [Slot(2091)] + public static extern 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) - { - InteropHelper.Call((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues_ptr, EntryPoints[2091]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glTransformPathNV")] - public static + [Slot(2091)] + public static extern unsafe void TransformPath(UInt32 resultPath, UInt32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (IntPtr)transformValues, EntryPoints[2091]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231301,18 +147357,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1i64NV")] - public static + [Slot(2102)] + public static extern void Uniform1(Int32 location, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int64)x, EntryPoints[2102]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231346,24 +147395,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1i64vNV")] - public static + [Slot(2103)] + public static extern void Uniform1(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2103]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231397,24 +147433,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1i64vNV")] - public static + [Slot(2103)] + public static extern void Uniform1(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2103]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231449,18 +147472,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1i64vNV")] - public static + [Slot(2103)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2103]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231495,18 +147511,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1ui64NV")] - public static + [Slot(2108)] + public static extern void Uniform1(Int32 location, UInt64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt64)x, EntryPoints[2108]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231541,24 +147550,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1ui64vNV")] - public static + [Slot(2109)] + public static extern void Uniform1(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2109]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231593,24 +147589,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1ui64vNV")] - public static + [Slot(2109)] + public static extern void Uniform1(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2109]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231645,18 +147628,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1ui64vNV")] - public static + [Slot(2109)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2109]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231690,18 +147666,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2i64NV")] - public static + [Slot(2120)] + public static extern void Uniform2(Int32 location, Int64 x, Int64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int64)x, (Int64)y, EntryPoints[2120]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231735,24 +147704,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2i64vNV")] - public static + [Slot(2121)] + public static extern void Uniform2(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2121]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231786,24 +147742,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2i64vNV")] - public static + [Slot(2121)] + public static extern void Uniform2(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2121]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231838,18 +147781,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2i64vNV")] - public static + [Slot(2121)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2121]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231884,18 +147820,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2ui64NV")] - public static + [Slot(2126)] + public static extern void Uniform2(Int32 location, UInt64 x, UInt64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt64)x, (UInt64)y, EntryPoints[2126]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231930,24 +147859,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2ui64vNV")] - public static + [Slot(2127)] + public static extern void Uniform2(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2127]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231982,24 +147898,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2ui64vNV")] - public static + [Slot(2127)] + public static extern void Uniform2(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2127]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232034,18 +147937,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2ui64vNV")] - public static + [Slot(2127)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2127]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232079,18 +147975,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3i64NV")] - public static + [Slot(2138)] + public static extern void Uniform3(Int32 location, Int64 x, Int64 y, Int64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int64)x, (Int64)y, (Int64)z, EntryPoints[2138]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232124,24 +148013,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3i64vNV")] - public static + [Slot(2139)] + public static extern void Uniform3(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2139]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232175,24 +148051,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3i64vNV")] - public static + [Slot(2139)] + public static extern void Uniform3(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2139]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232227,18 +148090,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3i64vNV")] - public static + [Slot(2139)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2139]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232273,18 +148129,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3ui64NV")] - public static + [Slot(2144)] + public static extern void Uniform3(Int32 location, UInt64 x, UInt64 y, UInt64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt64)x, (UInt64)y, (UInt64)z, EntryPoints[2144]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232319,24 +148168,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3ui64vNV")] - public static + [Slot(2145)] + public static extern void Uniform3(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2145]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232371,24 +148207,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3ui64vNV")] - public static + [Slot(2145)] + public static extern void Uniform3(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2145]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232423,18 +148246,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3ui64vNV")] - public static + [Slot(2145)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2145]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232468,18 +148284,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4i64NV")] - public static + [Slot(2156)] + public static extern void Uniform4(Int32 location, Int64 x, Int64 y, Int64 z, Int64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int64)x, (Int64)y, (Int64)z, (Int64)w, EntryPoints[2156]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232513,24 +148322,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4i64vNV")] - public static + [Slot(2157)] + public static extern void Uniform4(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2157]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232564,24 +148360,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4i64vNV")] - public static + [Slot(2157)] + public static extern void Uniform4(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2157]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232616,18 +148399,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4i64vNV")] - public static + [Slot(2157)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2157]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232662,18 +148438,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4ui64NV")] - public static + [Slot(2162)] + public static extern void Uniform4(Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w, EntryPoints[2162]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232708,24 +148477,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4ui64vNV")] - public static + [Slot(2163)] + public static extern void Uniform4(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2163]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232760,24 +148516,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4ui64vNV")] - public static + [Slot(2163)] + public static extern void Uniform4(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2163]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232812,167 +148555,80 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4ui64vNV")] - public static + [Slot(2163)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2163]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64NV")] - public static + [Slot(2170)] + public static extern void UniformHandle(Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt64)value, EntryPoints[2170]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64NV")] - public static + [Slot(2170)] + public static extern void UniformHandle(Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt64)value, EntryPoints[2170]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vNV")] - public static + [Slot(2172)] + public static extern void UniformHandle(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2172]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vNV")] - public static + [Slot(2172)] + public static extern void UniformHandle(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2172]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vNV")] - public static + [Slot(2172)] + public static extern unsafe void UniformHandle(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2172]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vNV")] - public static + [Slot(2172)] + public static extern void UniformHandle(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2172]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vNV")] - public static + [Slot(2172)] + public static extern void UniformHandle(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2172]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vNV")] - public static + [Slot(2172)] + public static extern unsafe void UniformHandle(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2172]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233006,18 +148662,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64NV")] - public static + [Slot(2195)] + public static extern void Uniform(Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt64)value, EntryPoints[2195]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233052,18 +148701,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64NV")] - public static + [Slot(2195)] + public static extern void Uniform(Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt64)value, EntryPoints[2195]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233097,24 +148739,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64vNV")] - public static + [Slot(2196)] + public static extern void Uniform(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233148,24 +148777,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64vNV")] - public static + [Slot(2196)] + public static extern void Uniform(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233200,18 +148816,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64vNV")] - public static + [Slot(2196)] + public static extern unsafe void Uniform(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2196]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233246,24 +148855,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64vNV")] - public static + [Slot(2196)] + public static extern void Uniform(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233298,24 +148894,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64vNV")] - public static + [Slot(2196)] + public static extern void Uniform(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[2196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233350,2348 +148933,877 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64vNV")] - public static + [Slot(2196)] + public static extern unsafe void Uniform(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[2196]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUFiniNV")] - public static + [Slot(2223)] + public static extern void VDPAUFin() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[2223]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUGetSurfaceivNV")] - public static + [Slot(2224)] + public static extern 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) - { - InteropHelper.Call((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[2224]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUGetSurfaceivNV")] - public static + [Slot(2224)] + public static extern 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) - { - InteropHelper.Call((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[2224]); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUGetSurfaceivNV")] - public static + [Slot(2224)] + public static extern 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 - InteropHelper.Call((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)pname, (Int32)bufSize, (IntPtr)length, (IntPtr)values, EntryPoints[2224]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUInitNV")] - public static + [Slot(2225)] + public static extern void VDPAUInit(IntPtr vdpDevice, IntPtr getProcAddress) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)vdpDevice, (IntPtr)getProcAddress, EntryPoints[2225]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUInitNV")] - public static + [Slot(2225)] + 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 - { - InteropHelper.Call((IntPtr)vdpDevice_ptr.AddrOfPinnedObject(), (IntPtr)getProcAddress_ptr.AddrOfPinnedObject(), EntryPoints[2225]); - } - finally - { - vdpDevice_ptr.Free(); - getProcAddress_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUInitNV")] - public static + [Slot(2225)] + 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 - { - InteropHelper.Call((IntPtr)vdpDevice_ptr.AddrOfPinnedObject(), (IntPtr)getProcAddress_ptr.AddrOfPinnedObject(), EntryPoints[2225]); - } - finally - { - vdpDevice_ptr.Free(); - getProcAddress_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUInitNV")] - public static + [Slot(2225)] + 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 - { - InteropHelper.Call((IntPtr)vdpDevice_ptr.AddrOfPinnedObject(), (IntPtr)getProcAddress_ptr.AddrOfPinnedObject(), EntryPoints[2225]); - } - finally - { - vdpDevice_ptr.Free(); - getProcAddress_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUInitNV")] - public static + [Slot(2225)] + 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 - { - InteropHelper.Call((IntPtr)vdpDevice_ptr.AddrOfPinnedObject(), (IntPtr)getProcAddress_ptr.AddrOfPinnedObject(), EntryPoints[2225]); - 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 + [Slot(2226)] + public static extern void VDPAUIsSurface(IntPtr surface) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)surface, EntryPoints[2226]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUMapSurfacesNV")] - public static + [Slot(2227)] + public static extern void VDPAUMapSurfaces(Int32 numSurfaces, IntPtr[] surfaces) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* surfaces_ptr = surfaces) - { - InteropHelper.Call((Int32)numSurfaces, (IntPtr)surfaces_ptr, EntryPoints[2227]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUMapSurfacesNV")] - public static + [Slot(2227)] + public static extern void VDPAUMapSurfaces(Int32 numSurfaces, ref IntPtr surfaces) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* surfaces_ptr = &surfaces) - { - InteropHelper.Call((Int32)numSurfaces, (IntPtr)surfaces_ptr, EntryPoints[2227]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUMapSurfacesNV")] - public static + [Slot(2227)] + public static extern unsafe void VDPAUMapSurfaces(Int32 numSurfaces, IntPtr* surfaces) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)numSurfaces, (IntPtr)surfaces, EntryPoints[2227]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + public static extern 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 InteropHelper.CallReturn((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + public static extern 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 InteropHelper.CallReturn((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + public static extern unsafe IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2228]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + public static extern 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 InteropHelper.CallReturn((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + public static extern 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 InteropHelper.CallReturn((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + public static extern unsafe IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2228]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2228]); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static + [Slot(2228)] + 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 = InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - 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 + [Slot(2228)] + 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 = InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - 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 + [Slot(2228)] + 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 = InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2228]); - 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 + [Slot(2228)] + 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 = InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - 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 + [Slot(2228)] + 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 = InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2228]); - 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 + [Slot(2228)] + 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 = InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2228]); - 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 + [Slot(2229)] + public static extern 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 InteropHelper.CallReturn((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + public static extern 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 InteropHelper.CallReturn((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + public static extern unsafe IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2229]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + public static extern 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 InteropHelper.CallReturn((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + public static extern 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 InteropHelper.CallReturn((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + public static extern unsafe IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2229]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2229]); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static + [Slot(2229)] + 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 = InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - 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 + [Slot(2229)] + 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 = InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - 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 + [Slot(2229)] + 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 = InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2229]); - 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 + [Slot(2229)] + 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 = InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - 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 + [Slot(2229)] + 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 = InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames_ptr, EntryPoints[2229]); - 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 + [Slot(2229)] + 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 = InteropHelper.CallReturn((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (IntPtr)textureNames, EntryPoints[2229]); - 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 + [Slot(2230)] + public static extern void VDPAUSurfaceAccess(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)access, EntryPoints[2230]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUUnmapSurfacesNV")] - public static + [Slot(2231)] + public static extern void VDPAUUnmapSurfaces(Int32 numSurface, IntPtr[] surfaces) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* surfaces_ptr = surfaces) - { - InteropHelper.Call((Int32)numSurface, (IntPtr)surfaces_ptr, EntryPoints[2231]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUUnmapSurfacesNV")] - public static + [Slot(2231)] + public static extern void VDPAUUnmapSurfaces(Int32 numSurface, ref IntPtr surfaces) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* surfaces_ptr = &surfaces) - { - InteropHelper.Call((Int32)numSurface, (IntPtr)surfaces_ptr, EntryPoints[2231]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUUnmapSurfacesNV")] - public static + [Slot(2231)] + public static extern unsafe void VDPAUUnmapSurfaces(Int32 numSurface, IntPtr* surfaces) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)numSurface, (IntPtr)surfaces, EntryPoints[2231]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUUnregisterSurfaceNV")] - public static + [Slot(2232)] + public static extern void VDPAUUnregisterSurface(IntPtr surface) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)surface, EntryPoints[2232]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex2hNV")] - public static + [Slot(2239)] + public static extern void Vertex2h(Half x, Half y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Half)x, (Half)y, EntryPoints[2239]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex2hvNV")] - public static + [Slot(2240)] + public static extern void Vertex2h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2240]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex2hvNV")] - public static + [Slot(2240)] + public static extern void Vertex2h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2240]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex2hvNV")] - public static + [Slot(2240)] + public static extern unsafe void Vertex2h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2240]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex3hNV")] - public static + [Slot(2253)] + public static extern void Vertex3h(Half x, Half y, Half z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Half)x, (Half)y, (Half)z, EntryPoints[2253]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex3hvNV")] - public static + [Slot(2254)] + public static extern void Vertex3h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2254]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex3hvNV")] - public static + [Slot(2254)] + public static extern void Vertex3h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2254]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex3hvNV")] - public static + [Slot(2254)] + public static extern unsafe void Vertex3h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2254]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex4hNV")] - public static + [Slot(2267)] + public static extern void Vertex4h(Half x, Half y, Half z, Half w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Half)x, (Half)y, (Half)z, (Half)w, EntryPoints[2267]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex4hvNV")] - public static + [Slot(2268)] + public static extern void Vertex4h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2268]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex4hvNV")] - public static + [Slot(2268)] + public static extern void Vertex4h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((IntPtr)v_ptr, EntryPoints[2268]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex4hvNV")] - public static + [Slot(2268)] + public static extern unsafe void Vertex4h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v, EntryPoints[2268]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_array_range] [AutoGenerated(Category = "NV_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeNV")] - public static + [Slot(2284)] + public static extern void VertexArrayRange(Int32 length, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)length, (IntPtr)pointer, EntryPoints[2284]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_array_range] [AutoGenerated(Category = "NV_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeNV")] - public static + [Slot(2284)] + 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 - { - InteropHelper.Call((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2284]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_array_range] [AutoGenerated(Category = "NV_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeNV")] - public static + [Slot(2284)] + 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 - { - InteropHelper.Call((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2284]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_array_range] [AutoGenerated(Category = "NV_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeNV")] - public static + [Slot(2284)] + 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 - { - InteropHelper.Call((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2284]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_array_range] [AutoGenerated(Category = "NV_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeNV")] - public static + [Slot(2284)] + 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 - { - InteropHelper.Call((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2284]); - pointer = (T1)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -235727,18 +149839,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1dNV")] - public static + [Slot(2299)] + public static extern void VertexAttrib1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[2299]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -235775,18 +149880,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1dNV")] - public static + [Slot(2299)] + public static extern void VertexAttrib1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[2299]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -235823,18 +149921,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1dvNV")] - public static + [Slot(2302)] + public static extern unsafe void VertexAttrib1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2302]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -235871,18 +149962,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1dvNV")] - public static + [Slot(2302)] + public static extern unsafe void VertexAttrib1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2302]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -235918,18 +150002,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1fNV")] - public static + [Slot(2305)] + public static extern void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, EntryPoints[2305]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -235966,18 +150043,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1fNV")] - public static + [Slot(2305)] + public static extern void VertexAttrib1(UInt32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, EntryPoints[2305]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236014,18 +150084,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1fvNV")] - public static + [Slot(2308)] + public static extern unsafe void VertexAttrib1(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2308]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236062,81 +150125,46 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1fvNV")] - public static + [Slot(2308)] + public static extern unsafe void VertexAttrib1(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2308]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib1hNV")] - public static + [Slot(2309)] + public static extern void VertexAttrib1h(Int32 index, Half x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Half)x, EntryPoints[2309]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib1hNV")] - public static + [Slot(2309)] + public static extern void VertexAttrib1h(UInt32 index, Half x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Half)x, EntryPoints[2309]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib1hvNV")] - public static + [Slot(2310)] + public static extern unsafe void VertexAttrib1h(Int32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2310]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib1hvNV")] - public static + [Slot(2310)] + public static extern unsafe void VertexAttrib1h(UInt32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2310]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236172,18 +150200,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1sNV")] - public static + [Slot(2313)] + public static extern void VertexAttrib1(Int32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, EntryPoints[2313]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236220,18 +150241,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1sNV")] - public static + [Slot(2313)] + public static extern void VertexAttrib1(UInt32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, EntryPoints[2313]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236268,18 +150282,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1svNV")] - public static + [Slot(2316)] + public static extern unsafe void VertexAttrib1(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2316]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236316,18 +150323,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1svNV")] - public static + [Slot(2316)] + public static extern unsafe void VertexAttrib1(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2316]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236363,18 +150363,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dNV")] - public static + [Slot(2319)] + public static extern void VertexAttrib2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[2319]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236411,18 +150404,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dNV")] - public static + [Slot(2319)] + public static extern void VertexAttrib2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[2319]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236458,24 +150444,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dvNV")] - public static + [Slot(2322)] + public static extern void VertexAttrib2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2322]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236511,24 +150484,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dvNV")] - public static + [Slot(2322)] + public static extern void VertexAttrib2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2322]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236565,18 +150525,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dvNV")] - public static + [Slot(2322)] + public static extern unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2322]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236613,24 +150566,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dvNV")] - public static + [Slot(2322)] + public static extern void VertexAttrib2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2322]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236667,24 +150607,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dvNV")] - public static + [Slot(2322)] + public static extern void VertexAttrib2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2322]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236721,18 +150648,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dvNV")] - public static + [Slot(2322)] + public static extern unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2322]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236768,18 +150688,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fNV")] - public static + [Slot(2325)] + public static extern void VertexAttrib2(Int32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, EntryPoints[2325]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236816,18 +150729,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fNV")] - public static + [Slot(2325)] + public static extern void VertexAttrib2(UInt32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, EntryPoints[2325]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236863,24 +150769,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fvNV")] - public static + [Slot(2328)] + public static extern void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2328]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236916,24 +150809,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fvNV")] - public static + [Slot(2328)] + public static extern void VertexAttrib2(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2328]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236970,18 +150850,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fvNV")] - public static + [Slot(2328)] + public static extern unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2328]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237018,24 +150891,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fvNV")] - public static + [Slot(2328)] + public static extern void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2328]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237072,24 +150932,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fvNV")] - public static + [Slot(2328)] + public static extern void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2328]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237126,167 +150973,80 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fvNV")] - public static + [Slot(2328)] + public static extern unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2328]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hNV")] - public static + [Slot(2329)] + public static extern void VertexAttrib2h(Int32 index, Half x, Half y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Half)x, (Half)y, EntryPoints[2329]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hNV")] - public static + [Slot(2329)] + public static extern void VertexAttrib2h(UInt32 index, Half x, Half y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Half)x, (Half)y, EntryPoints[2329]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hvNV")] - public static + [Slot(2330)] + public static extern void VertexAttrib2h(Int32 index, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2330]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hvNV")] - public static + [Slot(2330)] + public static extern void VertexAttrib2h(Int32 index, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2330]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hvNV")] - public static + [Slot(2330)] + public static extern unsafe void VertexAttrib2h(Int32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2330]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hvNV")] - public static + [Slot(2330)] + public static extern void VertexAttrib2h(UInt32 index, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2330]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hvNV")] - public static + [Slot(2330)] + public static extern void VertexAttrib2h(UInt32 index, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2330]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hvNV")] - public static + [Slot(2330)] + public static extern unsafe void VertexAttrib2h(UInt32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2330]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237322,18 +151082,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2sNV")] - public static + [Slot(2333)] + public static extern void VertexAttrib2(Int32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, EntryPoints[2333]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237370,18 +151123,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2sNV")] - public static + [Slot(2333)] + public static extern void VertexAttrib2(UInt32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, EntryPoints[2333]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237417,24 +151163,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2svNV")] - public static + [Slot(2336)] + public static extern void VertexAttrib2(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2336]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237470,24 +151203,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2svNV")] - public static + [Slot(2336)] + public static extern void VertexAttrib2(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2336]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237524,18 +151244,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2svNV")] - public static + [Slot(2336)] + public static extern unsafe void VertexAttrib2(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2336]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237572,24 +151285,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2svNV")] - public static + [Slot(2336)] + public static extern void VertexAttrib2(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2336]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237626,24 +151326,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2svNV")] - public static + [Slot(2336)] + public static extern void VertexAttrib2(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2336]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237680,18 +151367,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2svNV")] - public static + [Slot(2336)] + public static extern unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2336]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237727,18 +151407,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dNV")] - public static + [Slot(2339)] + public static extern void VertexAttrib3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[2339]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237775,18 +151448,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dNV")] - public static + [Slot(2339)] + public static extern void VertexAttrib3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[2339]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237822,24 +151488,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dvNV")] - public static + [Slot(2342)] + public static extern void VertexAttrib3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2342]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237875,24 +151528,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dvNV")] - public static + [Slot(2342)] + public static extern void VertexAttrib3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2342]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237929,18 +151569,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dvNV")] - public static + [Slot(2342)] + public static extern unsafe void VertexAttrib3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2342]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237977,24 +151610,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dvNV")] - public static + [Slot(2342)] + public static extern void VertexAttrib3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2342]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238031,24 +151651,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dvNV")] - public static + [Slot(2342)] + public static extern void VertexAttrib3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2342]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238085,18 +151692,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dvNV")] - public static + [Slot(2342)] + public static extern unsafe void VertexAttrib3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2342]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238132,18 +151732,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fNV")] - public static + [Slot(2345)] + public static extern void VertexAttrib3(Int32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, EntryPoints[2345]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238180,18 +151773,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fNV")] - public static + [Slot(2345)] + public static extern void VertexAttrib3(UInt32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, EntryPoints[2345]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238227,24 +151813,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fvNV")] - public static + [Slot(2348)] + public static extern void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2348]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238280,24 +151853,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fvNV")] - public static + [Slot(2348)] + public static extern void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2348]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238334,18 +151894,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fvNV")] - public static + [Slot(2348)] + public static extern unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2348]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238382,24 +151935,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fvNV")] - public static + [Slot(2348)] + public static extern void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2348]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238436,24 +151976,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fvNV")] - public static + [Slot(2348)] + public static extern void VertexAttrib3(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2348]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238490,167 +152017,80 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fvNV")] - public static + [Slot(2348)] + public static extern unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2348]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hNV")] - public static + [Slot(2349)] + public static extern void VertexAttrib3h(Int32 index, Half x, Half y, Half z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Half)x, (Half)y, (Half)z, EntryPoints[2349]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hNV")] - public static + [Slot(2349)] + public static extern void VertexAttrib3h(UInt32 index, Half x, Half y, Half z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Half)x, (Half)y, (Half)z, EntryPoints[2349]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hvNV")] - public static + [Slot(2350)] + public static extern void VertexAttrib3h(Int32 index, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hvNV")] - public static + [Slot(2350)] + public static extern void VertexAttrib3h(Int32 index, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hvNV")] - public static + [Slot(2350)] + public static extern unsafe void VertexAttrib3h(Int32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2350]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hvNV")] - public static + [Slot(2350)] + public static extern void VertexAttrib3h(UInt32 index, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hvNV")] - public static + [Slot(2350)] + public static extern void VertexAttrib3h(UInt32 index, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2350]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hvNV")] - public static + [Slot(2350)] + public static extern unsafe void VertexAttrib3h(UInt32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2350]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238686,18 +152126,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3sNV")] - public static + [Slot(2353)] + public static extern void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, EntryPoints[2353]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238734,18 +152167,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3sNV")] - public static + [Slot(2353)] + public static extern void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, EntryPoints[2353]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238781,24 +152207,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3svNV")] - public static + [Slot(2356)] + public static extern void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2356]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238834,24 +152247,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3svNV")] - public static + [Slot(2356)] + public static extern void VertexAttrib3(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2356]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238888,18 +152288,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3svNV")] - public static + [Slot(2356)] + public static extern unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2356]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238936,24 +152329,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3svNV")] - public static + [Slot(2356)] + public static extern void VertexAttrib3(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2356]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238990,24 +152370,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3svNV")] - public static + [Slot(2356)] + public static extern void VertexAttrib3(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2356]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239044,18 +152411,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3svNV")] - public static + [Slot(2356)] + public static extern unsafe void VertexAttrib3(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2356]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239091,18 +152451,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dNV")] - public static + [Slot(2361)] + public static extern void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2361]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239139,18 +152492,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dNV")] - public static + [Slot(2361)] + public static extern void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[2361]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239186,24 +152532,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dvNV")] - public static + [Slot(2364)] + public static extern void VertexAttrib4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2364]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239239,24 +152572,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dvNV")] - public static + [Slot(2364)] + public static extern void VertexAttrib4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2364]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239293,18 +152613,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dvNV")] - public static + [Slot(2364)] + public static extern unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2364]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239341,24 +152654,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dvNV")] - public static + [Slot(2364)] + public static extern void VertexAttrib4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2364]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239395,24 +152695,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dvNV")] - public static + [Slot(2364)] + public static extern void VertexAttrib4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2364]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239449,18 +152736,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dvNV")] - public static + [Slot(2364)] + public static extern unsafe void VertexAttrib4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2364]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239496,18 +152776,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fNV")] - public static + [Slot(2367)] + public static extern void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[2367]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239544,18 +152817,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fNV")] - public static + [Slot(2367)] + public static extern void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[2367]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239591,24 +152857,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fvNV")] - public static + [Slot(2370)] + public static extern void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2370]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239644,24 +152897,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fvNV")] - public static + [Slot(2370)] + public static extern void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2370]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239698,18 +152938,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fvNV")] - public static + [Slot(2370)] + public static extern unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2370]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239746,24 +152979,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fvNV")] - public static + [Slot(2370)] + public static extern void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2370]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239800,24 +153020,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fvNV")] - public static + [Slot(2370)] + public static extern void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2370]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239854,167 +153061,80 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fvNV")] - public static + [Slot(2370)] + public static extern unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2370]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hNV")] - public static + [Slot(2371)] + public static extern void VertexAttrib4h(Int32 index, Half x, Half y, Half z, Half w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Half)x, (Half)y, (Half)z, (Half)w, EntryPoints[2371]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hNV")] - public static + [Slot(2371)] + public static extern void VertexAttrib4h(UInt32 index, Half x, Half y, Half z, Half w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Half)x, (Half)y, (Half)z, (Half)w, EntryPoints[2371]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hvNV")] - public static + [Slot(2372)] + public static extern void VertexAttrib4h(Int32 index, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2372]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hvNV")] - public static + [Slot(2372)] + public static extern void VertexAttrib4h(Int32 index, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2372]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hvNV")] - public static + [Slot(2372)] + public static extern unsafe void VertexAttrib4h(Int32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2372]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hvNV")] - public static + [Slot(2372)] + public static extern void VertexAttrib4h(UInt32 index, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2372]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hvNV")] - public static + [Slot(2372)] + public static extern void VertexAttrib4h(UInt32 index, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2372]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hvNV")] - public static + [Slot(2372)] + public static extern unsafe void VertexAttrib4h(UInt32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2372]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240050,18 +153170,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4sNV")] - public static + [Slot(2391)] + public static extern void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w, EntryPoints[2391]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240098,18 +153211,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4sNV")] - public static + [Slot(2391)] + public static extern void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w, EntryPoints[2391]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240145,24 +153251,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4svNV")] - public static + [Slot(2394)] + public static extern void VertexAttrib4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2394]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240198,24 +153291,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4svNV")] - public static + [Slot(2394)] + public static extern void VertexAttrib4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2394]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240252,18 +153332,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4svNV")] - public static + [Slot(2394)] + public static extern unsafe void VertexAttrib4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2394]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240300,24 +153373,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4svNV")] - public static + [Slot(2394)] + public static extern void VertexAttrib4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2394]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240354,24 +153414,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4svNV")] - public static + [Slot(2394)] + public static extern void VertexAttrib4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2394]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240408,18 +153455,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4svNV")] - public static + [Slot(2394)] + public static extern unsafe void VertexAttrib4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2394]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240455,18 +153495,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubNV")] - public static + [Slot(2395)] + public static extern void VertexAttrib4(Int32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w, EntryPoints[2395]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240503,18 +153536,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubNV")] - public static + [Slot(2395)] + public static extern void VertexAttrib4(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w, EntryPoints[2395]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240550,24 +153576,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubvNV")] - public static + [Slot(2398)] + public static extern void VertexAttrib4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2398]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240603,24 +153616,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubvNV")] - public static + [Slot(2398)] + public static extern void VertexAttrib4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2398]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240657,18 +153657,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubvNV")] - public static + [Slot(2398)] + public static extern unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2398]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240705,24 +153698,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubvNV")] - public static + [Slot(2398)] + public static extern void VertexAttrib4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2398]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240759,24 +153739,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubvNV")] - public static + [Slot(2398)] + public static extern void VertexAttrib4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2398]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240813,18 +153780,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubvNV")] - public static + [Slot(2398)] + public static extern unsafe void VertexAttrib4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2398]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] /// Specify the organization of vertex arrays @@ -240855,18 +153815,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glVertexAttribFormatNV")] - public static + [Slot(2408)] + public static extern void VertexAttribFormat(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (bool)normalized, (Int32)stride, EntryPoints[2408]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] /// Specify the organization of vertex arrays @@ -240898,850 +153851,413 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glVertexAttribFormatNV")] - public static + [Slot(2408)] + public static extern void VertexAttribFormat(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (bool)normalized, (Int32)stride, EntryPoints[2408]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glVertexAttribIFormatNV")] - public static + [Slot(2450)] + public static extern void VertexAttribIFormat(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride, EntryPoints[2450]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glVertexAttribIFormatNV")] - public static + [Slot(2450)] + public static extern void VertexAttribIFormat(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride, EntryPoints[2450]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL1i64NV")] - public static + [Slot(2457)] + public static extern void VertexAttribL1(Int32 index, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int64)x, EntryPoints[2457]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL1i64NV")] - public static + [Slot(2457)] + public static extern void VertexAttribL1(UInt32 index, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int64)x, EntryPoints[2457]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL1i64vNV")] - public static + [Slot(2458)] + public static extern unsafe void VertexAttribL1(Int32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2458]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL1i64vNV")] - public static + [Slot(2458)] + public static extern unsafe void VertexAttribL1(UInt32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2458]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL1ui64NV")] - public static + [Slot(2460)] + public static extern void VertexAttribL1(UInt32 index, UInt64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt64)x, EntryPoints[2460]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL1ui64vNV")] - public static + [Slot(2462)] + public static extern unsafe void VertexAttribL1(UInt32 index, UInt64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2462]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64NV")] - public static + [Slot(2467)] + public static extern void VertexAttribL2(Int32 index, Int64 x, Int64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int64)x, (Int64)y, EntryPoints[2467]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64NV")] - public static + [Slot(2467)] + public static extern void VertexAttribL2(UInt32 index, Int64 x, Int64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int64)x, (Int64)y, EntryPoints[2467]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64vNV")] - public static + [Slot(2468)] + public static extern void VertexAttribL2(Int32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2468]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64vNV")] - public static + [Slot(2468)] + public static extern void VertexAttribL2(Int32 index, ref Int64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2468]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64vNV")] - public static + [Slot(2468)] + public static extern unsafe void VertexAttribL2(Int32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2468]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64vNV")] - public static + [Slot(2468)] + public static extern void VertexAttribL2(UInt32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2468]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64vNV")] - public static + [Slot(2468)] + public static extern void VertexAttribL2(UInt32 index, ref Int64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2468]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64vNV")] - public static + [Slot(2468)] + public static extern unsafe void VertexAttribL2(UInt32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2468]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2ui64NV")] - public static + [Slot(2469)] + public static extern void VertexAttribL2(UInt32 index, UInt64 x, UInt64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt64)x, (UInt64)y, EntryPoints[2469]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2ui64vNV")] - public static + [Slot(2470)] + public static extern void VertexAttribL2(UInt32 index, UInt64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2470]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2ui64vNV")] - public static + [Slot(2470)] + public static extern void VertexAttribL2(UInt32 index, ref UInt64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2470]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2ui64vNV")] - public static + [Slot(2470)] + public static extern unsafe void VertexAttribL2(UInt32 index, UInt64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2470]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64NV")] - public static + [Slot(2475)] + public static extern void VertexAttribL3(Int32 index, Int64 x, Int64 y, Int64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int64)x, (Int64)y, (Int64)z, EntryPoints[2475]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64NV")] - public static + [Slot(2475)] + public static extern void VertexAttribL3(UInt32 index, Int64 x, Int64 y, Int64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int64)x, (Int64)y, (Int64)z, EntryPoints[2475]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64vNV")] - public static + [Slot(2476)] + public static extern void VertexAttribL3(Int32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2476]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64vNV")] - public static + [Slot(2476)] + public static extern void VertexAttribL3(Int32 index, ref Int64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2476]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64vNV")] - public static + [Slot(2476)] + public static extern unsafe void VertexAttribL3(Int32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2476]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64vNV")] - public static + [Slot(2476)] + public static extern void VertexAttribL3(UInt32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2476]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64vNV")] - public static + [Slot(2476)] + public static extern void VertexAttribL3(UInt32 index, ref Int64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2476]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64vNV")] - public static + [Slot(2476)] + public static extern unsafe void VertexAttribL3(UInt32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2476]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3ui64NV")] - public static + [Slot(2477)] + public static extern void VertexAttribL3(UInt32 index, UInt64 x, UInt64 y, UInt64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt64)x, (UInt64)y, (UInt64)z, EntryPoints[2477]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3ui64vNV")] - public static + [Slot(2478)] + public static extern void VertexAttribL3(UInt32 index, UInt64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2478]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3ui64vNV")] - public static + [Slot(2478)] + public static extern void VertexAttribL3(UInt32 index, ref UInt64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2478]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3ui64vNV")] - public static + [Slot(2478)] + public static extern unsafe void VertexAttribL3(UInt32 index, UInt64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2478]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64NV")] - public static + [Slot(2483)] + public static extern void VertexAttribL4(Int32 index, Int64 x, Int64 y, Int64 z, Int64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int64)x, (Int64)y, (Int64)z, (Int64)w, EntryPoints[2483]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64NV")] - public static + [Slot(2483)] + public static extern void VertexAttribL4(UInt32 index, Int64 x, Int64 y, Int64 z, Int64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int64)x, (Int64)y, (Int64)z, (Int64)w, EntryPoints[2483]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64vNV")] - public static + [Slot(2484)] + public static extern void VertexAttribL4(Int32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2484]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64vNV")] - public static + [Slot(2484)] + public static extern void VertexAttribL4(Int32 index, ref Int64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2484]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64vNV")] - public static + [Slot(2484)] + public static extern unsafe void VertexAttribL4(Int32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2484]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64vNV")] - public static + [Slot(2484)] + public static extern void VertexAttribL4(UInt32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2484]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64vNV")] - public static + [Slot(2484)] + public static extern void VertexAttribL4(UInt32 index, ref Int64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2484]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64vNV")] - public static + [Slot(2484)] + public static extern unsafe void VertexAttribL4(UInt32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2484]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4ui64NV")] - public static + [Slot(2485)] + public static extern void VertexAttribL4(UInt32 index, UInt64 x, UInt64 y, UInt64 z, UInt64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w, EntryPoints[2485]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4ui64vNV")] - public static + [Slot(2486)] + public static extern void VertexAttribL4(UInt32 index, UInt64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2486]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4ui64vNV")] - public static + [Slot(2486)] + public static extern void VertexAttribL4(UInt32 index, ref UInt64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[2486]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4ui64vNV")] - public static + [Slot(2486)] + public static extern unsafe void VertexAttribL4(UInt32 index, UInt64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[2486]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribLFormatNV")] - public static + [Slot(2488)] + public static extern void VertexAttribLFormat(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)type, (Int32)stride, EntryPoints[2488]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribLFormatNV")] - public static + [Slot(2488)] + public static extern void VertexAttribLFormat(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)type, (Int32)stride, EntryPoints[2488]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -241777,18 +154293,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static + [Slot(2502)] + public static extern void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2502]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -241824,27 +154333,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static + [Slot(2502)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2502]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -241880,27 +154374,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static + [Slot(2502)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2502]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -241936,27 +154415,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static + [Slot(2502)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2502]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -241992,28 +154456,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static + [Slot(2502)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2502]); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242050,18 +154498,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static + [Slot(2502)] + public static extern void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer, EntryPoints[2502]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242098,27 +154539,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static + [Slot(2502)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2502]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242155,27 +154581,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static + [Slot(2502)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2502]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242212,27 +154623,12 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static + [Slot(2502)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2502]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242269,2684 +154665,1181 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static + [Slot(2502)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[2502]); - 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 + [Slot(2503)] + public static extern void VertexAttribs1(Int32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2503]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1dvNV")] - public static + [Slot(2503)] + public static extern void VertexAttribs1(Int32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2503]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1dvNV")] - public static + [Slot(2503)] + public static extern unsafe void VertexAttribs1(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2503]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1dvNV")] - public static + [Slot(2503)] + public static extern void VertexAttribs1(UInt32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2503]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1dvNV")] - public static + [Slot(2503)] + public static extern void VertexAttribs1(UInt32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2503]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1dvNV")] - public static + [Slot(2503)] + public static extern unsafe void VertexAttribs1(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2503]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1fvNV")] - public static + [Slot(2504)] + public static extern void VertexAttribs1(Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2504]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1fvNV")] - public static + [Slot(2504)] + public static extern void VertexAttribs1(Int32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2504]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1fvNV")] - public static + [Slot(2504)] + public static extern unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2504]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1fvNV")] - public static + [Slot(2504)] + public static extern void VertexAttribs1(UInt32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2504]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1fvNV")] - public static + [Slot(2504)] + public static extern void VertexAttribs1(UInt32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2504]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1fvNV")] - public static + [Slot(2504)] + public static extern unsafe void VertexAttribs1(UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2504]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs1hvNV")] - public static + [Slot(2505)] + public static extern void VertexAttribs1h(Int32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2505]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs1hvNV")] - public static + [Slot(2505)] + public static extern void VertexAttribs1h(Int32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2505]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs1hvNV")] - public static + [Slot(2505)] + public static extern unsafe void VertexAttribs1h(Int32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v, EntryPoints[2505]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs1hvNV")] - public static + [Slot(2505)] + public static extern void VertexAttribs1h(UInt32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2505]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs1hvNV")] - public static + [Slot(2505)] + public static extern void VertexAttribs1h(UInt32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2505]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs1hvNV")] - public static + [Slot(2505)] + public static extern unsafe void VertexAttribs1h(UInt32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v, EntryPoints[2505]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1svNV")] - public static + [Slot(2506)] + public static extern void VertexAttribs1(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2506]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1svNV")] - public static + [Slot(2506)] + public static extern void VertexAttribs1(Int32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2506]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1svNV")] - public static + [Slot(2506)] + public static extern unsafe void VertexAttribs1(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2506]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1svNV")] - public static + [Slot(2506)] + public static extern void VertexAttribs1(UInt32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2506]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1svNV")] - public static + [Slot(2506)] + public static extern void VertexAttribs1(UInt32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2506]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1svNV")] - public static + [Slot(2506)] + public static extern unsafe void VertexAttribs1(UInt32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2506]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2dvNV")] - public static + [Slot(2507)] + public static extern void VertexAttribs2(Int32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2507]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2dvNV")] - public static + [Slot(2507)] + public static extern void VertexAttribs2(Int32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2507]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2dvNV")] - public static + [Slot(2507)] + public static extern unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2507]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2dvNV")] - public static + [Slot(2507)] + public static extern void VertexAttribs2(UInt32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2507]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2dvNV")] - public static + [Slot(2507)] + public static extern void VertexAttribs2(UInt32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2507]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2dvNV")] - public static + [Slot(2507)] + public static extern unsafe void VertexAttribs2(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2507]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2fvNV")] - public static + [Slot(2508)] + public static extern void VertexAttribs2(Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2508]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2fvNV")] - public static + [Slot(2508)] + public static extern void VertexAttribs2(Int32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2508]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2fvNV")] - public static + [Slot(2508)] + public static extern unsafe void VertexAttribs2(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2508]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2fvNV")] - public static + [Slot(2508)] + public static extern void VertexAttribs2(UInt32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2508]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2fvNV")] - public static + [Slot(2508)] + public static extern void VertexAttribs2(UInt32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2508]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2fvNV")] - public static + [Slot(2508)] + public static extern unsafe void VertexAttribs2(UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2508]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs2hvNV")] - public static + [Slot(2509)] + public static extern void VertexAttribs2h(Int32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2509]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs2hvNV")] - public static + [Slot(2509)] + public static extern void VertexAttribs2h(Int32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2509]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs2hvNV")] - public static + [Slot(2509)] + public static extern unsafe void VertexAttribs2h(Int32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v, EntryPoints[2509]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs2hvNV")] - public static + [Slot(2509)] + public static extern void VertexAttribs2h(UInt32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2509]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs2hvNV")] - public static + [Slot(2509)] + public static extern void VertexAttribs2h(UInt32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2509]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs2hvNV")] - public static + [Slot(2509)] + public static extern unsafe void VertexAttribs2h(UInt32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v, EntryPoints[2509]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2svNV")] - public static + [Slot(2510)] + public static extern void VertexAttribs2(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2510]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2svNV")] - public static + [Slot(2510)] + public static extern void VertexAttribs2(Int32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2510]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2svNV")] - public static + [Slot(2510)] + public static extern unsafe void VertexAttribs2(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2510]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2svNV")] - public static + [Slot(2510)] + public static extern void VertexAttribs2(UInt32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2510]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2svNV")] - public static + [Slot(2510)] + public static extern void VertexAttribs2(UInt32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2510]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2svNV")] - public static + [Slot(2510)] + public static extern unsafe void VertexAttribs2(UInt32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2510]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3dvNV")] - public static + [Slot(2511)] + public static extern void VertexAttribs3(Int32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2511]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3dvNV")] - public static + [Slot(2511)] + public static extern void VertexAttribs3(Int32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2511]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3dvNV")] - public static + [Slot(2511)] + public static extern unsafe void VertexAttribs3(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2511]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3dvNV")] - public static + [Slot(2511)] + public static extern void VertexAttribs3(UInt32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2511]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3dvNV")] - public static + [Slot(2511)] + public static extern void VertexAttribs3(UInt32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2511]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3dvNV")] - public static + [Slot(2511)] + public static extern unsafe void VertexAttribs3(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2511]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3fvNV")] - public static + [Slot(2512)] + public static extern void VertexAttribs3(Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2512]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3fvNV")] - public static + [Slot(2512)] + public static extern void VertexAttribs3(Int32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2512]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3fvNV")] - public static + [Slot(2512)] + public static extern unsafe void VertexAttribs3(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2512]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3fvNV")] - public static + [Slot(2512)] + public static extern void VertexAttribs3(UInt32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2512]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3fvNV")] - public static + [Slot(2512)] + public static extern void VertexAttribs3(UInt32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2512]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3fvNV")] - public static + [Slot(2512)] + public static extern unsafe void VertexAttribs3(UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2512]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs3hvNV")] - public static + [Slot(2513)] + public static extern void VertexAttribs3h(Int32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2513]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs3hvNV")] - public static + [Slot(2513)] + public static extern void VertexAttribs3h(Int32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2513]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs3hvNV")] - public static + [Slot(2513)] + public static extern unsafe void VertexAttribs3h(Int32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v, EntryPoints[2513]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs3hvNV")] - public static + [Slot(2513)] + public static extern void VertexAttribs3h(UInt32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2513]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs3hvNV")] - public static + [Slot(2513)] + public static extern void VertexAttribs3h(UInt32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2513]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs3hvNV")] - public static + [Slot(2513)] + public static extern unsafe void VertexAttribs3h(UInt32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v, EntryPoints[2513]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3svNV")] - public static + [Slot(2514)] + public static extern void VertexAttribs3(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2514]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3svNV")] - public static + [Slot(2514)] + public static extern void VertexAttribs3(Int32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2514]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3svNV")] - public static + [Slot(2514)] + public static extern unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2514]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3svNV")] - public static + [Slot(2514)] + public static extern void VertexAttribs3(UInt32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2514]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3svNV")] - public static + [Slot(2514)] + public static extern void VertexAttribs3(UInt32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2514]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3svNV")] - public static + [Slot(2514)] + public static extern unsafe void VertexAttribs3(UInt32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2514]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4dvNV")] - public static + [Slot(2515)] + public static extern void VertexAttribs4(Int32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2515]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4dvNV")] - public static + [Slot(2515)] + public static extern void VertexAttribs4(Int32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2515]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4dvNV")] - public static + [Slot(2515)] + public static extern unsafe void VertexAttribs4(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2515]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4dvNV")] - public static + [Slot(2515)] + public static extern void VertexAttribs4(UInt32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2515]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4dvNV")] - public static + [Slot(2515)] + public static extern void VertexAttribs4(UInt32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2515]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4dvNV")] - public static + [Slot(2515)] + public static extern unsafe void VertexAttribs4(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2515]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4fvNV")] - public static + [Slot(2516)] + public static extern void VertexAttribs4(Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2516]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4fvNV")] - public static + [Slot(2516)] + public static extern void VertexAttribs4(Int32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2516]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4fvNV")] - public static + [Slot(2516)] + public static extern unsafe void VertexAttribs4(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2516]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4fvNV")] - public static + [Slot(2516)] + public static extern void VertexAttribs4(UInt32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2516]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4fvNV")] - public static + [Slot(2516)] + public static extern void VertexAttribs4(UInt32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2516]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4fvNV")] - public static + [Slot(2516)] + public static extern unsafe void VertexAttribs4(UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2516]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs4hvNV")] - public static + [Slot(2517)] + public static extern void VertexAttribs4h(Int32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2517]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs4hvNV")] - public static + [Slot(2517)] + public static extern void VertexAttribs4h(Int32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2517]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs4hvNV")] - public static + [Slot(2517)] + public static extern unsafe void VertexAttribs4h(Int32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v, EntryPoints[2517]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs4hvNV")] - public static + [Slot(2517)] + public static extern void VertexAttribs4h(UInt32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2517]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs4hvNV")] - public static + [Slot(2517)] + public static extern void VertexAttribs4h(UInt32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v_ptr, EntryPoints[2517]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs4hvNV")] - public static + [Slot(2517)] + public static extern unsafe void VertexAttribs4h(UInt32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)n, (IntPtr)v, EntryPoints[2517]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4svNV")] - public static + [Slot(2518)] + public static extern void VertexAttribs4(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2518]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4svNV")] - public static + [Slot(2518)] + public static extern void VertexAttribs4(Int32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2518]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4svNV")] - public static + [Slot(2518)] + public static extern unsafe void VertexAttribs4(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2518]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4svNV")] - public static + [Slot(2518)] + public static extern void VertexAttribs4(UInt32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2518]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4svNV")] - public static + [Slot(2518)] + public static extern void VertexAttribs4(UInt32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2518]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4svNV")] - public static + [Slot(2518)] + public static extern unsafe void VertexAttribs4(UInt32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2518]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4ubvNV")] - public static + [Slot(2519)] + public static extern void VertexAttribs4(Int32 index, Int32 count, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2519]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4ubvNV")] - public static + [Slot(2519)] + public static extern void VertexAttribs4(Int32 index, Int32 count, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2519]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4ubvNV")] - public static + [Slot(2519)] + public static extern unsafe void VertexAttribs4(Int32 index, Int32 count, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2519]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4ubvNV")] - public static + [Slot(2519)] + public static extern void VertexAttribs4(UInt32 index, Int32 count, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2519]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4ubvNV")] - public static + [Slot(2519)] + public static extern void VertexAttribs4(UInt32 index, Int32 count, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v_ptr, EntryPoints[2519]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4ubvNV")] - public static + [Slot(2519)] + public static extern unsafe void VertexAttribs4(UInt32 index, Int32 count, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)count, (IntPtr)v, EntryPoints[2519]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glVertexFormatNV")] - public static + [Slot(2524)] + public static extern void VertexFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride, EntryPoints[2524]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexWeighthNV")] - public static + [Slot(2569)] + public static extern void VertexWeighth(Half weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Half)weight, EntryPoints[2569]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexWeighthvNV")] - public static + [Slot(2570)] + public static extern unsafe void VertexWeighth(Half* weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)weight, EntryPoints[2570]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureNV")] - public static + [Slot(2572)] + public static extern 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 InteropHelper.CallReturn((UInt32)video_capture_slot, (IntPtr)sequence_num_ptr, (IntPtr)capture_time_ptr, EntryPoints[2572]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureNV")] - public static + [Slot(2572)] + public static extern 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 = InteropHelper.CallReturn((UInt32)video_capture_slot, (IntPtr)sequence_num_ptr, (IntPtr)capture_time_ptr, EntryPoints[2572]); - sequence_num = *sequence_num_ptr; - capture_time = *capture_time_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureNV")] - public static + [Slot(2572)] + public static extern 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 InteropHelper.CallReturn((UInt32)video_capture_slot, (IntPtr)sequence_num, (IntPtr)capture_time, EntryPoints[2572]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureNV")] - public static + [Slot(2572)] + public static extern 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 InteropHelper.CallReturn((UInt32)video_capture_slot, (IntPtr)sequence_num_ptr, (IntPtr)capture_time_ptr, EntryPoints[2572]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureNV")] - public static + [Slot(2572)] + public static extern 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 = InteropHelper.CallReturn((UInt32)video_capture_slot, (IntPtr)sequence_num_ptr, (IntPtr)capture_time_ptr, EntryPoints[2572]); - sequence_num = *sequence_num_ptr; - capture_time = *capture_time_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureNV")] - public static + [Slot(2572)] + public static extern 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 InteropHelper.CallReturn((UInt32)video_capture_slot, (IntPtr)sequence_num, (IntPtr)capture_time, EntryPoints[2572]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterdvNV")] - public static + [Slot(2573)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[2573]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterdvNV")] - public static + [Slot(2573)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[2573]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterdvNV")] - public static + [Slot(2573)] + public static extern unsafe void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[2573]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterdvNV")] - public static + [Slot(2573)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[2573]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterdvNV")] - public static + [Slot(2573)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[2573]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterdvNV")] - public static + [Slot(2573)] + public static extern unsafe void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[2573]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterfvNV")] - public static + [Slot(2574)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[2574]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterfvNV")] - public static + [Slot(2574)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[2574]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterfvNV")] - public static + [Slot(2574)] + public static extern unsafe void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[2574]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterfvNV")] - public static + [Slot(2574)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[2574]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterfvNV")] - public static + [Slot(2574)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[2574]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterfvNV")] - public static + [Slot(2574)] + public static extern unsafe void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[2574]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterivNV")] - public static + [Slot(2575)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[2575]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterivNV")] - public static + [Slot(2575)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[2575]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterivNV")] - public static + [Slot(2575)] + public static extern unsafe void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[2575]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterivNV")] - public static + [Slot(2575)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[2575]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterivNV")] - public static + [Slot(2575)] + public static extern 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) - { - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params_ptr, EntryPoints[2575]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterivNV")] - public static + [Slot(2575)] + public static extern unsafe void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (IntPtr)@params, EntryPoints[2575]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glWeightPathsNV")] - public static + [Slot(2585)] + public static extern 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) - { - InteropHelper.Call((UInt32)resultPath, (Int32)numPaths, (IntPtr)paths_ptr, (IntPtr)weights_ptr, EntryPoints[2585]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glWeightPathsNV")] - public static + [Slot(2585)] + public static extern 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) - { - InteropHelper.Call((UInt32)resultPath, (Int32)numPaths, (IntPtr)paths_ptr, (IntPtr)weights_ptr, EntryPoints[2585]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glWeightPathsNV")] - public static + [Slot(2585)] + public static extern unsafe void WeightPath(Int32 resultPath, Int32 numPaths, Int32* paths, Single* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)resultPath, (Int32)numPaths, (IntPtr)paths, (IntPtr)weights, EntryPoints[2585]); - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glWeightPathsNV")] - public static + [Slot(2585)] + public static extern 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) - { - InteropHelper.Call((UInt32)resultPath, (Int32)numPaths, (IntPtr)paths_ptr, (IntPtr)weights_ptr, EntryPoints[2585]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glWeightPathsNV")] - public static + [Slot(2585)] + public static extern 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) - { - InteropHelper.Call((UInt32)resultPath, (Int32)numPaths, (IntPtr)paths_ptr, (IntPtr)weights_ptr, EntryPoints[2585]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glWeightPathsNV")] - public static + [Slot(2585)] + public static extern unsafe void WeightPath(UInt32 resultPath, Int32 numPaths, UInt32* paths, Single* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)resultPath, (Int32)numPaths, (IntPtr)paths, (IntPtr)weights, EntryPoints[2585]); - #if DEBUG - } - #endif - } + ; + } @@ -244966,18 +155859,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NVX_conditional_render", Version = "", EntryPoint = "glBeginConditionalRenderNVX")] - public static + [Slot(27)] + public static extern void BeginConditionalRender(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[27]); - #if DEBUG - } - #endif - } + ; + /// [requires: NVX_conditional_render] /// Start conditional rendering @@ -244994,33 +155880,19 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NVX_conditional_render", Version = "", EntryPoint = "glBeginConditionalRenderNVX")] - public static + [Slot(27)] + public static extern void BeginConditionalRender(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, EntryPoints[27]); - #if DEBUG - } - #endif - } + ; + /// [requires: NVX_conditional_render] [AutoGenerated(Category = "NVX_conditional_render", Version = "", EntryPoint = "glEndConditionalRenderNVX")] - public static + [Slot(480)] + public static extern void EndConditionalRender() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[480]); - #if DEBUG - } - #endif - } + ; + } @@ -245028,136 +155900,68 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glAccumxOES")] - public static + [Slot(1)] + public static extern void Accumx(OpenTK.Graphics.OpenGL.OesFixedPoint op, int value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)op, (int)value, EntryPoints[1]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glAlphaFuncxOES")] - public static + [Slot(13)] + public static extern void AlphaFuncx(OpenTK.Graphics.OpenGL.OesFixedPoint func, int @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)func, (int)@ref, EntryPoints[13]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")] - public static + [Slot(100)] + public static extern 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) - { - InteropHelper.Call((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (IntPtr)bitmap_ptr, EntryPoints[100]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")] - public static + [Slot(100)] + public static extern 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) - { - InteropHelper.Call((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (IntPtr)bitmap_ptr, EntryPoints[100]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")] - public static + [Slot(100)] + public static extern 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 - InteropHelper.Call((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (IntPtr)bitmap, EntryPoints[100]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBlendColorxOES")] - public static + [Slot(104)] + public static extern void BlendColorx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)red, (int)green, (int)blue, (int)alpha, EntryPoints[104]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearAccumxOES")] - public static + [Slot(144)] + public static extern void ClearAccumx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)red, (int)green, (int)blue, (int)alpha, EntryPoints[144]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearColorxOES")] - public static + [Slot(154)] + public static extern void ClearColorx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)red, (int)green, (int)blue, (int)alpha, EntryPoints[154]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Specify the clear value for the depth buffer @@ -245168,33 +155972,19 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClearDepthfOES")] - public static + [Slot(158)] + public static extern void ClearDepth(Single depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)depth, EntryPoints[158]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearDepthxOES")] - public static + [Slot(159)] + public static extern void ClearDepthx(int depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)depth, EntryPoints[159]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Specify a plane against which all geometry is clipped @@ -245210,24 +156000,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")] - public static + [Slot(172)] + public static extern void ClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, Single[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = equation) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (IntPtr)equation_ptr, EntryPoints[172]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Specify a plane against which all geometry is clipped @@ -245243,24 +156020,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")] - public static + [Slot(172)] + public static extern void ClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, ref Single equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = &equation) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (IntPtr)equation_ptr, EntryPoints[172]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Specify a plane against which all geometry is clipped @@ -245277,274 +156041,127 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")] - public static + [Slot(172)] + public static extern unsafe void ClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, Single* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (IntPtr)equation, EntryPoints[172]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")] - public static + [Slot(173)] + public static extern void ClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, int[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = equation) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (IntPtr)equation_ptr, EntryPoints[173]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")] - public static + [Slot(173)] + public static extern void ClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, ref int equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = &equation) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (IntPtr)equation_ptr, EntryPoints[173]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")] - public static + [Slot(173)] + public static extern unsafe void ClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, int* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (IntPtr)equation, EntryPoints[173]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xOES")] - public static + [Slot(194)] + public static extern void Color3x(int red, int green, int blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)red, (int)green, (int)blue, EntryPoints[194]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")] - public static + [Slot(195)] + public static extern void Color3x(int[] components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = components) - { - InteropHelper.Call((IntPtr)components_ptr, EntryPoints[195]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")] - public static + [Slot(195)] + public static extern void Color3x(ref int components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = &components) - { - InteropHelper.Call((IntPtr)components_ptr, EntryPoints[195]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")] - public static + [Slot(195)] + public static extern unsafe void Color3x(int* components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)components, EntryPoints[195]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xOES")] - public static + [Slot(220)] + public static extern void Color4x(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)red, (int)green, (int)blue, (int)alpha, EntryPoints[220]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")] - public static + [Slot(221)] + public static extern void Color4x(int[] components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = components) - { - InteropHelper.Call((IntPtr)components_ptr, EntryPoints[221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")] - public static + [Slot(221)] + public static extern void Color4x(ref int components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = &components) - { - InteropHelper.Call((IntPtr)components_ptr, EntryPoints[221]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")] - public static + [Slot(221)] + public static extern unsafe void Color4x(int* components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)components, EntryPoints[221]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxOES")] - public static + [Slot(293)] + public static extern void ConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param, EntryPoints[293]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxvOES")] - public static + [Slot(294)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[294]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxvOES")] - public static + [Slot(294)] + public static extern unsafe void ConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[294]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -245560,247 +156177,119 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glDepthRangefOES")] - public static + [Slot(401)] + public static extern void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)n, (Single)f, EntryPoints[401]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glDepthRangexOES")] - public static + [Slot(403)] + public static extern void DepthRangex(int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)n, (int)f, EntryPoints[403]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord1xOES")] - public static + [Slot(497)] + public static extern void EvalCoord1x(int u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)u, EntryPoints[497]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord1xvOES")] - public static + [Slot(498)] + public static extern unsafe void EvalCoord1x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[498]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xOES")] - public static + [Slot(503)] + public static extern void EvalCoord2x(int u, int v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)u, (int)v, EntryPoints[503]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")] - public static + [Slot(504)] + public static extern void EvalCoord2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[504]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")] - public static + [Slot(504)] + public static extern void EvalCoord2x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[504]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")] - public static + [Slot(504)] + public static extern unsafe void EvalCoord2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[504]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")] - public static + [Slot(513)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (OpenTK.Graphics.OpenGL.OesFixedPoint)type, (IntPtr)buffer_ptr, EntryPoints[513]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")] - public static + [Slot(513)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (OpenTK.Graphics.OpenGL.OesFixedPoint)type, (IntPtr)buffer_ptr, EntryPoints[513]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")] - public static + [Slot(513)] + public static extern unsafe void FeedbackBufferx(Int32 n, OpenTK.Graphics.OpenGL.OesFixedPoint type, int* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (OpenTK.Graphics.OpenGL.OesFixedPoint)type, (IntPtr)buffer, EntryPoints[513]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxOES")] - public static + [Slot(550)] + public static extern void Fogx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param, EntryPoints[550]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxvOES")] - public static + [Slot(551)] + public static extern void Fogx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)param_ptr, EntryPoints[551]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxvOES")] - public static + [Slot(551)] + public static extern unsafe void Fogx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)param, EntryPoints[551]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Multiply the current matrix by a perspective matrix @@ -245821,33 +156310,19 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glFrustumfOES")] - public static + [Slot(590)] + public static extern void Frustum(Single l, Single r, Single b, Single t, Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f, EntryPoints[590]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFrustumxOES")] - public static + [Slot(591)] + public static extern void Frustumx(int l, int r, int b, int t, int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)l, (int)r, (int)b, (int)t, (int)n, (int)f, EntryPoints[591]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Return the coefficients of the specified clipping plane @@ -245863,24 +156338,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")] - public static + [Slot(657)] + public static extern void GetClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, [OutAttribute] Single[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = equation) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (IntPtr)equation_ptr, EntryPoints[657]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Return the coefficients of the specified clipping plane @@ -245896,25 +156358,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")] - public static + [Slot(657)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (IntPtr)equation_ptr, EntryPoints[657]); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Return the coefficients of the specified clipping plane @@ -245931,1059 +156379,476 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")] - public static + [Slot(657)] + public static extern unsafe void GetClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, [OutAttribute] Single* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (IntPtr)equation, EntryPoints[657]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")] - public static + [Slot(658)] + public static extern void GetClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, [OutAttribute] int[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = equation) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (IntPtr)equation_ptr, EntryPoints[658]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")] - public static + [Slot(658)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (IntPtr)equation_ptr, EntryPoints[658]); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")] - public static + [Slot(658)] + public static extern unsafe void GetClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, [OutAttribute] int* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (IntPtr)equation, EntryPoints[658]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")] - public static + [Slot(683)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[683]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")] - public static + [Slot(683)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[683]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")] - public static + [Slot(683)] + public static extern unsafe void GetConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[683]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static + [Slot(697)] + public static extern int GetFixed(OpenTK.Graphics.OpenGL.OesFixedPoint pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - int retval; - int* @params_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[697]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static + [Slot(697)] + public static extern void GetFixed(OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[697]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static + [Slot(697)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[697]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static + [Slot(697)] + public static extern unsafe void GetFixed(OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[697]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")] - public static + [Slot(722)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[722]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")] - public static + [Slot(722)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[722]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")] - public static + [Slot(722)] + public static extern unsafe void GetHistogramParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[722]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")] - public static + [Slot(743)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[743]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")] - public static + [Slot(743)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[743]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")] - public static + [Slot(743)] + public static extern unsafe void GetLightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[743]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")] - public static + [Slot(758)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)query, (IntPtr)v_ptr, EntryPoints[758]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")] - public static + [Slot(758)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)query, (IntPtr)v_ptr, EntryPoints[758]); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")] - public static + [Slot(758)] + public static extern unsafe void GetMapx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint query, [OutAttribute] int* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)query, (IntPtr)v, EntryPoints[758]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxOES")] - public static + [Slot(761)] + public static extern void GetMaterialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param, EntryPoints[761]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxvOES")] - public static + [Slot(762)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[762]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxvOES")] - public static + [Slot(762)] + public static extern unsafe void GetMaterialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[762]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")] - public static + [Slot(926)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[926]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")] - public static + [Slot(926)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[926]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")] - public static + [Slot(926)] + public static extern unsafe void GetTexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[926]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexGenxvOES")] - public static + [Slot(931)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[931]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexGenxvOES")] - public static + [Slot(931)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[931]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexGenxvOES")] - public static + [Slot(931)] + public static extern unsafe void GetTexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[931]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")] - public static + [Slot(935)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (Int32)level, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[935]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")] - public static + [Slot(935)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (Int32)level, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[935]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")] - public static + [Slot(935)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (Int32)level, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[935]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")] - public static + [Slot(943)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[943]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")] - public static + [Slot(943)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[943]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")] - public static + [Slot(943)] + public static extern unsafe void GetTexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[943]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glIndexxOES")] - public static + [Slot(1052)] + public static extern void Indexx(int component) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)component, EntryPoints[1052]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glIndexxvOES")] - public static + [Slot(1053)] + public static extern unsafe void Indexx(int* component) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)component, EntryPoints[1053]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxOES")] - public static + [Slot(1120)] + public static extern void LightModelx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param, EntryPoints[1120]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxvOES")] - public static + [Slot(1121)] + public static extern void LightModelx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)param_ptr, EntryPoints[1121]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxvOES")] - public static + [Slot(1121)] + public static extern unsafe void LightModelx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)param, EntryPoints[1121]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxOES")] - public static + [Slot(1122)] + public static extern void Lightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param, EntryPoints[1122]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxvOES")] - public static + [Slot(1123)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[1123]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxvOES")] - public static + [Slot(1123)] + public static extern unsafe void Lightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[1123]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLineWidthxOES")] - public static + [Slot(1126)] + public static extern void LineWidthx(int width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)width, EntryPoints[1126]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")] - public static + [Slot(1138)] + public static extern void LoadMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1138]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")] - public static + [Slot(1138)] + public static extern void LoadMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1138]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")] - public static + [Slot(1138)] + public static extern unsafe void LoadMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1138]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")] - public static + [Slot(1145)] + public static extern void LoadTransposeMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1145]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")] - public static + [Slot(1145)] + public static extern void LoadTransposeMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1145]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")] - public static + [Slot(1145)] + public static extern unsafe void LoadTransposeMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1145]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMap1xOES")] - public static + [Slot(1162)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (int)u1, (int)u2, (Int32)stride, (Int32)order, (int)points, EntryPoints[1162]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMap2xOES")] - public static + [Slot(1165)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (int)u1, (int)u2, (Int32)ustride, (Int32)uorder, (int)v1, (int)v2, (Int32)vstride, (Int32)vorder, (int)points, EntryPoints[1165]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMapGrid1xOES")] - public static + [Slot(1172)] + public static extern void MapGrid1x(Int32 n, int u1, int u2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (int)u1, (int)u2, EntryPoints[1172]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMapGrid2xOES")] - public static + [Slot(1175)] + public static extern void MapGrid2x(Int32 n, int u1, int u2, int v1, int v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (int)u1, (int)u2, (int)v1, (int)v2, EntryPoints[1175]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxOES")] - public static + [Slot(1190)] + public static extern void Materialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param, EntryPoints[1190]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxvOES")] - public static + [Slot(1191)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)param_ptr, EntryPoints[1191]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxvOES")] - public static + [Slot(1191)] + public static extern unsafe void Materialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)param, EntryPoints[1191]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -246999,18 +156864,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bOES")] - public static + [Slot(1240)] + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, EntryPoints[1240]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247027,18 +156885,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bOES")] - public static + [Slot(1240)] + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, EntryPoints[1240]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247055,18 +156906,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bvOES")] - public static + [Slot(1241)] + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords, EntryPoints[1241]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247083,49 +156927,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bvOES")] - public static + [Slot(1241)] + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords, EntryPoints[1241]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord1xOES")] - public static + [Slot(1260)] + public static extern void MultiTexCoord1x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s, EntryPoints[1260]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord1xvOES")] - public static + [Slot(1261)] + public static extern unsafe void MultiTexCoord1x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (IntPtr)coords, EntryPoints[1261]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247141,18 +156964,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bOES")] - public static + [Slot(1262)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte s, Byte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, EntryPoints[1262]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247169,18 +156985,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bOES")] - public static + [Slot(1262)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, EntryPoints[1262]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247196,24 +157005,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static + [Slot(1263)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords_ptr, EntryPoints[1263]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247229,24 +157025,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static + [Slot(1263)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords_ptr, EntryPoints[1263]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247263,18 +157046,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static + [Slot(1263)] + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords, EntryPoints[1263]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247291,24 +157067,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static + [Slot(1263)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords_ptr, EntryPoints[1263]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247325,24 +157088,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static + [Slot(1263)] + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords_ptr, EntryPoints[1263]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247359,91 +157109,44 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static + [Slot(1263)] + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords, EntryPoints[1263]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xOES")] - public static + [Slot(1282)] + public static extern void MultiTexCoord2x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s, (int)t, EntryPoints[1282]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")] - public static + [Slot(1283)] + public static extern void MultiTexCoord2x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (IntPtr)coords_ptr, EntryPoints[1283]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")] - public static + [Slot(1283)] + public static extern void MultiTexCoord2x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (IntPtr)coords_ptr, EntryPoints[1283]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")] - public static + [Slot(1283)] + public static extern unsafe void MultiTexCoord2x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (IntPtr)coords, EntryPoints[1283]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247459,18 +157162,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bOES")] - public static + [Slot(1284)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte s, Byte t, Byte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r, EntryPoints[1284]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247487,18 +157183,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bOES")] - public static + [Slot(1284)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r, EntryPoints[1284]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247514,24 +157203,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static + [Slot(1285)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords_ptr, EntryPoints[1285]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247547,24 +157223,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static + [Slot(1285)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords_ptr, EntryPoints[1285]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247581,18 +157244,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static + [Slot(1285)] + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords, EntryPoints[1285]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247609,24 +157265,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static + [Slot(1285)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords_ptr, EntryPoints[1285]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247643,24 +157286,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static + [Slot(1285)] + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords_ptr, EntryPoints[1285]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247677,91 +157307,44 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static + [Slot(1285)] + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords, EntryPoints[1285]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xOES")] - public static + [Slot(1304)] + public static extern void MultiTexCoord3x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s, (int)t, (int)r, EntryPoints[1304]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")] - public static + [Slot(1305)] + public static extern void MultiTexCoord3x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (IntPtr)coords_ptr, EntryPoints[1305]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")] - public static + [Slot(1305)] + public static extern void MultiTexCoord3x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (IntPtr)coords_ptr, EntryPoints[1305]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")] - public static + [Slot(1305)] + public static extern unsafe void MultiTexCoord3x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (IntPtr)coords, EntryPoints[1305]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247777,18 +157360,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bOES")] - public static + [Slot(1306)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte s, Byte t, Byte r, Byte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q, EntryPoints[1306]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247805,18 +157381,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bOES")] - public static + [Slot(1306)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r, SByte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q, EntryPoints[1306]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247832,24 +157401,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static + [Slot(1307)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords_ptr, EntryPoints[1307]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247865,24 +157421,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static + [Slot(1307)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords_ptr, EntryPoints[1307]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247899,18 +157442,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static + [Slot(1307)] + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords, EntryPoints[1307]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247927,24 +157463,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static + [Slot(1307)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords_ptr, EntryPoints[1307]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247961,24 +157484,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static + [Slot(1307)] + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords_ptr, EntryPoints[1307]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247995,280 +157505,127 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static + [Slot(1307)] + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (IntPtr)coords, EntryPoints[1307]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xOES")] - public static + [Slot(1326)] + public static extern void MultiTexCoord4x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r, int q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s, (int)t, (int)r, (int)q, EntryPoints[1326]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")] - public static + [Slot(1327)] + public static extern void MultiTexCoord4x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (IntPtr)coords_ptr, EntryPoints[1327]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")] - public static + [Slot(1327)] + public static extern void MultiTexCoord4x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (IntPtr)coords_ptr, EntryPoints[1327]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")] - public static + [Slot(1327)] + public static extern unsafe void MultiTexCoord4x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (IntPtr)coords, EntryPoints[1327]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")] - public static + [Slot(1362)] + public static extern void MultMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1362]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")] - public static + [Slot(1362)] + public static extern void MultMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1362]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")] - public static + [Slot(1362)] + public static extern unsafe void MultMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1362]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")] - public static + [Slot(1367)] + public static extern void MultTransposeMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1367]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")] - public static + [Slot(1367)] + public static extern void MultTransposeMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - InteropHelper.Call((IntPtr)m_ptr, EntryPoints[1367]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")] - public static + [Slot(1367)] + public static extern unsafe void MultTransposeMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)m, EntryPoints[1367]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xOES")] - public static + [Slot(1412)] + public static extern void Normal3x(int nx, int ny, int nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)nx, (int)ny, (int)nz, EntryPoints[1412]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")] - public static + [Slot(1413)] + public static extern void Normal3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1413]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")] - public static + [Slot(1413)] + public static extern void Normal3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1413]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")] - public static + [Slot(1413)] + public static extern unsafe void Normal3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1413]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_single_precision] /// Multiply the current matrix with an orthographic matrix @@ -248289,654 +157646,301 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glOrthofOES")] - public static + [Slot(1438)] + public static extern void Ortho(Single l, Single r, Single b, Single t, Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f, EntryPoints[1438]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glOrthoxOES")] - public static + [Slot(1439)] + public static extern void Orthox(int l, int r, int b, int t, int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)l, (int)r, (int)b, (int)t, (int)n, (int)f, EntryPoints[1439]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPassThroughxOES")] - public static + [Slot(1442)] + public static extern void PassThroughx(int token) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)token, EntryPoints[1442]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelTransferxOES")] - public static + [Slot(1480)] + public static extern void PixelTransferx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param, EntryPoints[1480]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelZoomxOES")] - public static + [Slot(1486)] + public static extern void PixelZoomx(int xfactor, int yfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)xfactor, (int)yfactor, EntryPoints[1486]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxOES")] - public static + [Slot(1502)] + public static extern void PointParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param, EntryPoints[1502]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxvOES")] - public static + [Slot(1503)] + public static extern void PointParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[1503]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxvOES")] - public static + [Slot(1503)] + public static extern unsafe void PointParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[1503]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointSizexOES")] - public static + [Slot(1505)] + public static extern void PointSizex(int size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)size, EntryPoints[1505]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPolygonOffsetxOES")] - public static + [Slot(1511)] + public static extern void PolygonOffsetx(int factor, int units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)factor, (int)units, EntryPoints[1511]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static + [Slot(1527)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[1527]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static + [Slot(1527)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[1527]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static + [Slot(1527)] + public static extern unsafe void PrioritizeTexturesx(Int32 n, Int32* textures, int* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, (IntPtr)priorities, EntryPoints[1527]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static + [Slot(1527)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[1527]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static + [Slot(1527)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, (IntPtr)priorities_ptr, EntryPoints[1527]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static + [Slot(1527)] + public static extern unsafe void PrioritizeTexturesx(Int32 n, UInt32* textures, int* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, (IntPtr)priorities, EntryPoints[1527]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_query_matrix] [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")] - public static + [Slot(1703)] + public static extern 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 InteropHelper.CallReturn((IntPtr)mantissa_ptr, (IntPtr)exponent_ptr, EntryPoints[1703]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_query_matrix] [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")] - public static + [Slot(1703)] + public static extern 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 = InteropHelper.CallReturn((IntPtr)mantissa_ptr, (IntPtr)exponent_ptr, EntryPoints[1703]); - mantissa = *mantissa_ptr; - exponent = *exponent_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_query_matrix] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")] - public static + [Slot(1703)] + public static extern unsafe Int32 QueryMatrixx([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)mantissa, (IntPtr)exponent, EntryPoints[1703]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xOES")] - public static + [Slot(1712)] + public static extern void RasterPos2x(int x, int y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, EntryPoints[1712]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")] - public static + [Slot(1713)] + public static extern void RasterPos2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1713]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")] - public static + [Slot(1713)] + public static extern void RasterPos2x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1713]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")] - public static + [Slot(1713)] + public static extern unsafe void RasterPos2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1713]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xOES")] - public static + [Slot(1722)] + public static extern void RasterPos3x(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, (int)z, EntryPoints[1722]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")] - public static + [Slot(1723)] + public static extern void RasterPos3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1723]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")] - public static + [Slot(1723)] + public static extern void RasterPos3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1723]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")] - public static + [Slot(1723)] + public static extern unsafe void RasterPos3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1723]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xOES")] - public static + [Slot(1732)] + public static extern void RasterPos4x(int x, int y, int z, int w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, (int)z, (int)w, EntryPoints[1732]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")] - public static + [Slot(1733)] + public static extern void RasterPos4x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1733]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")] - public static + [Slot(1733)] + public static extern void RasterPos4x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1733]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")] - public static + [Slot(1733)] + public static extern unsafe void RasterPos4x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1733]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxOES")] - public static + [Slot(1746)] + public static extern void Rectx(int x1, int y1, int x2, int y2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x1, (int)y1, (int)x2, (int)y2, EntryPoints[1746]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")] - public static + [Slot(1747)] + public static extern 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) - { - InteropHelper.Call((IntPtr)v1_ptr, (IntPtr)v2_ptr, EntryPoints[1747]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")] - public static + [Slot(1747)] + public static extern 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) - { - InteropHelper.Call((IntPtr)v1_ptr, (IntPtr)v2_ptr, EntryPoints[1747]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")] - public static + [Slot(1747)] + public static extern unsafe void Rectx(int* v1, int* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)v1, (IntPtr)v2, EntryPoints[1747]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRotatexOES")] - public static + [Slot(1789)] + public static extern void Rotatex(int angle, int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)angle, (int)x, (int)y, (int)z, EntryPoints[1789]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] /// Specify multisample coverage parameters @@ -248952,48 +157956,27 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glSampleCoverageOES")] - public static + [Slot(1792)] + public static extern void SampleCoverage(int value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)value, (bool)invert, EntryPoints[1792]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glSampleCoveragexOES")] - public static + [Slot(1793)] + public static extern void SampleCoveragex(int value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)value, (bool)invert, EntryPoints[1793]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glScalexOES")] - public static + [Slot(1809)] + public static extern void Scalex(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, (int)z, EntryPoints[1809]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249004,18 +157987,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bOES")] - public static + [Slot(1920)] + public static extern void TexCoord1(Byte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, EntryPoints[1920]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249027,18 +158003,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bOES")] - public static + [Slot(1920)] + public static extern void TexCoord1(SByte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, EntryPoints[1920]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249050,18 +158019,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bvOES")] - public static + [Slot(1921)] + public static extern unsafe void TexCoord1(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1921]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249073,49 +158035,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bvOES")] - public static + [Slot(1921)] + public static extern unsafe void TexCoord1(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1921]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord1xOES")] - public static + [Slot(1932)] + public static extern void TexCoord1x(int s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)s, EntryPoints[1932]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord1xvOES")] - public static + [Slot(1933)] + public static extern unsafe void TexCoord1x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1933]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249126,18 +158067,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bOES")] - public static + [Slot(1934)] + public static extern void TexCoord2(Byte s, Byte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, (SByte)t, EntryPoints[1934]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249149,18 +158083,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bOES")] - public static + [Slot(1934)] + public static extern void TexCoord2(SByte s, SByte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, (SByte)t, EntryPoints[1934]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249171,24 +158098,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static + [Slot(1935)] + public static extern void TexCoord2(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1935]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249199,24 +158113,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static + [Slot(1935)] + public static extern void TexCoord2(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1935]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249228,18 +158129,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static + [Slot(1935)] + public static extern unsafe void TexCoord2(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1935]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249251,24 +158145,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static + [Slot(1935)] + public static extern void TexCoord2(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1935]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249280,24 +158161,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static + [Slot(1935)] + public static extern void TexCoord2(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1935]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249309,91 +158177,44 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static + [Slot(1935)] + public static extern unsafe void TexCoord2(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1935]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xOES")] - public static + [Slot(1956)] + public static extern void TexCoord2x(int s, int t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)s, (int)t, EntryPoints[1956]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")] - public static + [Slot(1957)] + public static extern void TexCoord2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1957]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")] - public static + [Slot(1957)] + public static extern void TexCoord2x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1957]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")] - public static + [Slot(1957)] + public static extern unsafe void TexCoord2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1957]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249404,18 +158225,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bOES")] - public static + [Slot(1958)] + public static extern void TexCoord3(Byte s, Byte t, Byte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, (SByte)t, (SByte)r, EntryPoints[1958]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249427,18 +158241,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bOES")] - public static + [Slot(1958)] + public static extern void TexCoord3(SByte s, SByte t, SByte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, (SByte)t, (SByte)r, EntryPoints[1958]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249449,24 +158256,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static + [Slot(1959)] + public static extern void TexCoord3(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1959]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249477,24 +158271,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static + [Slot(1959)] + public static extern void TexCoord3(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1959]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249506,18 +158287,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static + [Slot(1959)] + public static extern unsafe void TexCoord3(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1959]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249529,24 +158303,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static + [Slot(1959)] + public static extern void TexCoord3(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1959]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249558,24 +158319,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static + [Slot(1959)] + public static extern void TexCoord3(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1959]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249587,91 +158335,44 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static + [Slot(1959)] + public static extern unsafe void TexCoord3(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1959]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xOES")] - public static + [Slot(1970)] + public static extern void TexCoord3x(int s, int t, int r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)s, (int)t, (int)r, EntryPoints[1970]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")] - public static + [Slot(1971)] + public static extern void TexCoord3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1971]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")] - public static + [Slot(1971)] + public static extern void TexCoord3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1971]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")] - public static + [Slot(1971)] + public static extern unsafe void TexCoord3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1971]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249682,18 +158383,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bOES")] - public static + [Slot(1972)] + public static extern void TexCoord4(Byte s, Byte t, Byte r, Byte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, (SByte)t, (SByte)r, (SByte)q, EntryPoints[1972]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249705,18 +158399,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bOES")] - public static + [Slot(1972)] + public static extern void TexCoord4(SByte s, SByte t, SByte r, SByte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)s, (SByte)t, (SByte)r, (SByte)q, EntryPoints[1972]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249727,24 +158414,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static + [Slot(1973)] + public static extern void TexCoord4(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1973]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249755,24 +158429,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static + [Slot(1973)] + public static extern void TexCoord4(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1973]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249784,18 +158445,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static + [Slot(1973)] + public static extern unsafe void TexCoord4(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1973]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249807,24 +158461,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static + [Slot(1973)] + public static extern void TexCoord4(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1973]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249836,24 +158477,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static + [Slot(1973)] + public static extern void TexCoord4(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1973]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249865,262 +158493,127 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static + [Slot(1973)] + public static extern unsafe void TexCoord4(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1973]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xOES")] - public static + [Slot(1988)] + public static extern void TexCoord4x(int s, int t, int r, int q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)s, (int)t, (int)r, (int)q, EntryPoints[1988]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")] - public static + [Slot(1989)] + public static extern void TexCoord4x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1989]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")] - public static + [Slot(1989)] + public static extern void TexCoord4x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[1989]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")] - public static + [Slot(1989)] + public static extern unsafe void TexCoord4x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[1989]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxOES")] - public static + [Slot(2007)] + public static extern void TexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param, EntryPoints[2007]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxvOES")] - public static + [Slot(2008)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[2008]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxvOES")] - public static + [Slot(2008)] + public static extern unsafe void TexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[2008]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexGenxOES")] - public static + [Slot(2016)] + public static extern void TexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param, EntryPoints[2016]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexGenxvOES")] - public static + [Slot(2017)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[2017]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexGenxvOES")] - public static + [Slot(2017)] + public static extern unsafe void TexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[2017]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxOES")] - public static + [Slot(2036)] + public static extern void TexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param, EntryPoints[2036]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxvOES")] - public static + [Slot(2037)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params_ptr, EntryPoints[2037]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxvOES")] - public static + [Slot(2037)] + public static extern unsafe void TexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (IntPtr)@params, EntryPoints[2037]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTranslatexOES")] - public static + [Slot(2094)] + public static extern void Translatex(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, (int)z, EntryPoints[2094]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250131,18 +158624,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bOES")] - public static + [Slot(2233)] + public static extern void Vertex2(Byte x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)x, EntryPoints[2233]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250154,18 +158640,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bOES")] - public static + [Slot(2233)] + public static extern void Vertex2(SByte x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)x, EntryPoints[2233]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250176,24 +158655,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static + [Slot(2234)] + public static extern void Vertex2(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2234]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250205,18 +158671,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static + [Slot(2234)] + public static extern unsafe void Vertex2(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[2234]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250228,24 +158687,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static + [Slot(2234)] + public static extern void Vertex2(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2234]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250257,70 +158703,36 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static + [Slot(2234)] + public static extern unsafe void Vertex2(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[2234]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xOES")] - public static + [Slot(2245)] + public static extern void Vertex2x(int x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, EntryPoints[2245]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xvOES")] - public static + [Slot(2246)] + public static extern void Vertex2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2246]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xvOES")] - public static + [Slot(2246)] + public static extern unsafe void Vertex2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[2246]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250331,18 +158743,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bOES")] - public static + [Slot(2247)] + public static extern void Vertex3(Byte x, Byte y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)x, (SByte)y, EntryPoints[2247]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250354,18 +158759,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bOES")] - public static + [Slot(2247)] + public static extern void Vertex3(SByte x, SByte y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)x, (SByte)y, EntryPoints[2247]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250376,24 +158774,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static + [Slot(2248)] + public static extern void Vertex3(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250404,24 +158789,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static + [Slot(2248)] + public static extern void Vertex3(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250433,18 +158805,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static + [Slot(2248)] + public static extern unsafe void Vertex3(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[2248]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250456,24 +158821,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static + [Slot(2248)] + public static extern void Vertex3(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250485,24 +158837,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static + [Slot(2248)] + public static extern void Vertex3(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250514,91 +158853,44 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static + [Slot(2248)] + public static extern unsafe void Vertex3(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[2248]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xOES")] - public static + [Slot(2259)] + public static extern void Vertex3x(int x, int y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, EntryPoints[2259]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")] - public static + [Slot(2260)] + public static extern void Vertex3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2260]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")] - public static + [Slot(2260)] + public static extern void Vertex3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2260]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")] - public static + [Slot(2260)] + public static extern unsafe void Vertex3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[2260]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250609,18 +158901,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bOES")] - public static + [Slot(2261)] + public static extern void Vertex4(Byte x, Byte y, Byte z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)x, (SByte)y, (SByte)z, EntryPoints[2261]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250632,18 +158917,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bOES")] - public static + [Slot(2261)] + public static extern void Vertex4(SByte x, SByte y, SByte z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)x, (SByte)y, (SByte)z, EntryPoints[2261]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250654,24 +158932,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static + [Slot(2262)] + public static extern void Vertex4(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2262]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250682,24 +158947,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static + [Slot(2262)] + public static extern void Vertex4(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2262]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250711,18 +158963,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static + [Slot(2262)] + public static extern unsafe void Vertex4(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[2262]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250734,24 +158979,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static + [Slot(2262)] + public static extern void Vertex4(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2262]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250763,24 +158995,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static + [Slot(2262)] + public static extern void Vertex4(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2262]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250792,91 +159011,44 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static + [Slot(2262)] + public static extern unsafe void Vertex4(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[2262]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xOES")] - public static + [Slot(2273)] + public static extern void Vertex4x(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((int)x, (int)y, (int)z, EntryPoints[2273]); - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")] - public static + [Slot(2274)] + public static extern void Vertex4x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2274]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")] - public static + [Slot(2274)] + public static extern void Vertex4x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - InteropHelper.Call((IntPtr)coords_ptr, EntryPoints[2274]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")] - public static + [Slot(2274)] + public static extern unsafe void Vertex4x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)coords, EntryPoints[2274]); - #if DEBUG - } - #endif - } + ; + } @@ -250896,18 +159068,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "PGI_misc_hints", Version = "", EntryPoint = "glHintPGI")] - public static + [Slot(1026)] + public static extern void Hint(OpenTK.Graphics.OpenGL.PgiMiscHints target, Int32 mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PgiMiscHints)target, (Int32)mode, EntryPoints[1026]); - #if DEBUG - } - #endif - } + ; + } @@ -250932,24 +159097,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] - public static + [Slot(243)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (IntPtr)@params_ptr, EntryPoints[243]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -250970,24 +159122,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] - public static + [Slot(243)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (IntPtr)@params_ptr, EntryPoints[243]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251009,18 +159148,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] - public static + [Slot(243)] + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (IntPtr)@params, EntryPoints[243]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251041,24 +159173,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] - public static + [Slot(245)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (IntPtr)@params_ptr, EntryPoints[245]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251079,24 +159198,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] - public static + [Slot(245)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (IntPtr)@params_ptr, EntryPoints[245]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251118,18 +159224,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] - public static + [Slot(245)] + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (IntPtr)@params, EntryPoints[245]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Define a color lookup table @@ -251165,18 +159264,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static + [Slot(246)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table, EntryPoints[246]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Define a color lookup table @@ -251212,27 +159304,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static + [Slot(246)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[246]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Define a color lookup table @@ -251268,27 +159345,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static + [Slot(246)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[246]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Define a color lookup table @@ -251324,27 +159386,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static + [Slot(246)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[246]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Define a color lookup table @@ -251380,28 +159427,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static + [Slot(246)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[246]); - table = (T5)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Copy pixels into a color table @@ -251432,18 +159463,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glCopyColorTableSGI")] - public static + [Slot(299)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, EntryPoints[299]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -251464,24 +159488,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] - public static + [Slot(663)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (IntPtr)@params_ptr, EntryPoints[663]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -251502,25 +159513,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] - public static + [Slot(663)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (IntPtr)@params_ptr, EntryPoints[663]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -251542,18 +159539,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] - public static + [Slot(663)] + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (IntPtr)@params, EntryPoints[663]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -251574,24 +159564,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] - public static + [Slot(666)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (IntPtr)@params_ptr, EntryPoints[666]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -251612,25 +159589,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] - public static + [Slot(666)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (IntPtr)@params_ptr, EntryPoints[666]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -251652,18 +159615,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] - public static + [Slot(666)] + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (IntPtr)@params, EntryPoints[666]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -251689,18 +159645,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static + [Slot(667)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table, EntryPoints[667]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -251726,27 +159675,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static + [Slot(667)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[667]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -251772,27 +159706,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static + [Slot(667)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[667]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -251818,27 +159737,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static + [Slot(667)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[667]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -251864,28 +159768,12 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static + [Slot(667)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[667]); - table = (T3)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + } @@ -251893,661 +159781,285 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: SGIS_detail_texture] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glDetailTexFuncSGIS")] - public static + [Slot(406)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (IntPtr)points_ptr, EntryPoints[406]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_detail_texture] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glDetailTexFuncSGIS")] - public static + [Slot(406)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (IntPtr)points_ptr, EntryPoints[406]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_detail_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glDetailTexFuncSGIS")] - public static + [Slot(406)] + public static extern unsafe void DetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (IntPtr)points, EntryPoints[406]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_fog_function] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glFogFuncSGIS")] - public static + [Slot(546)] + public static extern void FogFunc(Int32 n, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - InteropHelper.Call((Int32)n, (IntPtr)points_ptr, EntryPoints[546]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_fog_function] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glFogFuncSGIS")] - public static + [Slot(546)] + public static extern void FogFunc(Int32 n, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - InteropHelper.Call((Int32)n, (IntPtr)points_ptr, EntryPoints[546]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_fog_function] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glFogFuncSGIS")] - public static + [Slot(546)] + public static extern unsafe void FogFunc(Int32 n, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)points, EntryPoints[546]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_detail_texture] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glGetDetailTexFuncSGIS")] - public static + [Slot(688)] + public static extern Single GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* points_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (IntPtr)points_ptr, EntryPoints[688]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_detail_texture] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glGetDetailTexFuncSGIS")] - public static + [Slot(688)] + public static extern void GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (IntPtr)points_ptr, EntryPoints[688]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_detail_texture] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glGetDetailTexFuncSGIS")] - public static + [Slot(688)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (IntPtr)points_ptr, EntryPoints[688]); - points = *points_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_detail_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glGetDetailTexFuncSGIS")] - public static + [Slot(688)] + public static extern unsafe void GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (IntPtr)points, EntryPoints[688]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_fog_function] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glGetFogFuncSGIS")] - public static + [Slot(702)] + public static extern Single GetFogFunc() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* points_ptr = &retval; - InteropHelper.Call((IntPtr)points_ptr, EntryPoints[702]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_fog_function] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glGetFogFuncSGIS")] - public static + [Slot(702)] + public static extern void GetFogFunc([OutAttribute] Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - InteropHelper.Call((IntPtr)points_ptr, EntryPoints[702]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_fog_function] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glGetFogFuncSGIS")] - public static + [Slot(702)] + public static extern void GetFogFunc([OutAttribute] out Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - InteropHelper.Call((IntPtr)points_ptr, EntryPoints[702]); - points = *points_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_fog_function] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glGetFogFuncSGIS")] - public static + [Slot(702)] + public static extern unsafe void GetFogFunc([OutAttribute] Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)points, EntryPoints[702]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static + [Slot(851)] + public static extern Single GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* @params_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (IntPtr)@params_ptr, EntryPoints[851]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static + [Slot(851)] + public static extern void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (IntPtr)@params_ptr, EntryPoints[851]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static + [Slot(851)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (IntPtr)@params_ptr, EntryPoints[851]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_pixel_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static + [Slot(851)] + public static extern unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (IntPtr)@params, EntryPoints[851]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static + [Slot(852)] + public static extern void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (IntPtr)@params_ptr, EntryPoints[852]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static + [Slot(852)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (IntPtr)@params_ptr, EntryPoints[852]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_pixel_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static + [Slot(852)] + public static extern unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (IntPtr)@params, EntryPoints[852]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_sharpen_texture] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glGetSharpenTexFuncSGIS")] - public static + [Slot(916)] + public static extern Single GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* points_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (IntPtr)points_ptr, EntryPoints[916]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_sharpen_texture] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glGetSharpenTexFuncSGIS")] - public static + [Slot(916)] + public static extern void GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (IntPtr)points_ptr, EntryPoints[916]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_sharpen_texture] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glGetSharpenTexFuncSGIS")] - public static + [Slot(916)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (IntPtr)points_ptr, EntryPoints[916]); - points = *points_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_sharpen_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glGetSharpenTexFuncSGIS")] - public static + [Slot(916)] + public static extern unsafe void GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (IntPtr)points, EntryPoints[916]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture_filter4] [AutoGenerated(Category = "SGIS_texture_filter4", Version = "", EntryPoint = "glGetTexFilterFuncSGIS")] - public static + [Slot(927)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (IntPtr)weights_ptr, EntryPoints[927]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture_filter4] [AutoGenerated(Category = "SGIS_texture_filter4", Version = "", EntryPoint = "glGetTexFilterFuncSGIS")] - public static + [Slot(927)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (IntPtr)weights_ptr, EntryPoints[927]); - weights = *weights_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture_filter4] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_texture_filter4", Version = "", EntryPoint = "glGetTexFilterFuncSGIS")] - public static + [Slot(927)] + public static extern unsafe void GetTexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] Single* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (IntPtr)weights, EntryPoints[927]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfSGIS")] - public static + [Slot(1473)] + public static extern void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single)param, EntryPoints[1473]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfvSGIS")] - public static + [Slot(1474)] + public static extern void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (IntPtr)@params_ptr, EntryPoints[1474]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_pixel_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfvSGIS")] - public static + [Slot(1474)] + public static extern unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (IntPtr)@params, EntryPoints[1474]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameteriSGIS")] - public static + [Slot(1475)] + public static extern void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32)param, EntryPoints[1475]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterivSGIS")] - public static + [Slot(1476)] + public static extern void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (IntPtr)@params_ptr, EntryPoints[1476]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_pixel_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterivSGIS")] - public static + [Slot(1476)] + public static extern unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (IntPtr)@params, EntryPoints[1476]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_point_parameters] /// Specify point parameters @@ -252568,18 +160080,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGIS_point_parameters", Version = "", EntryPoint = "glPointParameterfSGIS")] - public static + [Slot(1493)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPointParameters)pname, (Single)param, EntryPoints[1493]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_point_parameters] /// Specify point parameters @@ -252600,24 +160105,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGIS_point_parameters", Version = "", EntryPoint = "glPointParameterfvSGIS")] - public static + [Slot(1497)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPointParameters)pname, (IntPtr)@params_ptr, EntryPoints[1497]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_point_parameters] /// Specify point parameters @@ -252639,403 +160131,173 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_point_parameters", Version = "", EntryPoint = "glPointParameterfvSGIS")] - public static + [Slot(1497)] + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisPointParameters)pname, (IntPtr)@params, EntryPoints[1497]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_multisample] [AutoGenerated(Category = "SGIS_multisample", Version = "", EntryPoint = "glSampleMaskSGIS")] - public static + [Slot(1798)] + public static extern void SampleMask(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)value, (bool)invert, EntryPoints[1798]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_multisample] [AutoGenerated(Category = "SGIS_multisample", Version = "", EntryPoint = "glSamplePatternSGIS")] - public static + [Slot(1800)] + public static extern void SamplePattern(OpenTK.Graphics.OpenGL.SgisMultisample pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgisMultisample)pattern, EntryPoints[1800]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_sharpen_texture] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glSharpenTexFuncSGIS")] - public static + [Slot(1872)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (IntPtr)points_ptr, EntryPoints[1872]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_sharpen_texture] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glSharpenTexFuncSGIS")] - public static + [Slot(1872)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (IntPtr)points_ptr, EntryPoints[1872]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_sharpen_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glSharpenTexFuncSGIS")] - public static + [Slot(1872)] + public static extern unsafe void SharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (IntPtr)points, EntryPoints[1872]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture_filter4] [AutoGenerated(Category = "SGIS_texture_filter4", Version = "", EntryPoint = "glTexFilterFuncSGIS")] - public static + [Slot(2009)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Int32)n, (IntPtr)weights_ptr, EntryPoints[2009]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture_filter4] [AutoGenerated(Category = "SGIS_texture_filter4", Version = "", EntryPoint = "glTexFilterFuncSGIS")] - public static + [Slot(2009)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Int32)n, (IntPtr)weights_ptr, EntryPoints[2009]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture_filter4] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_texture_filter4", Version = "", EntryPoint = "glTexFilterFuncSGIS")] - public static + [Slot(2009)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Int32)n, (IntPtr)weights, EntryPoints[2009]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexImage4DSGIS")] - public static + [Slot(2026)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2026]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexImage4DSGIS")] - public static + [Slot(2026)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2026]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexImage4DSGIS")] - public static + [Slot(2026)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2026]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexImage4DSGIS")] - public static + [Slot(2026)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2026]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexImage4DSGIS")] - public static + [Slot(2026)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2026]); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexSubImage4DSGIS")] - public static + [Slot(2051)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[2051]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexSubImage4DSGIS")] - public static + [Slot(2051)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2051]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexSubImage4DSGIS")] - public static + [Slot(2051)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2051]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexSubImage4DSGIS")] - public static + [Slot(2051)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2051]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexSubImage4DSGIS")] - public static + [Slot(2051)] + 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 - { - InteropHelper.Call((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(), EntryPoints[2051]); - 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 + [Slot(2055)] + public static extern void TextureColorMask(bool red, bool green, bool blue, bool alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)red, (bool)green, (bool)blue, (bool)alpha, EntryPoints[2055]); - #if DEBUG - } - #endif - } + ; + } @@ -253043,2086 +160305,964 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: SGIX_async] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glAsyncMarkerSGIX")] - public static + [Slot(21)] + public static extern void AsyncMarker(Int32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)marker, EntryPoints[21]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glAsyncMarkerSGIX")] - public static + [Slot(21)] + public static extern void AsyncMarker(UInt32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)marker, EntryPoints[21]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] - public static + [Slot(356)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - InteropHelper.Call((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, (IntPtr)points_ptr, EntryPoints[356]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] - public static + [Slot(356)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - InteropHelper.Call((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, (IntPtr)points_ptr, EntryPoints[356]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_polynomial_ffd] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] - public static + [Slot(356)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, (IntPtr)points, EntryPoints[356]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] - public static + [Slot(357)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - InteropHelper.Call((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, (IntPtr)points_ptr, EntryPoints[357]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] - public static + [Slot(357)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - InteropHelper.Call((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, (IntPtr)points_ptr, EntryPoints[357]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_polynomial_ffd] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] - public static + [Slot(357)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, (IntPtr)points, EntryPoints[357]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformSGIX")] - public static + [Slot(358)] + public static extern void Deform(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[358]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_polynomial_ffd] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformSGIX")] - public static + [Slot(358)] + public static extern void Deform(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[358]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glDeleteAsyncMarkersSGIX")] - public static + [Slot(359)] + public static extern void DeleteAsyncMarkers(Int32 marker, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)marker, (Int32)range, EntryPoints[359]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glDeleteAsyncMarkersSGIX")] - public static + [Slot(359)] + public static extern void DeleteAsyncMarkers(UInt32 marker, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)marker, (Int32)range, EntryPoints[359]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glFinishAsyncSGIX")] - public static + [Slot(517)] + public static extern Int32 FinishAsync([OutAttribute] out Int32 markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* markerp_ptr = &markerp) - { - Int32 retval = InteropHelper.CallReturn((IntPtr)markerp_ptr, EntryPoints[517]); - markerp = *markerp_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glFinishAsyncSGIX")] - public static + [Slot(517)] + public static extern unsafe Int32 FinishAsync([OutAttribute] Int32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)markerp, EntryPoints[517]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glFinishAsyncSGIX")] - public static + [Slot(517)] + public static extern Int32 FinishAsync([OutAttribute] out UInt32 markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* markerp_ptr = &markerp) - { - Int32 retval = InteropHelper.CallReturn((IntPtr)markerp_ptr, EntryPoints[517]); - markerp = *markerp_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glFinishAsyncSGIX")] - public static + [Slot(517)] + public static extern unsafe Int32 FinishAsync([OutAttribute] UInt32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)markerp, EntryPoints[517]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_flush_raster] [AutoGenerated(Category = "SGIX_flush_raster", Version = "", EntryPoint = "glFlushRasterSGIX")] - public static + [Slot(527)] + public static extern void FlushRaster() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[527]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentColorMaterialSGIX")] - public static + [Slot(552)] + public static extern void FragmentColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)mode, EntryPoints[552]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightfSGIX")] - public static + [Slot(553)] + public static extern void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single)param, EntryPoints[553]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightfvSGIX")] - public static + [Slot(554)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params_ptr, EntryPoints[554]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightfvSGIX")] - public static + [Slot(554)] + public static extern unsafe void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params, EntryPoints[554]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightiSGIX")] - public static + [Slot(555)] + public static extern void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param, EntryPoints[555]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightivSGIX")] - public static + [Slot(556)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params_ptr, EntryPoints[556]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightivSGIX")] - public static + [Slot(556)] + public static extern unsafe void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params, EntryPoints[556]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfSGIX")] - public static + [Slot(557)] + public static extern void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single)param, EntryPoints[557]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfvSGIX")] - public static + [Slot(558)] + public static extern void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params_ptr, EntryPoints[558]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfvSGIX")] - public static + [Slot(558)] + public static extern unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params, EntryPoints[558]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModeliSGIX")] - public static + [Slot(559)] + public static extern void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param, EntryPoints[559]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelivSGIX")] - public static + [Slot(560)] + public static extern void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params_ptr, EntryPoints[560]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelivSGIX")] - public static + [Slot(560)] + public static extern unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params, EntryPoints[560]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentMaterialfSGIX")] - public static + [Slot(561)] + public static extern void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single)param, EntryPoints[561]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentMaterialfvSGIX")] - public static + [Slot(562)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[562]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentMaterialfvSGIX")] - public static + [Slot(562)] + public static extern unsafe void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params, EntryPoints[562]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentMaterialiSGIX")] - public static + [Slot(563)] + public static extern void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32)param, EntryPoints[563]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentMaterialivSGIX")] - public static + [Slot(564)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[564]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentMaterialivSGIX")] - public static + [Slot(564)] + public static extern unsafe void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params, EntryPoints[564]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_framezoom] [AutoGenerated(Category = "SGIX_framezoom", Version = "", EntryPoint = "glFrameZoomSGIX")] - public static + [Slot(586)] + public static extern void FrameZoom(Int32 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)factor, EntryPoints[586]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glGenAsyncMarkersSGIX")] - public static + [Slot(592)] + public static extern Int32 GenAsyncMarkers(Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((Int32)range, EntryPoints[592]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentLightfvSGIX")] - public static + [Slot(706)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params_ptr, EntryPoints[706]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentLightfvSGIX")] - public static + [Slot(706)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params_ptr, EntryPoints[706]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentLightfvSGIX")] - public static + [Slot(706)] + public static extern unsafe void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params, EntryPoints[706]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentLightivSGIX")] - public static + [Slot(707)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params_ptr, EntryPoints[707]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentLightivSGIX")] - public static + [Slot(707)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params_ptr, EntryPoints[707]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentLightivSGIX")] - public static + [Slot(707)] + public static extern unsafe void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (IntPtr)@params, EntryPoints[707]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentMaterialfvSGIX")] - public static + [Slot(708)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[708]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentMaterialfvSGIX")] - public static + [Slot(708)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[708]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentMaterialfvSGIX")] - public static + [Slot(708)] + public static extern unsafe void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params, EntryPoints[708]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentMaterialivSGIX")] - public static + [Slot(709)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[709]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentMaterialivSGIX")] - public static + [Slot(709)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params_ptr, EntryPoints[709]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentMaterialivSGIX")] - public static + [Slot(709)] + public static extern unsafe void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (IntPtr)@params, EntryPoints[709]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glGetInstrumentsSGIX")] - public static + [Slot(728)] + public static extern Int32 GetInstruments() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn(EntryPoints[728]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterfvSGIX")] - public static + [Slot(745)] + public static extern 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) - { - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params_ptr, EntryPoints[745]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterfvSGIX")] - public static + [Slot(745)] + public static extern 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) - { - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params_ptr, EntryPoints[745]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterfvSGIX")] - public static + [Slot(745)] + public static extern unsafe void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params, EntryPoints[745]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterfvSGIX")] - public static + [Slot(745)] + public static extern 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) - { - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params_ptr, EntryPoints[745]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterfvSGIX")] - public static + [Slot(745)] + public static extern 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) - { - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params_ptr, EntryPoints[745]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterfvSGIX")] - public static + [Slot(745)] + public static extern unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params, EntryPoints[745]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterivSGIX")] - public static + [Slot(746)] + public static extern 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) - { - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params_ptr, EntryPoints[746]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterivSGIX")] - public static + [Slot(746)] + public static extern 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) - { - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params_ptr, EntryPoints[746]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterivSGIX")] - public static + [Slot(746)] + public static extern unsafe void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params, EntryPoints[746]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterivSGIX")] - public static + [Slot(746)] + public static extern 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) - { - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params_ptr, EntryPoints[746]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterivSGIX")] - public static + [Slot(746)] + public static extern 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) - { - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params_ptr, EntryPoints[746]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterivSGIX")] - public static + [Slot(746)] + public static extern unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params, EntryPoints[746]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_igloo_interface] [Obsolete("Use SgixIglooInterface overload instead")] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static + [Slot(1029)] + public static extern void IglooInterface(OpenTK.Graphics.OpenGL.All pname, IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params, EntryPoints[1029]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_igloo_interface] [Obsolete("Use SgixIglooInterface overload instead")] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static + [Slot(1029)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[1029]); - } - 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 + [Slot(1029)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[1029]); - } - 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 + [Slot(1029)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[1029]); - } - 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 + [Slot(1029)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[1029]); - @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 + [Slot(1029)] + public static extern void IglooInterface(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params, EntryPoints[1029]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_igloo_interface] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static + [Slot(1029)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[1029]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_igloo_interface] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static + [Slot(1029)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[1029]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_igloo_interface] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static + [Slot(1029)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[1029]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_igloo_interface] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static + [Slot(1029)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[1029]); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glInstrumentsBufferSGIX")] - public static + [Slot(1057)] + public static extern void InstrumentsBuffer(Int32 size, [OutAttribute] Int32[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffer_ptr = buffer) - { - InteropHelper.Call((Int32)size, (IntPtr)buffer_ptr, EntryPoints[1057]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glInstrumentsBufferSGIX")] - public static + [Slot(1057)] + public static extern void InstrumentsBuffer(Int32 size, [OutAttribute] out Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffer_ptr = &buffer) - { - InteropHelper.Call((Int32)size, (IntPtr)buffer_ptr, EntryPoints[1057]); - buffer = *buffer_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_instruments] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glInstrumentsBufferSGIX")] - public static + [Slot(1057)] + public static extern unsafe void InstrumentsBuffer(Int32 size, [OutAttribute] Int32* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)size, (IntPtr)buffer, EntryPoints[1057]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glIsAsyncMarkerSGIX")] - public static + [Slot(1066)] + public static extern bool IsAsyncMarker(Int32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)marker, EntryPoints[1066]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glIsAsyncMarkerSGIX")] - public static + [Slot(1066)] + public static extern bool IsAsyncMarker(UInt32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)marker, EntryPoints[1066]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glLightEnviSGIX")] - public static + [Slot(1111)] + public static extern void LightEnv(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param, EntryPoints[1111]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterfSGIX")] - public static + [Slot(1130)] + public static extern void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single)param, EntryPoints[1130]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterfSGIX")] - public static + [Slot(1130)] + public static extern void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single)param, EntryPoints[1130]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterfvSGIX")] - public static + [Slot(1131)] + public static extern 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) - { - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params_ptr, EntryPoints[1131]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterfvSGIX")] - public static + [Slot(1131)] + public static extern unsafe void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params, EntryPoints[1131]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterfvSGIX")] - public static + [Slot(1131)] + public static extern 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) - { - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params_ptr, EntryPoints[1131]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterfvSGIX")] - public static + [Slot(1131)] + public static extern unsafe void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params, EntryPoints[1131]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameteriSGIX")] - public static + [Slot(1132)] + public static extern void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32)param, EntryPoints[1132]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameteriSGIX")] - public static + [Slot(1132)] + public static extern void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32)param, EntryPoints[1132]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterivSGIX")] - public static + [Slot(1133)] + public static extern 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) - { - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params_ptr, EntryPoints[1133]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterivSGIX")] - public static + [Slot(1133)] + public static extern unsafe void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params, EntryPoints[1133]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterivSGIX")] - public static + [Slot(1133)] + public static extern 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) - { - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params_ptr, EntryPoints[1133]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterivSGIX")] - public static + [Slot(1133)] + public static extern unsafe void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (IntPtr)@params, EntryPoints[1133]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glLoadIdentityDeformationMapSGIX")] - public static + [Slot(1135)] + public static extern void LoadIdentityDeformationMap(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[1135]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_polynomial_ffd] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glLoadIdentityDeformationMapSGIX")] - public static + [Slot(1135)] + public static extern void LoadIdentityDeformationMap(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[1135]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_pixel_texture] [AutoGenerated(Category = "SGIX_pixel_texture", Version = "", EntryPoint = "glPixelTexGenSGIX")] - public static + [Slot(1477)] + public static extern void PixelTexGen(OpenTK.Graphics.OpenGL.SgixPixelTexture mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixPixelTexture)mode, EntryPoints[1477]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glPollAsyncSGIX")] - public static + [Slot(1506)] + public static extern Int32 PollAsync([OutAttribute] out Int32 markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* markerp_ptr = &markerp) - { - Int32 retval = InteropHelper.CallReturn((IntPtr)markerp_ptr, EntryPoints[1506]); - markerp = *markerp_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glPollAsyncSGIX")] - public static + [Slot(1506)] + public static extern unsafe Int32 PollAsync([OutAttribute] Int32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)markerp, EntryPoints[1506]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glPollAsyncSGIX")] - public static + [Slot(1506)] + public static extern Int32 PollAsync([OutAttribute] out UInt32 markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* markerp_ptr = &markerp) - { - Int32 retval = InteropHelper.CallReturn((IntPtr)markerp_ptr, EntryPoints[1506]); - markerp = *markerp_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glPollAsyncSGIX")] - public static + [Slot(1506)] + public static extern unsafe Int32 PollAsync([OutAttribute] UInt32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)markerp, EntryPoints[1506]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glPollInstrumentsSGIX")] - public static + [Slot(1507)] + public static extern 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 = InteropHelper.CallReturn((IntPtr)marker_p_ptr, EntryPoints[1507]); - marker_p = *marker_p_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_instruments] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glPollInstrumentsSGIX")] - public static + [Slot(1507)] + public static extern unsafe Int32 PollInstruments([OutAttribute] Int32* marker_p) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)marker_p, EntryPoints[1507]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glReadInstrumentsSGIX")] - public static + [Slot(1735)] + public static extern void ReadInstruments(Int32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)marker, EntryPoints[1735]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_reference_plane] [AutoGenerated(Category = "SGIX_reference_plane", Version = "", EntryPoint = "glReferencePlaneSGIX")] - public static + [Slot(1748)] + public static extern void ReferencePlane(Double[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = equation) - { - InteropHelper.Call((IntPtr)equation_ptr, EntryPoints[1748]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_reference_plane] [AutoGenerated(Category = "SGIX_reference_plane", Version = "", EntryPoint = "glReferencePlaneSGIX")] - public static + [Slot(1748)] + public static extern void ReferencePlane(ref Double equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = &equation) - { - InteropHelper.Call((IntPtr)equation_ptr, EntryPoints[1748]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_reference_plane] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_reference_plane", Version = "", EntryPoint = "glReferencePlaneSGIX")] - public static + [Slot(1748)] + public static extern unsafe void ReferencePlane(Double* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)equation, EntryPoints[1748]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_sprite] [AutoGenerated(Category = "SGIX_sprite", Version = "", EntryPoint = "glSpriteParameterfSGIX")] - public static + [Slot(1873)] + public static extern void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Single)param, EntryPoints[1873]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_sprite] [AutoGenerated(Category = "SGIX_sprite", Version = "", EntryPoint = "glSpriteParameterfvSGIX")] - public static + [Slot(1874)] + public static extern void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixSprite)pname, (IntPtr)@params_ptr, EntryPoints[1874]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_sprite] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_sprite", Version = "", EntryPoint = "glSpriteParameterfvSGIX")] - public static + [Slot(1874)] + public static extern unsafe void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixSprite)pname, (IntPtr)@params, EntryPoints[1874]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_sprite] [AutoGenerated(Category = "SGIX_sprite", Version = "", EntryPoint = "glSpriteParameteriSGIX")] - public static + [Slot(1875)] + public static extern void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Int32)param, EntryPoints[1875]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_sprite] [AutoGenerated(Category = "SGIX_sprite", Version = "", EntryPoint = "glSpriteParameterivSGIX")] - public static + [Slot(1876)] + public static extern void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixSprite)pname, (IntPtr)@params_ptr, EntryPoints[1876]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_sprite] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_sprite", Version = "", EntryPoint = "glSpriteParameterivSGIX")] - public static + [Slot(1876)] + public static extern unsafe void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SgixSprite)pname, (IntPtr)@params, EntryPoints[1876]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glStartInstrumentsSGIX")] - public static + [Slot(1877)] + public static extern void StartInstruments() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1877]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glStopInstrumentsSGIX")] - public static + [Slot(1892)] + public static extern void StopInstruments(Int32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)marker, EntryPoints[1892]); - #if DEBUG - } - #endif - } + ; + /// [requires: SGIX_tag_sample_buffer] [AutoGenerated(Category = "SGIX_tag_sample_buffer", Version = "", EntryPoint = "glTagSampleBufferSGIX")] - public static + [Slot(1896)] + public static extern void TagSampleBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[1896]); - #if DEBUG - } - #endif - } + ; + } @@ -255130,2732 +161270,1216 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor3fVertex3fSUN")] - public static + [Slot(180)] + public static extern void Color3fVertex3(Single r, Single g, Single b, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z, EntryPoints[180]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor3fVertex3fvSUN")] - public static + [Slot(181)] + public static extern 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) - { - InteropHelper.Call((IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[181]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor3fVertex3fvSUN")] - public static + [Slot(181)] + public static extern 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) - { - InteropHelper.Call((IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[181]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor3fVertex3fvSUN")] - public static + [Slot(181)] + public static extern unsafe void Color3fVertex3(Single* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)c, (IntPtr)v, EntryPoints[181]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4fNormal3fVertex3fSUN")] - public static + [Slot(201)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, EntryPoints[201]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] - public static + [Slot(202)] + public static extern 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) - { - InteropHelper.Call((IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[202]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] - public static + [Slot(202)] + public static extern 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) - { - InteropHelper.Call((IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[202]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] - public static + [Slot(202)] + public static extern unsafe void Color4fNormal3fVertex3(Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)c, (IntPtr)n, (IntPtr)v, EntryPoints[202]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex2fSUN")] - public static + [Slot(212)] + public static extern void Color4ubVertex2(Byte r, Byte g, Byte b, Byte a, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, EntryPoints[212]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex2fvSUN")] - public static + [Slot(213)] + public static extern 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) - { - InteropHelper.Call((IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[213]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex2fvSUN")] - public static + [Slot(213)] + public static extern 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) - { - InteropHelper.Call((IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[213]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex2fvSUN")] - public static + [Slot(213)] + public static extern unsafe void Color4ubVertex2(Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)c, (IntPtr)v, EntryPoints[213]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex3fSUN")] - public static + [Slot(214)] + public static extern void Color4ubVertex3(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z, EntryPoints[214]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex3fvSUN")] - public static + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[215]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex3fvSUN")] - public static + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[215]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex3fvSUN")] - public static + [Slot(215)] + public static extern unsafe void Color4ubVertex3(Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)c, (IntPtr)v, EntryPoints[215]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_mesh_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "SUN_mesh_array", Version = "", EntryPoint = "glDrawMeshArraysSUN")] - public static + [Slot(444)] + public static extern void DrawMeshArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)width, EntryPoints[444]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_mesh_array] [AutoGenerated(Category = "SUN_mesh_array", Version = "", EntryPoint = "glDrawMeshArraysSUN")] - public static + [Slot(444)] + public static extern void DrawMeshArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)width, EntryPoints[444]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_global_alpha] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactorbSUN")] - public static + [Slot(1017)] + public static extern void GlobalAlphaFactor(SByte factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((SByte)factor, EntryPoints[1017]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_global_alpha] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactordSUN")] - public static + [Slot(1018)] + public static extern void GlobalAlphaFactor(Double factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)factor, EntryPoints[1018]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_global_alpha] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactorfSUN")] - public static + [Slot(1019)] + public static extern void GlobalAlphaFactor(Single factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)factor, EntryPoints[1019]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_global_alpha] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactoriSUN")] - public static + [Slot(1020)] + public static extern void GlobalAlphaFactor(Int32 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)factor, EntryPoints[1020]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_global_alpha] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactorsSUN")] - public static + [Slot(1021)] + public static extern void GlobalAlphaFactors(Int16 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int16)factor, EntryPoints[1021]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_global_alpha] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactorubSUN")] - public static + [Slot(1022)] + public static extern void GlobalAlphaFactor(Byte factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Byte)factor, EntryPoints[1022]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_global_alpha] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactoruiSUN")] - public static + [Slot(1023)] + public static extern void GlobalAlphaFactor(UInt32 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)factor, EntryPoints[1023]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_global_alpha] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactorusSUN")] - public static + [Slot(1024)] + public static extern void GlobalAlphaFactor(Int16 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt16)factor, EntryPoints[1024]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_global_alpha] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactorusSUN")] - public static + [Slot(1024)] + public static extern void GlobalAlphaFactor(UInt16 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt16)factor, EntryPoints[1024]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glNormal3fVertex3fSUN")] - public static + [Slot(1404)] + public static extern void Normal3fVertex3(Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, EntryPoints[1404]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glNormal3fVertex3fvSUN")] - public static + [Slot(1405)] + public static extern 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) - { - InteropHelper.Call((IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1405]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glNormal3fVertex3fvSUN")] - public static + [Slot(1405)] + public static extern 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) - { - InteropHelper.Call((IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1405]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glNormal3fVertex3fvSUN")] - public static + [Slot(1405)] + public static extern unsafe void Normal3fVertex3(Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)n, (IntPtr)v, EntryPoints[1405]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodePointerSUN")] - public static + [Slot(1756)] + public static extern void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer, EntryPoints[1756]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodePointerSUN")] - public static + [Slot(1756)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1756]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodePointerSUN")] - public static + [Slot(1756)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1756]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodePointerSUN")] - public static + [Slot(1756)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1756]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodePointerSUN")] - public static + [Slot(1756)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[1756]); - 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 + [Slot(1757)] + public static extern void ReplacementCode(Byte code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Byte)code, EntryPoints[1757]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeubvSUN")] - public static + [Slot(1758)] + public static extern void ReplacementCode(Byte[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* code_ptr = code) - { - InteropHelper.Call((IntPtr)code_ptr, EntryPoints[1758]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeubvSUN")] - public static + [Slot(1758)] + public static extern unsafe void ReplacementCode(Byte* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)code, EntryPoints[1758]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fSUN")] - public static + [Slot(1759)] + public static extern void ReplacementCodeuiColor3fVertex3(Int32 rc, Single r, Single g, Single b, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z, EntryPoints[1759]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fSUN")] - public static + [Slot(1759)] + public static extern void ReplacementCodeuiColor3fVertex3(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z, EntryPoints[1759]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static + [Slot(1760)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[1760]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static + [Slot(1760)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[1760]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static + [Slot(1760)] + public static extern unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)c, (IntPtr)v, EntryPoints[1760]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static + [Slot(1760)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[1760]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static + [Slot(1760)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[1760]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static + [Slot(1760)] + public static extern unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)c, (IntPtr)v, EntryPoints[1760]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fSUN")] - public static + [Slot(1761)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, EntryPoints[1761]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fSUN")] - public static + [Slot(1761)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, EntryPoints[1761]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1762)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1762]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1762)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1762]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1762)] + public static extern unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)c, (IntPtr)n, (IntPtr)v, EntryPoints[1762]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1762)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1762]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1762)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1762]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1762)] + public static extern unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)c, (IntPtr)n, (IntPtr)v, EntryPoints[1762]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] - public static + [Slot(1763)] + public static extern 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 - InteropHelper.Call((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z, EntryPoints[1763]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] - public static + [Slot(1763)] + public static extern 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 - InteropHelper.Call((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z, EntryPoints[1763]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static + [Slot(1764)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[1764]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static + [Slot(1764)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[1764]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static + [Slot(1764)] + public static extern unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)c, (IntPtr)v, EntryPoints[1764]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static + [Slot(1764)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[1764]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static + [Slot(1764)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[1764]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static + [Slot(1764)] + public static extern unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)c, (IntPtr)v, EntryPoints[1764]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN")] - public static + [Slot(1765)] + public static extern void ReplacementCodeuiNormal3fVertex3(Int32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, EntryPoints[1765]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN")] - public static + [Slot(1765)] + public static extern void ReplacementCodeuiNormal3fVertex3(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, EntryPoints[1765]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static + [Slot(1766)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1766]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static + [Slot(1766)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1766]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static + [Slot(1766)] + public static extern unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)n, (IntPtr)v, EntryPoints[1766]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static + [Slot(1766)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1766]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static + [Slot(1766)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1766]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static + [Slot(1766)] + public static extern unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)n, (IntPtr)v, EntryPoints[1766]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeuiSUN")] - public static + [Slot(1767)] + public static extern void ReplacementCode(Int32 code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)code, EntryPoints[1767]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeuiSUN")] - public static + [Slot(1767)] + public static extern void ReplacementCode(UInt32 code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)code, EntryPoints[1767]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] - public static + [Slot(1768)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1768]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] - public static + [Slot(1768)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1768]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1769)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)tc_ptr, (IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1769]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1769)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)tc_ptr, (IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1769]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1769)] + public static extern unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)tc, (IntPtr)c, (IntPtr)n, (IntPtr)v, EntryPoints[1769]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1769)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)tc_ptr, (IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1769]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1769)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)tc_ptr, (IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1769]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1769)] + public static extern unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)tc, (IntPtr)c, (IntPtr)n, (IntPtr)v, EntryPoints[1769]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")] - public static + [Slot(1770)] + public static extern 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 - InteropHelper.Call((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, EntryPoints[1770]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")] - public static + [Slot(1770)] + public static extern 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 - InteropHelper.Call((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, EntryPoints[1770]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static + [Slot(1771)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)tc_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1771]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static + [Slot(1771)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)tc_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1771]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static + [Slot(1771)] + public static extern unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)tc, (IntPtr)n, (IntPtr)v, EntryPoints[1771]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static + [Slot(1771)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)tc_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1771]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static + [Slot(1771)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)tc_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1771]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static + [Slot(1771)] + public static extern unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)tc, (IntPtr)n, (IntPtr)v, EntryPoints[1771]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN")] - public static + [Slot(1772)] + public static extern void ReplacementCodeuiTexCoord2fVertex3(Int32 rc, Single s, Single t, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z, EntryPoints[1772]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN")] - public static + [Slot(1772)] + public static extern void ReplacementCodeuiTexCoord2fVertex3(UInt32 rc, Single s, Single t, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z, EntryPoints[1772]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static + [Slot(1773)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)tc_ptr, (IntPtr)v_ptr, EntryPoints[1773]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static + [Slot(1773)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)tc_ptr, (IntPtr)v_ptr, EntryPoints[1773]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static + [Slot(1773)] + public static extern unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)tc, (IntPtr)v, EntryPoints[1773]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static + [Slot(1773)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)tc_ptr, (IntPtr)v_ptr, EntryPoints[1773]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static + [Slot(1773)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)tc_ptr, (IntPtr)v_ptr, EntryPoints[1773]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static + [Slot(1773)] + public static extern unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)tc, (IntPtr)v, EntryPoints[1773]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fSUN")] - public static + [Slot(1774)] + public static extern void ReplacementCodeuiVertex3(Int32 rc, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)rc, (Single)x, (Single)y, (Single)z, EntryPoints[1774]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fSUN")] - public static + [Slot(1774)] + public static extern void ReplacementCodeuiVertex3(UInt32 rc, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)rc, (Single)x, (Single)y, (Single)z, EntryPoints[1774]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static + [Slot(1775)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)v_ptr, EntryPoints[1775]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static + [Slot(1775)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)v_ptr, EntryPoints[1775]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static + [Slot(1775)] + public static extern unsafe void ReplacementCodeuiVertex3(Int32* rc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)v, EntryPoints[1775]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static + [Slot(1775)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)v_ptr, EntryPoints[1775]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static + [Slot(1775)] + public static extern 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) - { - InteropHelper.Call((IntPtr)rc_ptr, (IntPtr)v_ptr, EntryPoints[1775]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static + [Slot(1775)] + public static extern unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)rc, (IntPtr)v, EntryPoints[1775]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeuivSUN")] - public static + [Slot(1776)] + public static extern void ReplacementCode(Int32[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* code_ptr = code) - { - InteropHelper.Call((IntPtr)code_ptr, EntryPoints[1776]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeuivSUN")] - public static + [Slot(1776)] + public static extern unsafe void ReplacementCode(Int32* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)code, EntryPoints[1776]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeuivSUN")] - public static + [Slot(1776)] + public static extern void ReplacementCode(UInt32[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* code_ptr = code) - { - InteropHelper.Call((IntPtr)code_ptr, EntryPoints[1776]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeuivSUN")] - public static + [Slot(1776)] + public static extern unsafe void ReplacementCode(UInt32* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)code, EntryPoints[1776]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeusSUN")] - public static + [Slot(1777)] + public static extern void ReplacementCode(Int16 code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt16)code, EntryPoints[1777]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeusSUN")] - public static + [Slot(1777)] + public static extern void ReplacementCode(UInt16 code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt16)code, EntryPoints[1777]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeusvSUN")] - public static + [Slot(1778)] + public static extern void ReplacementCode(Int16[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* code_ptr = code) - { - InteropHelper.Call((IntPtr)code_ptr, EntryPoints[1778]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeusvSUN")] - public static + [Slot(1778)] + public static extern unsafe void ReplacementCode(Int16* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)code, EntryPoints[1778]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeusvSUN")] - public static + [Slot(1778)] + public static extern void ReplacementCode(UInt16[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* code_ptr = code) - { - InteropHelper.Call((IntPtr)code_ptr, EntryPoints[1778]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeusvSUN")] - public static + [Slot(1778)] + public static extern unsafe void ReplacementCode(UInt16* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)code, EntryPoints[1778]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor3fVertex3fSUN")] - public static + [Slot(1939)] + public static extern 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 - InteropHelper.Call((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z, EntryPoints[1939]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] - public static + [Slot(1940)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[1940]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] - public static + [Slot(1940)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[1940]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] - public static + [Slot(1940)] + public static extern unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)tc, (IntPtr)c, (IntPtr)v, EntryPoints[1940]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fSUN")] - public static + [Slot(1941)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, EntryPoints[1941]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1942)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1942]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1942)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1942]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static + [Slot(1942)] + public static extern unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)tc, (IntPtr)c, (IntPtr)n, (IntPtr)v, EntryPoints[1942]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4ubVertex3fSUN")] - public static + [Slot(1943)] + public static extern 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 - InteropHelper.Call((Single)s, (Single)t, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z, EntryPoints[1943]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] - public static + [Slot(1944)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[1944]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] - public static + [Slot(1944)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)c_ptr, (IntPtr)v_ptr, EntryPoints[1944]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] - public static + [Slot(1944)] + public static extern unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)tc, (IntPtr)c, (IntPtr)v, EntryPoints[1944]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fNormal3fVertex3fSUN")] - public static + [Slot(1945)] + public static extern 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 - InteropHelper.Call((Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, EntryPoints[1945]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] - public static + [Slot(1946)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1946]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] - public static + [Slot(1946)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1946]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] - public static + [Slot(1946)] + public static extern unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)tc, (IntPtr)n, (IntPtr)v, EntryPoints[1946]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fVertex3fSUN")] - public static + [Slot(1948)] + public static extern void TexCoord2fVertex3(Single s, Single t, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)s, (Single)t, (Single)x, (Single)y, (Single)z, EntryPoints[1948]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fVertex3fvSUN")] - public static + [Slot(1949)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)v_ptr, EntryPoints[1949]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fVertex3fvSUN")] - public static + [Slot(1949)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)v_ptr, EntryPoints[1949]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fVertex3fvSUN")] - public static + [Slot(1949)] + public static extern unsafe void TexCoord2fVertex3(Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)tc, (IntPtr)v, EntryPoints[1949]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fSUN")] - public static + [Slot(1977)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[1977]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] - public static + [Slot(1978)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1978]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] - public static + [Slot(1978)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)c_ptr, (IntPtr)n_ptr, (IntPtr)v_ptr, EntryPoints[1978]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] - public static + [Slot(1978)] + public static extern unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)tc, (IntPtr)c, (IntPtr)n, (IntPtr)v, EntryPoints[1978]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fVertex4fSUN")] - public static + [Slot(1980)] + public static extern 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 - InteropHelper.Call((Single)s, (Single)t, (Single)p, (Single)q, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[1980]); - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fVertex4fvSUN")] - public static + [Slot(1981)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)v_ptr, EntryPoints[1981]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fVertex4fvSUN")] - public static + [Slot(1981)] + public static extern 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) - { - InteropHelper.Call((IntPtr)tc_ptr, (IntPtr)v_ptr, EntryPoints[1981]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fVertex4fvSUN")] - public static + [Slot(1981)] + public static extern unsafe void TexCoord4fVertex4(Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)tc, (IntPtr)v, EntryPoints[1981]); - #if DEBUG - } - #endif - } + ; + } @@ -257863,18 +162487,11 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: SUNX_constant_data] [AutoGenerated(Category = "SUNX_constant_data", Version = "", EntryPoint = "glFinishTextureSUNX")] - public static + [Slot(521)] + public static extern void FinishTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[521]); - #if DEBUG - } - #endif - } + ; + } diff --git a/Source/OpenTK/Graphics/OpenGL4/GL4.cs b/Source/OpenTK/Graphics/OpenGL4/GL4.cs index 01d21bf4..a1016f3b 100644 --- a/Source/OpenTK/Graphics/OpenGL4/GL4.cs +++ b/Source/OpenTK/Graphics/OpenGL4/GL4.cs @@ -34,6 +34,7 @@ namespace OpenTK.Graphics.OpenGL4 #pragma warning disable 1591 #pragma warning disable 1572 #pragma warning disable 1573 + #pragma warning disable 626 partial class GL { @@ -733,18 +734,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationiARB")] - public static + [Slot(31)] + public static extern void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)mode, EntryPoints[31]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -761,18 +755,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationiARB")] - public static + [Slot(31)] + public static extern void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)mode, EntryPoints[31]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Set the RGB blend equation and the alpha blend equation separately @@ -793,18 +780,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationSeparateiARB")] - public static + [Slot(34)] + public static extern void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL4.All modeRGB, OpenTK.Graphics.OpenGL4.All modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)modeRGB, (OpenTK.Graphics.OpenGL4.All)modeAlpha, EntryPoints[34]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Set the RGB blend equation and the alpha blend equation separately @@ -826,18 +806,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationSeparateiARB")] - public static + [Slot(34)] + public static extern void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL4.All modeRGB, OpenTK.Graphics.OpenGL4.All modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)modeRGB, (OpenTK.Graphics.OpenGL4.All)modeAlpha, EntryPoints[34]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic @@ -858,18 +831,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFunciARB")] - public static + [Slot(37)] + public static extern void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL4.All src, OpenTK.Graphics.OpenGL4.All dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)src, (OpenTK.Graphics.OpenGL4.All)dst, EntryPoints[37]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic @@ -891,18 +857,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFunciARB")] - public static + [Slot(37)] + public static extern void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL4.All src, OpenTK.Graphics.OpenGL4.All dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)src, (OpenTK.Graphics.OpenGL4.All)dst, EntryPoints[37]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic for RGB and alpha components separately @@ -933,18 +892,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncSeparateiARB")] - public static + [Slot(40)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)srcRGB, (OpenTK.Graphics.OpenGL4.All)dstRGB, (OpenTK.Graphics.OpenGL4.All)srcAlpha, (OpenTK.Graphics.OpenGL4.All)dstAlpha, EntryPoints[40]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic for RGB and alpha components separately @@ -976,264 +928,115 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncSeparateiARB")] - public static + [Slot(40)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)srcRGB, (OpenTK.Graphics.OpenGL4.All)dstRGB, (OpenTK.Graphics.OpenGL4.All)srcAlpha, (OpenTK.Graphics.OpenGL4.All)dstAlpha, EntryPoints[40]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static + [Slot(72)] + public static extern void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])path, (IntPtr)length_ptr, EntryPoints[72]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static + [Slot(72)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])path, (IntPtr)length_ptr, EntryPoints[72]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static + [Slot(72)] + public static extern unsafe void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])path, (IntPtr)length, EntryPoints[72]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static + [Slot(72)] + public static extern void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])path, (IntPtr)length_ptr, EntryPoints[72]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static + [Slot(72)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])path, (IntPtr)length_ptr, EntryPoints[72]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static + [Slot(72)] + public static extern unsafe void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])path, (IntPtr)length, EntryPoints[72]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_cl_event] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static + [Slot(99)] + public static extern 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 InteropHelper.CallReturn((IntPtr)context_ptr, (IntPtr)@event_ptr, (UInt32)flags, EntryPoints[99]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static + [Slot(99)] + public static extern 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 InteropHelper.CallReturn((IntPtr)context_ptr, (IntPtr)@event_ptr, (UInt32)flags, EntryPoints[99]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_cl_event] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static + [Slot(99)] + public static extern 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 = InteropHelper.CallReturn((IntPtr)context_ptr, (IntPtr)@event_ptr, (UInt32)flags, EntryPoints[99]); - context = *context_ptr; - @event = *@event_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static + [Slot(99)] + public static extern 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 = InteropHelper.CallReturn((IntPtr)context_ptr, (IntPtr)@event_ptr, (UInt32)flags, EntryPoints[99]); - context = *context_ptr; - @event = *@event_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static + [Slot(99)] + public static extern unsafe IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)context, (IntPtr)@event, (UInt32)flags, EntryPoints[99]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static + [Slot(99)] + public static extern unsafe IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)context, (IntPtr)@event, (UInt32)flags, EntryPoints[99]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -1249,18 +1052,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static + [Slot(102)] + public static extern void DebugMessageCallback(DebugProcArb callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((DebugProcArb)callback, (IntPtr)userParam, EntryPoints[102]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -1276,27 +1072,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static + [Slot(102)] + 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 - { - InteropHelper.Call((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[102]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -1312,27 +1093,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static + [Slot(102)] + 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 - { - InteropHelper.Call((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[102]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -1348,27 +1114,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static + [Slot(102)] + 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 - { - InteropHelper.Call((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[102]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -1384,28 +1135,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static + [Slot(102)] + 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 - { - InteropHelper.Call((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[102]); - 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 @@ -1441,24 +1176,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static + [Slot(105)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[105]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -1494,24 +1216,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static + [Slot(105)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[105]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -1548,18 +1257,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static + [Slot(105)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[105]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -1596,24 +1298,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static + [Slot(105)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[105]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -1650,24 +1339,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static + [Slot(105)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[105]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -1704,18 +1380,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static + [Slot(105)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[105]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Inject an application-supplied message into the debug message queue @@ -1751,18 +1420,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageInsertARB")] - public static + [Slot(108)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)length, (String)buf, EntryPoints[108]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Inject an application-supplied message into the debug message queue @@ -1799,64 +1461,36 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageInsertARB")] - public static + [Slot(108)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)length, (String)buf, EntryPoints[108]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glDeleteNamedStringARB")] - public static + [Slot(112)] + public static extern void DeleteNamedString(Int32 namelen, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)namelen, (String)name, EntryPoints[112]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_compute_variable_group_size] [AutoGenerated(Category = "ARB_compute_variable_group_size", Version = "", EntryPoint = "glDispatchComputeGroupSizeARB")] - public static + [Slot(134)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, (UInt32)group_size_x, (UInt32)group_size_y, (UInt32)group_size_z, EntryPoints[134]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_compute_variable_group_size] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_compute_variable_group_size", Version = "", EntryPoint = "glDispatchComputeGroupSizeARB")] - public static + [Slot(134)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, (UInt32)group_size_x, (UInt32)group_size_y, (UInt32)group_size_z, EntryPoints[134]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -1902,28 +1536,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static + [Slot(210)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[210]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -1969,34 +1586,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static + [Slot(210)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[210]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -2043,18 +1637,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static + [Slot(210)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[210]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -2101,28 +1688,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static + [Slot(210)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[210]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -2169,34 +1739,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static + [Slot(210)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[210]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -2243,2332 +1790,1010 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static + [Slot(210)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[210]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetGraphicsResetStatusARB")] - public static + [Slot(221)] + public static extern OpenTK.Graphics.OpenGL4.All GetGraphicsResetStatus() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn(EntryPoints[221]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetImageHandleARB")] - public static + [Slot(225)] + public static extern Int64 GetImageHandle(Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.All format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL4.All)format, EntryPoints[225]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetImageHandleARB")] - public static + [Slot(225)] + public static extern Int64 GetImageHandle(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.All format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL4.All)format, EntryPoints[225]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringARB")] - public static + [Slot(236)] + public static extern 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) - { - InteropHelper.Call((Int32)namelen, (String)name, (Int32)bufSize, (IntPtr)stringlen_ptr, (StringBuilder)@string, EntryPoints[236]); - stringlen = *stringlen_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringARB")] - public static + [Slot(236)] + public static extern unsafe void GetNamedString(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)namelen, (String)name, (Int32)bufSize, (IntPtr)stringlen, (StringBuilder)@string, EntryPoints[236]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringivARB")] - public static + [Slot(237)] + public static extern 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) - { - InteropHelper.Call((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr, EntryPoints[237]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringivARB")] - public static + [Slot(237)] + public static extern 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) - { - InteropHelper.Call((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr, EntryPoints[237]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringivARB")] - public static + [Slot(237)] + public static extern unsafe void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params, EntryPoints[237]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static + [Slot(238)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)table, EntryPoints[238]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static + [Slot(238)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[238]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static + [Slot(238)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[238]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static + [Slot(238)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[238]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static + [Slot(238)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[238]); - table = (T4)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static + [Slot(239)] + public static extern void GetnCompressedTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (Int32)lod, (Int32)bufSize, (IntPtr)img, EntryPoints[239]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static + [Slot(239)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[239]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static + [Slot(239)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[239]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static + [Slot(239)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[239]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static + [Slot(239)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[239]); - img = (T3)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static + [Slot(240)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)image, EntryPoints[240]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static + [Slot(240)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[240]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static + [Slot(240)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[240]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static + [Slot(240)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[240]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static + [Slot(240)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[240]); - image = (T4)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static + [Slot(241)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values, EntryPoints[241]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static + [Slot(241)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[241]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static + [Slot(241)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[241]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static + [Slot(241)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[241]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static + [Slot(241)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[241]); - values = (T5)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapdvARB")] - public static + [Slot(242)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (IntPtr)v_ptr, EntryPoints[242]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapdvARB")] - public static + [Slot(242)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (IntPtr)v_ptr, EntryPoints[242]); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapdvARB")] - public static + [Slot(242)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (IntPtr)v, EntryPoints[242]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapfvARB")] - public static + [Slot(243)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (IntPtr)v_ptr, EntryPoints[243]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapfvARB")] - public static + [Slot(243)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (IntPtr)v_ptr, EntryPoints[243]); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapfvARB")] - public static + [Slot(243)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (IntPtr)v, EntryPoints[243]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapivARB")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (IntPtr)v_ptr, EntryPoints[244]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapivARB")] - public static + [Slot(244)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (IntPtr)v_ptr, EntryPoints[244]); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapivARB")] - public static + [Slot(244)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (IntPtr)v, EntryPoints[244]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static + [Slot(245)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values, EntryPoints[245]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[245]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static + [Slot(245)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[245]); - values = (T5)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapfvARB")] - public static + [Slot(246)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[246]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapfvARB")] - public static + [Slot(246)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[246]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapfvARB")] - public static + [Slot(246)] + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values, EntryPoints[246]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static + [Slot(247)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[247]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static + [Slot(247)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[247]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static + [Slot(247)] + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values, EntryPoints[247]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static + [Slot(247)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[247]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static + [Slot(247)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[247]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static + [Slot(247)] + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values, EntryPoints[247]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static + [Slot(248)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static + [Slot(248)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[248]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static + [Slot(248)] + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Int16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values, EntryPoints[248]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static + [Slot(248)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[248]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static + [Slot(248)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values_ptr, EntryPoints[248]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static + [Slot(248)] + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (IntPtr)values, EntryPoints[248]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static + [Slot(249)] + public static extern Byte GetnPolygonStipple() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 bufSize = 1; - Byte retval; - Byte* pattern_ptr = &retval; - InteropHelper.Call((Int32)bufSize, (IntPtr)pattern_ptr, EntryPoints[249]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static + [Slot(249)] + public static extern void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte[] pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* pattern_ptr = pattern) - { - InteropHelper.Call((Int32)bufSize, (IntPtr)pattern_ptr, EntryPoints[249]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static + [Slot(249)] + public static extern void GetnPolygonStipple(Int32 bufSize, [OutAttribute] out Byte pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* pattern_ptr = &pattern) - { - InteropHelper.Call((Int32)bufSize, (IntPtr)pattern_ptr, EntryPoints[249]); - pattern = *pattern_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static + [Slot(249)] + public static extern unsafe void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte* pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)bufSize, (IntPtr)pattern, EntryPoints[249]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static + [Slot(250)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[250]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static + [Slot(250)] + 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 - { - InteropHelper.Call((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(), EntryPoints[250]); - } - 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 + [Slot(250)] + 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 - { - InteropHelper.Call((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(), EntryPoints[250]); - } - 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 + [Slot(250)] + 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 - { - InteropHelper.Call((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(), EntryPoints[250]); - } - 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 + [Slot(250)] + 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 - { - InteropHelper.Call((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(), EntryPoints[250]); - 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 + [Slot(251)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)img, EntryPoints[251]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static + [Slot(251)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[251]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static + [Slot(251)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[251]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static + [Slot(251)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[251]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static + [Slot(251)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[251]); - img = (T5)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static + [Slot(252)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[252]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static + [Slot(252)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[252]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static + [Slot(252)] + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[252]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static + [Slot(252)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[252]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static + [Slot(252)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[252]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static + [Slot(252)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[252]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static + [Slot(253)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[253]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static + [Slot(253)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[253]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static + [Slot(253)] + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[253]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static + [Slot(253)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[253]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static + [Slot(253)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[253]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static + [Slot(253)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[253]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static + [Slot(254)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[254]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static + [Slot(254)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[254]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static + [Slot(254)] + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[254]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static + [Slot(254)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[254]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static + [Slot(254)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[254]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static + [Slot(254)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[254]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformuivARB")] - public static + [Slot(255)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[255]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformuivARB")] - public static + [Slot(255)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[255]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformuivARB")] - public static + [Slot(255)] + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)bufSize, (IntPtr)@params, EntryPoints[255]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureHandleARB")] - public static + [Slot(302)] + public static extern Int64 GetTextureHandle(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[302]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureHandleARB")] - public static + [Slot(302)] + public static extern Int64 GetTextureHandle(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[302]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureSamplerHandleARB")] - public static + [Slot(303)] + public static extern Int64 GetTextureSamplerHandle(Int32 texture, Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, (UInt32)sampler, EntryPoints[303]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureSamplerHandleARB")] - public static + [Slot(303)] + public static extern Int64 GetTextureSamplerHandle(UInt32 texture, UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, (UInt32)sampler, EntryPoints[303]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static + [Slot(319)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[319]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static + [Slot(319)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[319]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static + [Slot(319)] + public static extern unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (IntPtr)@params, EntryPoints[319]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static + [Slot(319)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[319]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static + [Slot(319)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (IntPtr)@params_ptr, EntryPoints[319]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static + [Slot(319)] + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (IntPtr)@params, EntryPoints[319]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsImageHandleResidentARB")] - public static + [Slot(333)] + public static extern bool IsImageHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt64)handle, EntryPoints[333]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsImageHandleResidentARB")] - public static + [Slot(333)] + public static extern bool IsImageHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt64)handle, EntryPoints[333]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glIsNamedStringARB")] - public static + [Slot(334)] + public static extern bool IsNamedString(Int32 namelen, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((Int32)namelen, (String)name, EntryPoints[334]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsTextureHandleResidentARB")] - public static + [Slot(343)] + public static extern bool IsTextureHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt64)handle, EntryPoints[343]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsTextureHandleResidentARB")] - public static + [Slot(343)] + public static extern bool IsTextureHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt64)handle, EntryPoints[343]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleNonResidentARB")] - public static + [Slot(349)] + public static extern void MakeImageHandleNonResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[349]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleNonResidentARB")] - public static + [Slot(349)] + public static extern void MakeImageHandleNonResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[349]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleResidentARB")] - public static + [Slot(350)] + public static extern void MakeImageHandleResident(Int64 handle, OpenTK.Graphics.OpenGL4.All access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, (OpenTK.Graphics.OpenGL4.All)access, EntryPoints[350]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleResidentARB")] - public static + [Slot(350)] + public static extern void MakeImageHandleResident(UInt64 handle, OpenTK.Graphics.OpenGL4.All access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, (OpenTK.Graphics.OpenGL4.All)access, EntryPoints[350]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleNonResidentARB")] - public static + [Slot(351)] + public static extern void MakeTextureHandleNonResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[351]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleNonResidentARB")] - public static + [Slot(351)] + public static extern void MakeTextureHandleNonResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[351]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleResidentARB")] - public static + [Slot(352)] + public static extern void MakeTextureHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[352]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleResidentARB")] - public static + [Slot(352)] + public static extern void MakeTextureHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt64)handle, EntryPoints[352]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_sample_shading] /// Specifies minimum rate at which sample shaing takes place @@ -4579,594 +2804,277 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sample_shading", Version = "", EntryPoint = "glMinSampleShadingARB")] - public static + [Slot(358)] + public static extern void MinSampleShading(Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)value, EntryPoints[358]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_indirect_parameters] [AutoGenerated(Category = "ARB_indirect_parameters", Version = "", EntryPoint = "glMultiDrawArraysIndirectCountARB")] - public static + [Slot(361)] + public static extern void MultiDrawArraysIndirectCount(OpenTK.Graphics.OpenGL4.All mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)mode, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride, EntryPoints[361]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_indirect_parameters] [AutoGenerated(Category = "ARB_indirect_parameters", Version = "", EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public static + [Slot(365)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride, EntryPoints[365]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glNamedStringARB")] - public static + [Slot(374)] + public static extern void NamedString(OpenTK.Graphics.OpenGL4.All type, Int32 namelen, String name, Int32 stringlen, String @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)type, (Int32)namelen, (String)name, (Int32)stringlen, (String)@string, EntryPoints[374]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64ARB")] - public static + [Slot(430)] + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt64)value, EntryPoints[430]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64ARB")] - public static + [Slot(430)] + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt64)value, EntryPoints[430]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static + [Slot(431)] + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* values_ptr = values) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values_ptr, EntryPoints[431]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static + [Slot(431)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values_ptr, EntryPoints[431]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static + [Slot(431)] + public static extern unsafe void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values, EntryPoints[431]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static + [Slot(431)] + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* values_ptr = values) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values_ptr, EntryPoints[431]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static + [Slot(431)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values_ptr, EntryPoints[431]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static + [Slot(431)] + public static extern unsafe void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)values, EntryPoints[431]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static + [Slot(455)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)data, EntryPoints[455]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static + [Slot(455)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[455]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static + [Slot(455)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[455]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static + [Slot(455)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[455]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static + [Slot(455)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[455]); - 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 + [Slot(502)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident, EntryPoints[502]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64ARB")] - public static + [Slot(552)] + public static extern void UniformHandle(Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt64)value, EntryPoints[552]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64ARB")] - public static + [Slot(552)] + public static extern void UniformHandle(Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt64)value, EntryPoints[552]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static + [Slot(553)] + public static extern void UniformHandle(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[553]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static + [Slot(553)] + public static extern void UniformHandle(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[553]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static + [Slot(553)] + public static extern unsafe void UniformHandle(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[553]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static + [Slot(553)] + public static extern void UniformHandle(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[553]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static + [Slot(553)] + public static extern void UniformHandle(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[553]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static + [Slot(553)] + public static extern unsafe void UniformHandle(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[553]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64ARB")] - public static + [Slot(641)] + public static extern void VertexAttribL1(Int32 index, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt64)x, EntryPoints[641]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64ARB")] - public static + [Slot(641)] + public static extern void VertexAttribL1(UInt32 index, UInt64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt64)x, EntryPoints[641]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static + [Slot(642)] + public static extern void VertexAttribL1(Int32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[642]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static + [Slot(642)] + public static extern unsafe void VertexAttribL1(Int32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[642]); - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static + [Slot(642)] + public static extern void VertexAttribL1(UInt32 index, UInt64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[642]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static + [Slot(642)] + public static extern unsafe void VertexAttribL1(UInt32 index, UInt64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[642]); - #if DEBUG - } - #endif - } + ; + } @@ -5184,18 +3092,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glActiveShaderProgram")] - public static + [Slot(0)] + public static extern void ActiveShaderProgram(Int32 pipeline, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)program, EntryPoints[0]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Set the active program object for a program pipeline object @@ -5212,18 +3113,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glActiveShaderProgram")] - public static + [Slot(0)] + public static extern void ActiveShaderProgram(UInt32 pipeline, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (UInt32)program, EntryPoints[0]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Select active texture unit @@ -5234,18 +3128,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glActiveTexture")] - public static + [Slot(1)] + public static extern void ActiveTexture(OpenTK.Graphics.OpenGL4.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, EntryPoints[1]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Attaches a shader object to a program object @@ -5261,18 +3148,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static + [Slot(2)] + public static extern void AttachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[2]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Attaches a shader object to a program object @@ -5289,18 +3169,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static + [Slot(2)] + public static extern void AttachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[2]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Start conditional rendering @@ -5316,18 +3189,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginConditionalRender")] - public static + [Slot(3)] + public static extern void BeginConditionalRender(Int32 id, OpenTK.Graphics.OpenGL4.ConditionalRenderType mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.ConditionalRenderType)mode, EntryPoints[3]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Start conditional rendering @@ -5344,18 +3210,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginConditionalRender")] - public static + [Slot(3)] + public static extern void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL4.ConditionalRenderType mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.ConditionalRenderType)mode, EntryPoints[3]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delimit the boundaries of a query object @@ -5371,18 +3230,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBeginQuery")] - public static + [Slot(4)] + public static extern void BeginQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)id, EntryPoints[4]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delimit the boundaries of a query object @@ -5399,18 +3251,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBeginQuery")] - public static + [Slot(4)] + public static extern void BeginQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)id, EntryPoints[4]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Delimit the boundaries of a query object on an indexed target @@ -5431,18 +3276,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glBeginQueryIndexed")] - public static + [Slot(5)] + public static extern void BeginQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 index, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (UInt32)id, EntryPoints[5]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Delimit the boundaries of a query object on an indexed target @@ -5464,18 +3302,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glBeginQueryIndexed")] - public static + [Slot(5)] + public static extern void BeginQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (UInt32)id, EntryPoints[5]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Start transform feedback operation @@ -5486,18 +3317,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] - public static + [Slot(6)] + public static extern void BeginTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackPrimitiveType primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TransformFeedbackPrimitiveType)primitiveMode, EntryPoints[6]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Associates a generic vertex attribute index with a named attribute variable @@ -5518,18 +3342,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static + [Slot(7)] + public static extern void BindAttribLocation(Int32 program, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (String)name, EntryPoints[7]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Associates a generic vertex attribute index with a named attribute variable @@ -5551,18 +3368,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static + [Slot(7)] + public static extern void BindAttribLocation(UInt32 program, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (String)name, EntryPoints[7]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Bind a named buffer object @@ -5578,18 +3388,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBindBuffer")] - public static + [Slot(8)] + public static extern void BindBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (UInt32)buffer, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Bind a named buffer object @@ -5606,18 +3409,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBindBuffer")] - public static + [Slot(8)] + public static extern void BindBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (UInt32)buffer, EntryPoints[8]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a buffer object to an indexed buffer target @@ -5638,18 +3434,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static + [Slot(9)] + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, EntryPoints[9]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a buffer object to an indexed buffer target @@ -5671,18 +3460,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static + [Slot(9)] + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, EntryPoints[9]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a range within a buffer object to an indexed buffer target @@ -5713,18 +3495,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static + [Slot(10)] + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[10]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a range within a buffer object to an indexed buffer target @@ -5756,18 +3531,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static + [Slot(10)] + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[10]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -5793,24 +3561,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static + [Slot(11)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, EntryPoints[11]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -5836,24 +3591,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static + [Slot(11)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, EntryPoints[11]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -5880,18 +3622,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static + [Slot(11)] + public static extern unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 first, Int32 count, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers, EntryPoints[11]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -5918,24 +3653,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static + [Slot(11)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, EntryPoints[11]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -5962,24 +3684,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static + [Slot(11)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, EntryPoints[11]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -6006,18 +3715,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static + [Slot(11)] + public static extern unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers, EntryPoints[11]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -6043,26 +3745,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static + [Slot(12)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)sizes_ptr, EntryPoints[12]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -6088,26 +3775,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static + [Slot(12)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)sizes_ptr, EntryPoints[12]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -6134,18 +3806,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static + [Slot(12)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers, (IntPtr)offsets, (IntPtr)sizes, EntryPoints[12]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -6172,26 +3837,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static + [Slot(12)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)sizes_ptr, EntryPoints[12]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -6218,26 +3868,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static + [Slot(12)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)sizes_ptr, EntryPoints[12]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -6264,18 +3899,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static + [Slot(12)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (IntPtr)buffers, (IntPtr)offsets, (IntPtr)sizes, EntryPoints[12]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a user-defined varying out variable to a fragment shader color number @@ -6296,18 +3924,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindFragDataLocation")] - public static + [Slot(13)] + public static extern void BindFragDataLocation(Int32 program, Int32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)color, (String)name, EntryPoints[13]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Bind a user-defined varying out variable to a fragment shader color number @@ -6329,18 +3950,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindFragDataLocation")] - public static + [Slot(13)] + public static extern void BindFragDataLocation(UInt32 program, UInt32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)color, (String)name, EntryPoints[13]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -6366,18 +3980,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glBindFragDataLocationIndexed")] - public static + [Slot(14)] + public static extern void BindFragDataLocationIndexed(Int32 program, Int32 colorNumber, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name, EntryPoints[14]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -6404,18 +4011,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glBindFragDataLocationIndexed")] - public static + [Slot(14)] + public static extern void BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name, EntryPoints[14]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a framebuffer to a framebuffer target @@ -6431,18 +4031,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindFramebuffer")] - public static + [Slot(15)] + public static extern void BindFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[15]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a framebuffer to a framebuffer target @@ -6459,18 +4052,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindFramebuffer")] - public static + [Slot(15)] + public static extern void BindFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (UInt32)framebuffer, EntryPoints[15]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_image_load_store|VERSION_4_2] /// Bind a level of a texture to an image unit @@ -6511,18 +4097,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_image_load_store|VERSION_4_2", Version = "4.2", EntryPoint = "glBindImageTexture")] - public static + [Slot(16)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL4.TextureAccess)access, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)format, EntryPoints[16]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_image_load_store|VERSION_4_2] /// Bind a level of a texture to an image unit @@ -6564,18 +4143,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_image_load_store|VERSION_4_2", Version = "4.2", EntryPoint = "glBindImageTexture")] - public static + [Slot(16)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL4.TextureAccess)access, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)format, EntryPoints[16]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -6596,24 +4168,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static + [Slot(17)] + public static extern void BindImageTextures(Int32 first, Int32 count, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[17]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -6634,24 +4193,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static + [Slot(17)] + public static extern void BindImageTextures(Int32 first, Int32 count, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[17]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -6673,18 +4219,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static + [Slot(17)] + public static extern unsafe void BindImageTextures(Int32 first, Int32 count, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures, EntryPoints[17]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -6706,24 +4245,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static + [Slot(17)] + public static extern void BindImageTextures(UInt32 first, Int32 count, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[17]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -6745,24 +4271,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static + [Slot(17)] + public static extern void BindImageTextures(UInt32 first, Int32 count, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[17]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -6784,18 +4297,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static + [Slot(17)] + public static extern unsafe void BindImageTextures(UInt32 first, Int32 count, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures, EntryPoints[17]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind a program pipeline to the current context @@ -6806,18 +4312,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glBindProgramPipeline")] - public static + [Slot(18)] + public static extern void BindProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[18]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind a program pipeline to the current context @@ -6829,18 +4328,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glBindProgramPipeline")] - public static + [Slot(18)] + public static extern void BindProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[18]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a renderbuffer to a renderbuffer target @@ -6856,18 +4348,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindRenderbuffer")] - public static + [Slot(19)] + public static extern void BindRenderbuffer(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[19]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a renderbuffer to a renderbuffer target @@ -6884,18 +4369,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindRenderbuffer")] - public static + [Slot(19)] + public static extern void BindRenderbuffer(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (UInt32)renderbuffer, EntryPoints[19]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Bind a named sampler to a texturing target @@ -6911,18 +4389,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glBindSampler")] - public static + [Slot(20)] + public static extern void BindSampler(Int32 unit, Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)unit, (UInt32)sampler, EntryPoints[20]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Bind a named sampler to a texturing target @@ -6939,18 +4410,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glBindSampler")] - public static + [Slot(20)] + public static extern void BindSampler(UInt32 unit, UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)unit, (UInt32)sampler, EntryPoints[20]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -6971,24 +4435,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static + [Slot(21)] + public static extern void BindSamplers(Int32 first, Int32 count, Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)samplers_ptr, EntryPoints[21]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -7009,24 +4460,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static + [Slot(21)] + public static extern void BindSamplers(Int32 first, Int32 count, ref Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)samplers_ptr, EntryPoints[21]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -7048,18 +4486,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static + [Slot(21)] + public static extern unsafe void BindSamplers(Int32 first, Int32 count, Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)samplers, EntryPoints[21]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -7081,24 +4512,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static + [Slot(21)] + public static extern void BindSamplers(UInt32 first, Int32 count, UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)samplers_ptr, EntryPoints[21]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -7120,24 +4538,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static + [Slot(21)] + public static extern void BindSamplers(UInt32 first, Int32 count, ref UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)samplers_ptr, EntryPoints[21]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -7159,18 +4564,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static + [Slot(21)] + public static extern unsafe void BindSamplers(UInt32 first, Int32 count, UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)samplers, EntryPoints[21]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Bind a named texture to a texturing target @@ -7186,18 +4584,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glBindTexture")] - public static + [Slot(22)] + public static extern void BindTexture(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (UInt32)texture, EntryPoints[22]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Bind a named texture to a texturing target @@ -7214,18 +4605,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glBindTexture")] - public static + [Slot(22)] + public static extern void BindTexture(OpenTK.Graphics.OpenGL4.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (UInt32)texture, EntryPoints[22]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -7246,24 +4630,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static + [Slot(23)] + public static extern void BindTextures(Int32 first, Int32 count, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[23]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -7284,24 +4655,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static + [Slot(23)] + public static extern void BindTextures(Int32 first, Int32 count, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[23]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -7323,18 +4681,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static + [Slot(23)] + public static extern unsafe void BindTextures(Int32 first, Int32 count, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures, EntryPoints[23]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -7356,24 +4707,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static + [Slot(23)] + public static extern void BindTextures(UInt32 first, Int32 count, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[23]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -7395,24 +4733,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static + [Slot(23)] + public static extern void BindTextures(UInt32 first, Int32 count, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures_ptr, EntryPoints[23]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -7434,18 +4759,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static + [Slot(23)] + public static extern unsafe void BindTextures(UInt32 first, Int32 count, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)textures, EntryPoints[23]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Bind a transform feedback object @@ -7461,18 +4779,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glBindTransformFeedback")] - public static + [Slot(24)] + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TransformFeedbackTarget)target, (UInt32)id, EntryPoints[24]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Bind a transform feedback object @@ -7489,18 +4800,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glBindTransformFeedback")] - public static + [Slot(24)] + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TransformFeedbackTarget)target, (UInt32)id, EntryPoints[24]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Bind a vertex array object @@ -7511,18 +4815,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static + [Slot(25)] + public static extern void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[25]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Bind a vertex array object @@ -7534,18 +4831,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static + [Slot(25)] + public static extern void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)array, EntryPoints[25]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Bind a buffer to a vertex buffer bind point @@ -7571,18 +4861,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glBindVertexBuffer")] - public static + [Slot(26)] + public static extern void BindVertexBuffer(Int32 bindingindex, Int32 buffer, IntPtr offset, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride, EntryPoints[26]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Bind a buffer to a vertex buffer bind point @@ -7609,18 +4892,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glBindVertexBuffer")] - public static + [Slot(26)] + public static extern void BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride, EntryPoints[26]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -7651,26 +4927,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static + [Slot(27)] + public static extern 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) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)strides_ptr, EntryPoints[27]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -7701,26 +4962,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static + [Slot(27)] + public static extern 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) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)strides_ptr, EntryPoints[27]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -7752,18 +4998,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static + [Slot(27)] + public static extern unsafe void BindVertexBuffers(Int32 first, Int32 count, Int32* buffers, IntPtr* offsets, Int32* strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)buffers, (IntPtr)offsets, (IntPtr)strides, EntryPoints[27]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -7795,26 +5034,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static + [Slot(27)] + public static extern 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) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)strides_ptr, EntryPoints[27]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -7846,26 +5070,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static + [Slot(27)] + public static extern 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) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)buffers_ptr, (IntPtr)offsets_ptr, (IntPtr)strides_ptr, EntryPoints[27]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -7897,18 +5106,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static + [Slot(27)] + public static extern unsafe void BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)buffers, (IntPtr)offsets, (IntPtr)strides, EntryPoints[27]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4 and ARB_imaging|VERSION_1_4] /// Set the blend color @@ -7919,18 +5121,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging|VERSION_1_4", Version = "1.4", EntryPoint = "glBlendColor")] - public static + [Slot(28)] + public static extern void BlendColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, (Single)alpha, EntryPoints[28]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4 and ARB_imaging|VERSION_1_4] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -7946,18 +5141,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging|VERSION_1_4", Version = "1.4", EntryPoint = "glBlendEquation")] - public static + [Slot(29)] + public static extern void BlendEquation(OpenTK.Graphics.OpenGL4.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BlendEquationMode)mode, EntryPoints[29]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -7973,18 +5161,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationi")] - public static + [Slot(30)] + public static extern void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)mode, EntryPoints[30]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -8001,18 +5182,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationi")] - public static + [Slot(30)] + public static extern void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)mode, EntryPoints[30]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Set the RGB blend equation and the alpha blend equation separately @@ -8033,18 +5207,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] - public static + [Slot(32)] + public static extern void BlendEquationSeparate(OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeAlpha, EntryPoints[32]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Set the RGB blend equation and the alpha blend equation separately @@ -8065,18 +5232,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationSeparatei")] - public static + [Slot(33)] + public static extern void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeAlpha, EntryPoints[33]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Set the RGB blend equation and the alpha blend equation separately @@ -8098,18 +5258,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationSeparatei")] - public static + [Slot(33)] + public static extern void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeAlpha, EntryPoints[33]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify pixel arithmetic @@ -8130,18 +5283,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBlendFunc")] - public static + [Slot(35)] + public static extern void BlendFunc(OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BlendingFactorSrc)sfactor, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dfactor, EntryPoints[35]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify pixel arithmetic @@ -8162,18 +5308,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFunci")] - public static + [Slot(36)] + public static extern void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc src, OpenTK.Graphics.OpenGL4.BlendingFactorDest dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dst, EntryPoints[36]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify pixel arithmetic @@ -8195,18 +5334,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFunci")] - public static + [Slot(36)] + public static extern void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc src, OpenTK.Graphics.OpenGL4.BlendingFactorDest dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dst, EntryPoints[36]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify pixel arithmetic for RGB and alpha components separately @@ -8237,18 +5369,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glBlendFuncSeparate")] - public static + [Slot(38)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dfactorAlpha, EntryPoints[38]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -8279,18 +5404,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFuncSeparatei")] - public static + [Slot(39)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dstAlpha, EntryPoints[39]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -8322,18 +5440,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFuncSeparatei")] - public static + [Slot(39)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dstAlpha, EntryPoints[39]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -8359,18 +5470,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBlitFramebuffer")] - public static + [Slot(41)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[41]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -8396,18 +5500,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static + [Slot(42)] + public static extern void BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL4.BufferUsageHint)usage, EntryPoints[42]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -8433,27 +5530,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static + [Slot(42)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferUsageHint)usage, EntryPoints[42]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -8479,27 +5561,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static + [Slot(42)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferUsageHint)usage, EntryPoints[42]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -8525,27 +5592,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static + [Slot(42)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferUsageHint)usage, EntryPoints[42]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -8571,28 +5623,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static + [Slot(42)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferUsageHint)usage, EntryPoints[42]); - 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 @@ -8618,18 +5654,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static + [Slot(43)] + public static extern void BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL4.BufferStorageFlags)flags, EntryPoints[43]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_buffer_storage|VERSION_4_4] /// Creates and initializes a buffer object's immutable data store @@ -8655,27 +5684,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static + [Slot(43)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferStorageFlags)flags, EntryPoints[43]); - } - 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 @@ -8701,27 +5715,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static + [Slot(43)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferStorageFlags)flags, EntryPoints[43]); - } - 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 @@ -8747,27 +5746,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static + [Slot(43)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferStorageFlags)flags, EntryPoints[43]); - } - 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 @@ -8793,28 +5777,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static + [Slot(43)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferStorageFlags)flags, EntryPoints[43]); - 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 @@ -8840,18 +5808,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static + [Slot(44)] + public static extern void BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[44]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -8877,27 +5838,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static + [Slot(44)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[44]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -8923,27 +5869,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static + [Slot(44)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[44]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -8969,27 +5900,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static + [Slot(44)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[44]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -9015,28 +5931,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static + [Slot(44)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[44]); - 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 @@ -9047,18 +5947,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glCheckFramebufferStatus")] - public static + [Slot(45)] + public static extern OpenTK.Graphics.OpenGL4.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL4.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, EntryPoints[45]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify whether data read via glReadPixels should be clamped @@ -9074,18 +5967,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClampColor")] - public static + [Slot(46)] + public static extern void ClampColor(OpenTK.Graphics.OpenGL4.ClampColorTarget target, OpenTK.Graphics.OpenGL4.ClampColorMode clamp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ClampColorTarget)target, (OpenTK.Graphics.OpenGL4.ClampColorMode)clamp, EntryPoints[46]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Clear buffers to preset values @@ -9096,18 +5982,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClear")] - public static + [Slot(47)] + public static extern void Clear(OpenTK.Graphics.OpenGL4.ClearBufferMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ClearBufferMask)mask, EntryPoints[47]); - #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 @@ -9143,18 +6022,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static + [Slot(48)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data, EntryPoints[48]); - #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 @@ -9190,27 +6062,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[48]); - } - 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 @@ -9246,27 +6103,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[48]); - } - 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 @@ -9302,27 +6144,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[48]); - } - 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 @@ -9358,28 +6185,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static + [Slot(48)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[48]); - data = (T4)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -9410,18 +6221,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfi")] - public static + [Slot(49)] + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil, EntryPoints[49]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -9452,24 +6256,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static + [Slot(50)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[50]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -9500,24 +6291,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static + [Slot(50)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[50]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -9549,18 +6327,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static + [Slot(50)] + public static extern unsafe void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value, EntryPoints[50]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -9591,24 +6362,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static + [Slot(51)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[51]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -9639,24 +6397,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static + [Slot(51)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[51]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -9688,18 +6433,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static + [Slot(51)] + public static extern unsafe void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value, EntryPoints[51]); - #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 @@ -9740,18 +6478,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static + [Slot(52)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[52]); - #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 @@ -9792,27 +6523,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static + [Slot(52)] + 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 - { - InteropHelper.Call((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(), EntryPoints[52]); - } - 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 @@ -9853,27 +6569,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static + [Slot(52)] + 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 - { - InteropHelper.Call((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(), EntryPoints[52]); - } - 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 @@ -9914,27 +6615,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static + [Slot(52)] + 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 - { - InteropHelper.Call((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(), EntryPoints[52]); - } - 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 @@ -9975,28 +6661,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static + [Slot(52)] + 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 - { - InteropHelper.Call((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(), EntryPoints[52]); - data = (T6)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -10028,24 +6698,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static + [Slot(53)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[53]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -10077,24 +6734,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static + [Slot(53)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value_ptr, EntryPoints[53]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -10126,18 +6770,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static + [Slot(53)] + public static extern unsafe void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (IntPtr)value, EntryPoints[53]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify clear values for the color buffers @@ -10148,18 +6785,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearColor")] - public static + [Slot(54)] + public static extern void ClearColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)red, (Single)green, (Single)blue, (Single)alpha, EntryPoints[54]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the clear value for the depth buffer @@ -10170,18 +6800,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearDepth")] - public static + [Slot(55)] + public static extern void ClearDepth(Double depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)depth, EntryPoints[55]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Specify the clear value for the depth buffer @@ -10192,18 +6815,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glClearDepthf")] - public static + [Slot(56)] + public static extern void ClearDepth(Single d) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)d, EntryPoints[56]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the clear value for the stencil buffer @@ -10214,18 +6830,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearStencil")] - public static + [Slot(57)] + public static extern void ClearStencil(Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)s, EntryPoints[57]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -10256,18 +6865,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(58)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data, EntryPoints[58]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -10298,27 +6900,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(58)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[58]); - } - 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 @@ -10349,27 +6936,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(58)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[58]); - } - 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 @@ -10400,27 +6972,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(58)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[58]); - } - 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 @@ -10451,28 +7008,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(58)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[58]); - 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 @@ -10504,18 +7045,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(58)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data, EntryPoints[58]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -10547,27 +7081,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(58)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[58]); - } - 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 @@ -10599,27 +7118,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(58)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[58]); - } - 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 @@ -10651,27 +7155,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(58)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[58]); - } - 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 @@ -10703,28 +7192,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static + [Slot(58)] + 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 - { - InteropHelper.Call((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[58]); - 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 @@ -10785,18 +7258,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(59)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[59]); - #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 @@ -10857,27 +7323,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(59)] + 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 - { - InteropHelper.Call((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(), EntryPoints[59]); - } - 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 @@ -10938,27 +7389,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(59)] + 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 - { - InteropHelper.Call((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(), EntryPoints[59]); - } - 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 @@ -11019,27 +7455,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(59)] + 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 - { - InteropHelper.Call((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(), EntryPoints[59]); - } - 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 @@ -11100,28 +7521,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(59)] + 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 - { - InteropHelper.Call((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(), EntryPoints[59]); - 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 @@ -11183,18 +7588,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(59)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[59]); - #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 @@ -11256,27 +7654,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(59)] + 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 - { - InteropHelper.Call((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(), EntryPoints[59]); - } - 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 @@ -11338,27 +7721,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(59)] + 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 - { - InteropHelper.Call((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(), EntryPoints[59]); - } - 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 @@ -11420,27 +7788,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(59)] + 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 - { - InteropHelper.Call((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(), EntryPoints[59]); - } - 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 @@ -11502,28 +7855,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static + [Slot(59)] + 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 - { - InteropHelper.Call((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(), EntryPoints[59]); - 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 @@ -11544,18 +7881,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glClientWaitSync")] - public static + [Slot(60)] + public static extern OpenTK.Graphics.OpenGL4.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[60]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Block and wait for a sync object to become signaled @@ -11577,18 +7907,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glClientWaitSync")] - public static + [Slot(60)] + public static extern OpenTK.Graphics.OpenGL4.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags)flags, (UInt64)timeout, EntryPoints[60]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Enable and disable writing of frame buffer color components @@ -11604,18 +7927,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColorMask")] - public static + [Slot(61)] + public static extern void ColorMask(bool red, bool green, bool blue, bool alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)red, (bool)green, (bool)blue, (bool)alpha, EntryPoints[61]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Enable and disable writing of frame buffer color components @@ -11631,18 +7947,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glColorMaski")] - public static + [Slot(62)] + public static extern void ColorMask(Int32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a, EntryPoints[62]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Enable and disable writing of frame buffer color components @@ -11659,144 +7968,81 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glColorMaski")] - public static + [Slot(62)] + public static extern void ColorMask(UInt32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a, EntryPoints[62]); - #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 = "glColorP3ui")] - public static + [Slot(63)] + public static extern void ColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color, EntryPoints[63]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(63)] + public static extern void ColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color, EntryPoints[63]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(64)] + public static extern unsafe void ColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)color, EntryPoints[64]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(64)] + public static extern unsafe void ColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)color, EntryPoints[64]); - #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 = "glColorP4ui")] - public static + [Slot(65)] + public static extern void ColorP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color, EntryPoints[65]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(65)] + public static extern void ColorP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color, EntryPoints[65]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(66)] + public static extern unsafe void ColorP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)color, EntryPoints[66]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(66)] + public static extern unsafe void ColorP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)color, EntryPoints[66]); - #if DEBUG - } - #endif - } + ; + /// /// Respecify a portion of a color table @@ -11832,18 +8078,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static + [Slot(67)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data, EntryPoints[67]); - #if DEBUG - } - #endif - } + ; + /// /// Respecify a portion of a color table @@ -11879,27 +8118,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static + [Slot(67)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[67]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Respecify a portion of a color table @@ -11935,27 +8159,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static + [Slot(67)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[67]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Respecify a portion of a color table @@ -11991,27 +8200,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static + [Slot(67)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[67]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Respecify a portion of a color table @@ -12047,28 +8241,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static + [Slot(67)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[67]); - data = (T5)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a color lookup table @@ -12104,18 +8282,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static + [Slot(68)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table, EntryPoints[68]); - #if DEBUG - } - #endif - } + ; + /// /// Define a color lookup table @@ -12151,27 +8322,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static + [Slot(68)] + 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 - { - InteropHelper.Call((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(), EntryPoints[68]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a color lookup table @@ -12207,27 +8363,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static + [Slot(68)] + 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 - { - InteropHelper.Call((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(), EntryPoints[68]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a color lookup table @@ -12263,27 +8404,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static + [Slot(68)] + 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 - { - InteropHelper.Call((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(), EntryPoints[68]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a color lookup table @@ -12319,28 +8445,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static + [Slot(68)] + 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 - { - InteropHelper.Call((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(), EntryPoints[68]); - table = (T5)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Set color lookup table parameters @@ -12361,24 +8471,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameterfv")] - public static + [Slot(69)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[69]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Set color lookup table parameters @@ -12399,24 +8496,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameterfv")] - public static + [Slot(69)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[69]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Set color lookup table parameters @@ -12438,18 +8522,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameterfv")] - public static + [Slot(69)] + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (IntPtr)@params, EntryPoints[69]); - #if DEBUG - } - #endif - } + ; + /// /// Set color lookup table parameters @@ -12470,24 +8547,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameteriv")] - public static + [Slot(70)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[70]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Set color lookup table parameters @@ -12508,24 +8572,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameteriv")] - public static + [Slot(70)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[70]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Set color lookup table parameters @@ -12547,18 +8598,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameteriv")] - public static + [Slot(70)] + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (IntPtr)@params, EntryPoints[70]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Compiles a shader object @@ -12569,18 +8613,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static + [Slot(71)] + public static extern void CompileShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[71]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Compiles a shader object @@ -12592,18 +8629,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static + [Slot(71)] + public static extern void CompileShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[71]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -12644,18 +8674,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static + [Slot(73)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[73]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -12696,27 +8719,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static + [Slot(73)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[73]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -12757,27 +8765,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static + [Slot(73)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[73]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -12818,27 +8811,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static + [Slot(73)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[73]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -12879,28 +8857,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static + [Slot(73)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[73]); - 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 @@ -12946,18 +8908,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(74)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[74]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -13003,27 +8958,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[74]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -13069,27 +9009,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[74]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -13135,27 +9060,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[74]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -13201,28 +9111,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static + [Slot(74)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[74]); - 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 @@ -13273,18 +9167,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(75)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data, EntryPoints[75]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -13335,27 +9222,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(75)] + 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 - { - InteropHelper.Call((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(), EntryPoints[75]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -13406,27 +9278,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(75)] + 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 - { - InteropHelper.Call((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(), EntryPoints[75]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -13477,27 +9334,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(75)] + 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 - { - InteropHelper.Call((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(), EntryPoints[75]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -13548,28 +9390,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static + [Slot(75)] + 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 - { - InteropHelper.Call((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(), EntryPoints[75]); - 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 @@ -13610,18 +9436,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static + [Slot(76)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data, EntryPoints[76]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -13662,27 +9481,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static + [Slot(76)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[76]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -13723,27 +9527,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static + [Slot(76)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[76]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -13784,27 +9573,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static + [Slot(76)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[76]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -13845,28 +9619,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static + [Slot(76)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[76]); - 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 @@ -13917,18 +9675,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(77)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data, EntryPoints[77]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -13979,27 +9730,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(77)] + 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 - { - InteropHelper.Call((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(), EntryPoints[77]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -14050,27 +9786,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(77)] + 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 - { - InteropHelper.Call((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(), EntryPoints[77]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -14121,27 +9842,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(77)] + 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 - { - InteropHelper.Call((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(), EntryPoints[77]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -14192,28 +9898,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static + [Slot(77)] + 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 - { - InteropHelper.Call((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(), EntryPoints[77]); - 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 @@ -14269,18 +9959,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(78)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[78]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -14336,27 +10019,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(78)] + 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 - { - InteropHelper.Call((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(), EntryPoints[78]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -14412,27 +10080,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(78)] + 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 - { - InteropHelper.Call((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(), EntryPoints[78]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -14488,27 +10141,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(78)] + 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 - { - InteropHelper.Call((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(), EntryPoints[78]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -14564,28 +10202,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static + [Slot(78)] + 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 - { - InteropHelper.Call((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(), EntryPoints[78]); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a one-dimensional convolution filter @@ -14621,18 +10243,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static + [Slot(79)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image, EntryPoints[79]); - #if DEBUG - } - #endif - } + ; + /// /// Define a one-dimensional convolution filter @@ -14668,27 +10283,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static + [Slot(79)] + 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 - { - InteropHelper.Call((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(), EntryPoints[79]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a one-dimensional convolution filter @@ -14724,27 +10324,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static + [Slot(79)] + 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 - { - InteropHelper.Call((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(), EntryPoints[79]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a one-dimensional convolution filter @@ -14780,27 +10365,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static + [Slot(79)] + 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 - { - InteropHelper.Call((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(), EntryPoints[79]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a one-dimensional convolution filter @@ -14836,28 +10406,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static + [Slot(79)] + 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 - { - InteropHelper.Call((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(), EntryPoints[79]); - image = (T5)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a two-dimensional convolution filter @@ -14898,18 +10452,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static + [Slot(80)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[80]); - #if DEBUG - } - #endif - } + ; + /// /// Define a two-dimensional convolution filter @@ -14950,27 +10497,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static + [Slot(80)] + 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 - { - InteropHelper.Call((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(), EntryPoints[80]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a two-dimensional convolution filter @@ -15011,27 +10543,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static + [Slot(80)] + 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 - { - InteropHelper.Call((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(), EntryPoints[80]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a two-dimensional convolution filter @@ -15072,27 +10589,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static + [Slot(80)] + 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 - { - InteropHelper.Call((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(), EntryPoints[80]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a two-dimensional convolution filter @@ -15133,28 +10635,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static + [Slot(80)] + 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 - { - InteropHelper.Call((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(), EntryPoints[80]); - image = (T6)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Set convolution parameters @@ -15178,18 +10664,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameterf")] - public static + [Slot(81)] + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Single)@params, EntryPoints[81]); - #if DEBUG - } - #endif - } + ; + /// /// Set convolution parameters @@ -15213,24 +10692,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameterfv")] - public static + [Slot(82)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (IntPtr)@params_ptr, EntryPoints[82]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Set convolution parameters @@ -15255,18 +10721,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameterfv")] - public static + [Slot(82)] + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (IntPtr)@params, EntryPoints[82]); - #if DEBUG - } - #endif - } + ; + /// /// Set convolution parameters @@ -15290,18 +10749,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameteri")] - public static + [Slot(83)] + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Int32)@params, EntryPoints[83]); - #if DEBUG - } - #endif - } + ; + /// /// Set convolution parameters @@ -15325,24 +10777,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameteriv")] - public static + [Slot(84)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (IntPtr)@params_ptr, EntryPoints[84]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Set convolution parameters @@ -15367,18 +10806,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameteriv")] - public static + [Slot(84)] + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (IntPtr)@params, EntryPoints[84]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -15409,18 +10841,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_copy_buffer|VERSION_3_1", Version = "3.1", EntryPoint = "glCopyBufferSubData")] - public static + [Slot(85)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)readTarget, (OpenTK.Graphics.OpenGL4.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size, EntryPoints[85]); - #if DEBUG - } - #endif - } + ; + /// /// Respecify a portion of a color table @@ -15446,18 +10871,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyColorSubTable")] - public static + [Slot(86)] + public static extern void CopyColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width, EntryPoints[86]); - #if DEBUG - } - #endif - } + ; + /// /// Copy pixels into a color table @@ -15488,18 +10906,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyColorTable")] - public static + [Slot(87)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, EntryPoints[87]); - #if DEBUG - } - #endif - } + ; + /// /// Copy pixels into a one-dimensional convolution filter @@ -15525,18 +10936,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyConvolutionFilter1D")] - public static + [Slot(88)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, EntryPoints[88]); - #if DEBUG - } - #endif - } + ; + /// /// Copy pixels into a two-dimensional convolution filter @@ -15567,18 +10971,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyConvolutionFilter2D")] - public static + [Slot(89)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[89]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_copy_image|VERSION_4_3] /// Perform a raw data copy between two images @@ -15654,18 +11051,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_copy_image|VERSION_4_3", Version = "4.3", EntryPoint = "glCopyImageSubData")] - public static + [Slot(90)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[90]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_copy_image|VERSION_4_3] /// Perform a raw data copy between two images @@ -15742,18 +11132,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_copy_image|VERSION_4_3", Version = "4.3", EntryPoint = "glCopyImageSubData")] - public static + [Slot(90)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[90]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Copy pixels into a 1D texture image @@ -15789,18 +11172,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexImage1D")] - public static + [Slot(91)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border, EntryPoints[91]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Copy pixels into a 2D texture image @@ -15841,18 +11217,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexImage2D")] - public static + [Slot(92)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border, EntryPoints[92]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Copy a one-dimensional texture subimage @@ -15883,18 +11252,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexSubImage1D")] - public static + [Slot(93)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width, EntryPoints[93]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Copy a two-dimensional texture subimage @@ -15935,18 +11297,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexSubImage2D")] - public static + [Slot(94)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[94]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Copy a three-dimensional texture subimage @@ -15992,35 +11347,21 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glCopyTexSubImage3D")] - public static + [Slot(95)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[95]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Creates a program object /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCreateProgram")] - public static + [Slot(96)] + public static extern Int32 CreateProgram() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn(EntryPoints[96]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Creates a shader object @@ -16031,18 +11372,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")] - public static + [Slot(97)] + public static extern Int32 CreateShader(OpenTK.Graphics.OpenGL4.ShaderType type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL4.ShaderType)type, EntryPoints[97]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -16063,18 +11397,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glCreateShaderProgramv")] - public static + [Slot(98)] + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL4.ShaderType type, Int32 count, String[] strings) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL4.ShaderType)type, (Int32)count, (String[])strings, EntryPoints[98]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify whether front- or back-facing facets can be culled @@ -16085,18 +11412,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCullFace")] - public static + [Slot(100)] + public static extern void CullFace(OpenTK.Graphics.OpenGL4.CullFaceMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.CullFaceMode)mode, EntryPoints[100]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -16112,18 +11432,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(101)] + public static extern void DebugMessageCallback(DebugProc callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam, EntryPoints[101]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -16139,27 +11452,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(101)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[101]); - } - 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 @@ -16175,27 +11473,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(101)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[101]); - } - 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 @@ -16211,27 +11494,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(101)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[101]); - } - 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 @@ -16247,28 +11515,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static + [Slot(101)] + 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 - { - InteropHelper.Call((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[101]); - 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 @@ -16304,24 +11556,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static + [Slot(104)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[104]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -16357,24 +11596,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static + [Slot(104)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[104]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -16411,18 +11637,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static + [Slot(104)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[104]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -16459,24 +11678,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static + [Slot(104)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[104]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -16513,24 +11719,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static + [Slot(104)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[104]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -16567,18 +11760,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static + [Slot(104)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[104]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Inject an application-supplied message into the debug message queue @@ -16614,18 +11800,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageInsert")] - public static + [Slot(107)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.DebugSourceExternal)source, (OpenTK.Graphics.OpenGL4.DebugType)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[107]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Inject an application-supplied message into the debug message queue @@ -16662,18 +11841,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageInsert")] - public static + [Slot(107)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.DebugSourceExternal)source, (OpenTK.Graphics.OpenGL4.DebugType)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.DebugSeverity)severity, (Int32)length, (String)buf, EntryPoints[107]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -16689,23 +11861,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(110)] + public static extern void DeleteBuffer(Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[110]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -16722,23 +11882,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(110)] + public static extern void DeleteBuffer(UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[110]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -16754,24 +11902,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(110)] + public static extern void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[110]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -16787,24 +11922,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(110)] + public static extern void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[110]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -16821,18 +11943,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(110)] + public static extern unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[110]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -16849,24 +11964,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(110)] + public static extern void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[110]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -16883,24 +11985,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(110)] + public static extern void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[110]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named buffer objects @@ -16917,18 +12006,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static + [Slot(110)] + public static extern unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[110]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -16944,23 +12026,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(111)] + public static extern void DeleteFramebuffer(Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[111]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -16977,23 +12047,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(111)] + public static extern void DeleteFramebuffer(UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[111]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -17009,24 +12067,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(111)] + public static extern void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[111]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -17042,24 +12087,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(111)] + public static extern void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[111]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -17076,18 +12108,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(111)] + public static extern unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[111]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -17104,24 +12129,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(111)] + public static extern void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[111]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -17138,24 +12150,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(111)] + public static extern void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[111]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -17172,18 +12171,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static + [Slot(111)] + public static extern unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[111]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Deletes a program object @@ -17194,18 +12186,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static + [Slot(113)] + public static extern void DeleteProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Deletes a program object @@ -17217,18 +12202,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static + [Slot(113)] + public static extern void DeleteProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[113]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -17244,23 +12222,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(114)] + public static extern void DeleteProgramPipeline(Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[114]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -17277,23 +12243,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(114)] + public static extern void DeleteProgramPipeline(UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[114]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -17309,24 +12263,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(114)] + public static extern void DeleteProgramPipelines(Int32 n, Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[114]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -17342,24 +12283,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(114)] + public static extern void DeleteProgramPipelines(Int32 n, ref Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[114]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -17376,18 +12304,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(114)] + public static extern unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[114]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -17404,24 +12325,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(114)] + public static extern void DeleteProgramPipelines(Int32 n, UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[114]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -17438,24 +12346,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(114)] + public static extern void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[114]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -17472,18 +12367,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static + [Slot(114)] + public static extern unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[114]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -17499,23 +12387,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(115)] + public static extern void DeleteQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[115]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -17532,23 +12408,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(115)] + public static extern void DeleteQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[115]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -17564,24 +12428,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(115)] + public static extern void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[115]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -17597,24 +12448,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(115)] + public static extern void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[115]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -17631,18 +12469,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(115)] + public static extern unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[115]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -17659,24 +12490,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(115)] + public static extern void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[115]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -17693,24 +12511,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(115)] + public static extern void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[115]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Delete named query objects @@ -17727,18 +12532,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static + [Slot(115)] + public static extern unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[115]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17754,23 +12552,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(116)] + public static extern void DeleteRenderbuffer(Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[116]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17787,23 +12573,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(116)] + public static extern void DeleteRenderbuffer(UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[116]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17819,24 +12593,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(116)] + public static extern void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[116]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17852,24 +12613,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(116)] + public static extern void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[116]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17886,18 +12634,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(116)] + public static extern unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[116]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17914,24 +12655,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(116)] + public static extern void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[116]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17948,24 +12676,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(116)] + public static extern void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[116]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17982,18 +12697,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static + [Slot(116)] + public static extern unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[116]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -18009,23 +12717,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(117)] + public static extern void DeleteSampler(Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - UInt32* samplers_ptr = (UInt32*)&samplers; - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[117]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -18042,23 +12738,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(117)] + public static extern void DeleteSampler(UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - UInt32* samplers_ptr = (UInt32*)&samplers; - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[117]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -18074,24 +12758,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(117)] + public static extern void DeleteSamplers(Int32 count, Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[117]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -18107,24 +12778,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(117)] + public static extern void DeleteSamplers(Int32 count, ref Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[117]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -18141,18 +12799,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(117)] + public static extern unsafe void DeleteSamplers(Int32 count, Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)samplers, EntryPoints[117]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -18169,24 +12820,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(117)] + public static extern void DeleteSamplers(Int32 count, UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[117]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -18203,24 +12841,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(117)] + public static extern void DeleteSamplers(Int32 count, ref UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[117]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -18237,18 +12862,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static + [Slot(117)] + public static extern unsafe void DeleteSamplers(Int32 count, UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)samplers, EntryPoints[117]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Deletes a shader object @@ -18259,18 +12877,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static + [Slot(118)] + public static extern void DeleteShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[118]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Deletes a shader object @@ -18282,18 +12893,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static + [Slot(118)] + public static extern void DeleteShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, EntryPoints[118]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Delete a sync object @@ -18304,18 +12908,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glDeleteSync")] - public static + [Slot(119)] + public static extern void DeleteSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)sync, EntryPoints[119]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -18331,23 +12928,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(120)] + public static extern void DeleteTexture(Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[120]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -18364,23 +12949,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(120)] + public static extern void DeleteTexture(UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[120]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -18396,24 +12969,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(120)] + public static extern void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[120]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -18429,24 +12989,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(120)] + public static extern void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[120]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -18463,18 +13010,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(120)] + public static extern unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[120]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -18491,24 +13031,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(120)] + public static extern void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[120]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -18525,24 +13052,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(120)] + public static extern void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[120]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Delete named textures @@ -18559,18 +13073,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static + [Slot(120)] + public static extern unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[120]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -18586,23 +13093,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(121)] + public static extern void DeleteTransformFeedback(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[121]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -18619,23 +13114,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(121)] + public static extern void DeleteTransformFeedback(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[121]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -18651,24 +13134,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(121)] + public static extern void DeleteTransformFeedbacks(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[121]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -18684,24 +13154,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(121)] + public static extern void DeleteTransformFeedbacks(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[121]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -18718,18 +13175,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(121)] + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[121]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -18746,24 +13196,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(121)] + public static extern void DeleteTransformFeedbacks(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[121]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -18780,24 +13217,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(121)] + public static extern void DeleteTransformFeedbacks(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[121]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -18814,18 +13238,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static + [Slot(121)] + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[121]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -18841,23 +13258,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(122)] + public static extern void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[122]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -18874,23 +13279,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(122)] + public static extern void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[122]); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -18906,24 +13299,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(122)] + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[122]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -18939,24 +13319,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(122)] + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[122]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -18973,18 +13340,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(122)] + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[122]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -19001,24 +13361,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(122)] + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[122]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -19035,24 +13382,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(122)] + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[122]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -19069,18 +13403,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static + [Slot(122)] + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[122]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the value used for depth buffer comparisons @@ -19091,18 +13418,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthFunc")] - public static + [Slot(123)] + public static extern void DepthFunc(OpenTK.Graphics.OpenGL4.DepthFunction func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.DepthFunction)func, EntryPoints[123]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Enable or disable writing into the depth buffer @@ -19113,18 +13433,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthMask")] - public static + [Slot(124)] + public static extern void DepthMask(bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((bool)flag, EntryPoints[124]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -19140,18 +13453,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthRange")] - public static + [Slot(125)] + public static extern void DepthRange(Double near, Double far) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Double)near, (Double)far, EntryPoints[125]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -19172,24 +13478,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static + [Slot(126)] + public static extern void DepthRangeArray(Int32 first, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[126]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -19210,24 +13503,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static + [Slot(126)] + public static extern void DepthRangeArray(Int32 first, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[126]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -19249,18 +13529,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static + [Slot(126)] + public static extern unsafe void DepthRangeArray(Int32 first, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v, EntryPoints[126]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -19282,24 +13555,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static + [Slot(126)] + public static extern void DepthRangeArray(UInt32 first, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[126]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -19321,24 +13581,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static + [Slot(126)] + public static extern void DepthRangeArray(UInt32 first, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[126]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -19360,18 +13607,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static + [Slot(126)] + public static extern unsafe void DepthRangeArray(UInt32 first, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v, EntryPoints[126]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -19387,18 +13627,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangef")] - public static + [Slot(127)] + public static extern void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)n, (Single)f, EntryPoints[127]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -19419,18 +13652,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeIndexed")] - public static + [Slot(128)] + public static extern void DepthRangeIndexed(Int32 index, Double n, Double f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)n, (Double)f, EntryPoints[128]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -19452,18 +13678,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeIndexed")] - public static + [Slot(128)] + public static extern void DepthRangeIndexed(UInt32 index, Double n, Double f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)n, (Double)f, EntryPoints[128]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Detaches a shader object from a program object to which it is attached @@ -19479,18 +13698,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static + [Slot(129)] + public static extern void DetachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[129]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Detaches a shader object from a program object to which it is attached @@ -19507,95 +13719,53 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static + [Slot(129)] + public static extern void DetachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)shader, EntryPoints[129]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDisable")] - public static + [Slot(130)] + public static extern void Disable(OpenTK.Graphics.OpenGL4.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.EnableCap)cap, EntryPoints[130]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glDisablei")] - public static + [Slot(131)] + public static extern void Disable(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index, EntryPoints[131]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glDisablei")] - public static + [Slot(131)] + public static extern void Disable(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index, EntryPoints[131]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static + [Slot(132)] + public static extern void DisableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[132]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static + [Slot(132)] + public static extern void DisableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[132]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_compute_shader|VERSION_4_3] /// Launch one or more compute work groups @@ -19616,18 +13786,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_compute_shader|VERSION_4_3", Version = "4.3", EntryPoint = "glDispatchCompute")] - public static + [Slot(133)] + public static extern void DispatchCompute(Int32 num_groups_x, Int32 num_groups_y, Int32 num_groups_z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, EntryPoints[133]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_compute_shader|VERSION_4_3] /// Launch one or more compute work groups @@ -19649,18 +13812,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_compute_shader|VERSION_4_3", Version = "4.3", EntryPoint = "glDispatchCompute")] - public static + [Slot(133)] + public static extern void DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, EntryPoints[133]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_compute_shader|VERSION_4_3] /// Launch one or more compute work groups using parameters stored in a buffer @@ -19671,18 +13827,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_compute_shader|VERSION_4_3", Version = "4.3", EntryPoint = "glDispatchComputeIndirect")] - public static + [Slot(135)] + public static extern void DispatchComputeIndirect(IntPtr indirect) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)indirect, EntryPoints[135]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -19703,18 +13852,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawArrays")] - public static + [Slot(136)] + public static extern void DrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count, EntryPoints[136]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -19730,18 +13872,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static + [Slot(137)] + public static extern void DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect, EntryPoints[137]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -19757,27 +13892,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static + [Slot(137)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[137]); - } - 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 @@ -19793,27 +13913,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static + [Slot(137)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[137]); - } - 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 @@ -19829,27 +13934,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static + [Slot(137)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[137]); - } - 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 @@ -19865,28 +13955,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static + [Slot(137)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[137]); - indirect = (T1)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a range of elements @@ -19912,18 +13986,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawArraysInstanced")] - public static + [Slot(138)] + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, EntryPoints[138]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a range of elements with offset applied to instanced attributes @@ -19954,18 +14021,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawArraysInstancedBaseInstance")] - public static + [Slot(139)] + public static extern void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, Int32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance, EntryPoints[139]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a range of elements with offset applied to instanced attributes @@ -19997,18 +14057,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawArraysInstancedBaseInstance")] - public static + [Slot(139)] + public static extern void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance, EntryPoints[139]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify which color buffers are to be drawn into @@ -20019,18 +14072,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawBuffer")] - public static + [Slot(140)] + public static extern void DrawBuffer(OpenTK.Graphics.OpenGL4.DrawBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.DrawBufferMode)mode, EntryPoints[140]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies a list of color buffers to be drawn into @@ -20046,24 +14092,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static + [Slot(141)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[141]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies a list of color buffers to be drawn into @@ -20079,24 +14112,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static + [Slot(141)] + public static extern 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) - { - InteropHelper.Call((Int32)n, (IntPtr)bufs_ptr, EntryPoints[141]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies a list of color buffers to be drawn into @@ -20113,18 +14133,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static + [Slot(141)] + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL4.DrawBuffersEnum* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)bufs, EntryPoints[141]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -20150,18 +14163,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(142)] + public static extern void DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, EntryPoints[142]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -20187,27 +14193,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(142)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[142]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -20233,27 +14224,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(142)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[142]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -20279,27 +14255,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(142)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[142]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Render primitives from array data @@ -20325,28 +14286,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static + [Slot(142)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[142]); - 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 @@ -20377,18 +14322,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static + [Slot(143)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex, EntryPoints[143]); - #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 @@ -20419,27 +14357,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static + [Slot(143)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[143]); - } - 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 @@ -20470,27 +14393,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static + [Slot(143)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[143]); - } - 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 @@ -20521,27 +14429,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static + [Slot(143)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[143]); - } - 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 @@ -20572,28 +14465,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static + [Slot(143)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[143]); - 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 @@ -20614,18 +14491,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static + [Slot(144)] + public static extern void DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect, EntryPoints[144]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render indexed primitives from array data, taking parameters from memory @@ -20646,27 +14516,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static + [Slot(144)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[144]); - } - 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 @@ -20687,27 +14542,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static + [Slot(144)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[144]); - } - 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 @@ -20728,27 +14568,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static + [Slot(144)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[144]); - } - 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 @@ -20769,28 +14594,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static + [Slot(144)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), EntryPoints[144]); - indirect = (T2)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -20821,18 +14630,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(145)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, EntryPoints[145]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -20863,27 +14665,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(145)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[145]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -20914,27 +14701,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(145)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[145]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -20965,27 +14737,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(145)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[145]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -21016,28 +14773,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static + [Slot(145)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, EntryPoints[145]); - 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 @@ -21073,18 +14814,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(146)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance, EntryPoints[146]); - #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 @@ -21121,18 +14855,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(146)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance, EntryPoints[146]); - #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 @@ -21168,27 +14895,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(146)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[146]); - } - 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 @@ -21225,27 +14937,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(146)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[146]); - } - 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 @@ -21281,27 +14978,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(146)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[146]); - } - 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 @@ -21338,27 +15020,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(146)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[146]); - } - 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 @@ -21394,27 +15061,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(146)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[146]); - } - 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 @@ -21451,27 +15103,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(146)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[146]); - } - 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 @@ -21507,28 +15144,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(146)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[146]); - 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 @@ -21565,28 +15186,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static + [Slot(146)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance, EntryPoints[146]); - 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 @@ -21622,18 +15227,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static + [Slot(147)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, EntryPoints[147]); - #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 @@ -21669,27 +15267,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static + [Slot(147)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, EntryPoints[147]); - } - 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 @@ -21725,27 +15308,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static + [Slot(147)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, EntryPoints[147]); - } - 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 @@ -21781,27 +15349,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static + [Slot(147)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, EntryPoints[147]); - } - 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 @@ -21837,28 +15390,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static + [Slot(147)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, EntryPoints[147]); - 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 @@ -21899,18 +15436,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(148)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[148]); - #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 @@ -21952,18 +15482,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(148)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[148]); - #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 @@ -22004,27 +15527,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(148)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[148]); - } - 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 @@ -22066,27 +15574,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(148)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[148]); - } - 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 @@ -22127,27 +15620,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(148)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[148]); - } - 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 @@ -22189,27 +15667,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(148)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[148]); - } - 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 @@ -22250,27 +15713,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(148)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[148]); - } - 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 @@ -22312,27 +15760,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(148)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[148]); - } - 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 @@ -22373,28 +15806,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(148)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[148]); - 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 @@ -22436,28 +15853,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static + [Slot(148)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance, EntryPoints[148]); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -22493,18 +15894,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(149)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, EntryPoints[149]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -22540,27 +15934,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(149)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[149]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -22596,27 +15975,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(149)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[149]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -22652,27 +16016,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(149)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[149]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -22708,28 +16057,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(149)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[149]); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -22766,18 +16099,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(149)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, EntryPoints[149]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -22814,27 +16140,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(149)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[149]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -22871,27 +16182,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(149)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[149]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -22928,27 +16224,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(149)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[149]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Render primitives from array data @@ -22985,28 +16266,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static + [Slot(149)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), EntryPoints[149]); - 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 @@ -23047,18 +16312,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(150)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex, EntryPoints[150]); - #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 @@ -23099,27 +16357,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(150)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[150]); - } - 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 @@ -23160,27 +16403,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(150)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[150]); - } - 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 @@ -23221,27 +16449,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(150)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[150]); - } - 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 @@ -23282,28 +16495,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(150)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[150]); - 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 @@ -23345,18 +16542,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(150)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex, EntryPoints[150]); - #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 @@ -23398,27 +16588,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(150)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[150]); - } - 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 @@ -23460,27 +16635,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(150)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[150]); - } - 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 @@ -23522,27 +16682,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(150)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[150]); - } - 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 @@ -23584,28 +16729,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static + [Slot(150)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex, EntryPoints[150]); - 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 @@ -23621,18 +16750,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedback")] - public static + [Slot(151)] + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, EntryPoints[151]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Render primitives using a count derived from a transform feedback object @@ -23649,18 +16771,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedback")] - public static + [Slot(151)] + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, EntryPoints[151]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -23681,18 +16796,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackInstanced")] - public static + [Slot(152)] + public static extern void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 id, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (Int32)instancecount, EntryPoints[152]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -23714,18 +16822,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackInstanced")] - public static + [Slot(152)] + public static extern void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (Int32)instancecount, EntryPoints[152]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -23746,18 +16847,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedbackStream")] - public static + [Slot(153)] + public static extern void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 id, Int32 stream) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (UInt32)stream, EntryPoints[153]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -23779,18 +16873,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedbackStream")] - public static + [Slot(153)] + public static extern void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (UInt32)stream, EntryPoints[153]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -23816,18 +16903,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackStreamInstanced")] - public static + [Slot(154)] + public static extern void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 id, Int32 stream, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (UInt32)stream, (Int32)instancecount, EntryPoints[154]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -23854,18 +16934,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackStreamInstanced")] - public static + [Slot(154)] + public static extern void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (UInt32)stream, (Int32)instancecount, EntryPoints[154]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Enable or disable server-side GL capabilities @@ -23881,18 +16954,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEnable")] - public static + [Slot(155)] + public static extern void Enable(OpenTK.Graphics.OpenGL4.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.EnableCap)cap, EntryPoints[155]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Enable or disable server-side GL capabilities @@ -23908,18 +16974,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEnablei")] - public static + [Slot(156)] + public static extern void Enable(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index, EntryPoints[156]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Enable or disable server-side GL capabilities @@ -23936,18 +16995,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEnablei")] - public static + [Slot(156)] + public static extern void Enable(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index, EntryPoints[156]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Enable or disable a generic vertex attribute array @@ -23958,18 +17010,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static + [Slot(157)] + public static extern void EnableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[157]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Enable or disable a generic vertex attribute array @@ -23981,94 +17026,52 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static + [Slot(157)] + public static extern void EnableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[157]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEndConditionalRender")] - public static + [Slot(158)] + public static extern void EndConditionalRender() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[158]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glEndQuery")] - public static + [Slot(159)] + public static extern void EndQuery(OpenTK.Graphics.OpenGL4.QueryTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, EntryPoints[159]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(160)] + public static extern void EndQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, EntryPoints[160]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(160)] + public static extern void EndQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, EntryPoints[160]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEndTransformFeedback")] - public static + [Slot(161)] + public static extern void EndTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[161]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Create a new sync object and insert it into the GL command stream @@ -24084,52 +17087,31 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glFenceSync")] - public static + [Slot(162)] + public static extern IntPtr FenceSync(OpenTK.Graphics.OpenGL4.SyncCondition condition, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL4.SyncCondition)condition, (OpenTK.Graphics.OpenGL4.WaitSyncFlags)flags, EntryPoints[162]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Block until all GL execution is complete /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFinish")] - public static + [Slot(163)] + public static extern void Finish() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[163]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Force execution of GL commands in finite time /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFlush")] - public static + [Slot(164)] + public static extern void Flush() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[164]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_map_buffer_range|VERSION_3_0] /// Indicate modifications to a range of a mapped buffer @@ -24150,18 +17132,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_map_buffer_range|VERSION_3_0", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")] - public static + [Slot(165)] + public static extern void FlushMappedBufferRange(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)length, EntryPoints[165]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Set a named parameter of a framebuffer @@ -24182,18 +17157,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glFramebufferParameteri")] - public static + [Slot(166)] + public static extern void FramebufferParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter)pname, (Int32)param, EntryPoints[166]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -24219,18 +17187,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] - public static + [Slot(167)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[167]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -24257,18 +17218,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] - public static + [Slot(167)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer, EntryPoints[167]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -24299,18 +17253,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glFramebufferTexture")] - public static + [Slot(168)] + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, EntryPoints[168]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -24342,111 +17289,62 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glFramebufferTexture")] - public static + [Slot(168)] + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, EntryPoints[168]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(169)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[169]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(169)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[169]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(170)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[170]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(170)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level, EntryPoints[170]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(171)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset, EntryPoints[171]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(171)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset, EntryPoints[171]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -24477,18 +17375,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static + [Slot(172)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[172]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -24520,18 +17411,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static + [Slot(172)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer, EntryPoints[172]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define front- and back-facing polygons @@ -24542,18 +17426,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFrontFace")] - public static + [Slot(173)] + public static extern void FrontFace(OpenTK.Graphics.OpenGL4.FrontFaceDirection mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FrontFaceDirection)mode, EntryPoints[173]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -24569,25 +17446,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(174)] + public static extern Int32 GenBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* buffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[174]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -24603,24 +17466,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(174)] + public static extern void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[174]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -24636,25 +17486,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(174)] + public static extern void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[174]); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -24671,18 +17507,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(174)] + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[174]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -24699,24 +17528,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(174)] + public static extern void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[174]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -24733,25 +17549,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(174)] + public static extern void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - InteropHelper.Call((Int32)n, (IntPtr)buffers_ptr, EntryPoints[174]); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate buffer object names @@ -24768,18 +17570,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static + [Slot(174)] + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)buffers, EntryPoints[174]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate mipmaps for a specified texture target @@ -24790,18 +17585,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenerateMipmap")] - public static + [Slot(175)] + public static extern void GenerateMipmap(OpenTK.Graphics.OpenGL4.GenerateMipmapTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GenerateMipmapTarget)target, EntryPoints[175]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -24817,25 +17605,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(176)] + public static extern Int32 GenFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* framebuffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[176]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -24851,24 +17625,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(176)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[176]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -24884,25 +17645,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(176)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[176]); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -24919,18 +17666,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(176)] + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[176]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -24947,24 +17687,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(176)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[176]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -24981,25 +17708,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(176)] + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)framebuffers_ptr, EntryPoints[176]); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -25016,18 +17729,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static + [Slot(176)] + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)framebuffers, EntryPoints[176]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -25043,25 +17749,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(177)] + public static extern Int32 GenProgramPipeline() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* pipelines_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[177]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -25077,24 +17769,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(177)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[177]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -25110,25 +17789,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(177)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[177]); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -25145,18 +17810,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(177)] + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[177]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -25173,24 +17831,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(177)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[177]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -25207,25 +17852,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(177)] + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - InteropHelper.Call((Int32)n, (IntPtr)pipelines_ptr, EntryPoints[177]); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -25242,18 +17873,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static + [Slot(177)] + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)pipelines, EntryPoints[177]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -25269,25 +17893,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(178)] + public static extern Int32 GenQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[178]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -25303,24 +17913,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(178)] + public static extern void GenQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[178]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -25336,25 +17933,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(178)] + public static extern void GenQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[178]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -25371,18 +17954,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(178)] + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[178]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -25399,24 +17975,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(178)] + public static extern void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[178]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -25433,25 +17996,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(178)] + public static extern void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[178]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Generate query object names @@ -25468,18 +18017,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static + [Slot(178)] + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[178]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -25495,25 +18037,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(179)] + public static extern Int32 GenRenderbuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* renderbuffers_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[179]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -25529,24 +18057,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(179)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[179]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -25562,25 +18077,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(179)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[179]); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -25597,18 +18098,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(179)] + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[179]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -25625,24 +18119,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(179)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[179]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -25659,25 +18140,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(179)] + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers_ptr, EntryPoints[179]); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -25694,18 +18161,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static + [Slot(179)] + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)renderbuffers, EntryPoints[179]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25721,25 +18181,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(180)] + public static extern Int32 GenSampler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - Int32 retval; - Int32* samplers_ptr = &retval; - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[180]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25755,24 +18201,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(180)] + public static extern void GenSamplers(Int32 count, [OutAttribute] Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[180]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25788,25 +18221,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(180)] + public static extern void GenSamplers(Int32 count, [OutAttribute] out Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[180]); - samplers = *samplers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25823,18 +18242,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(180)] + public static extern unsafe void GenSamplers(Int32 count, [OutAttribute] Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)samplers, EntryPoints[180]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25851,24 +18263,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(180)] + public static extern void GenSamplers(Int32 count, [OutAttribute] UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[180]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25885,25 +18284,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(180)] + public static extern void GenSamplers(Int32 count, [OutAttribute] out UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - InteropHelper.Call((Int32)count, (IntPtr)samplers_ptr, EntryPoints[180]); - samplers = *samplers_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25920,18 +18305,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static + [Slot(180)] + public static extern unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)samplers, EntryPoints[180]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -25947,25 +18325,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(181)] + public static extern Int32 GenTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* textures_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[181]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -25981,24 +18345,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(181)] + public static extern void GenTextures(Int32 n, [OutAttribute] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[181]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -26014,25 +18365,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(181)] + public static extern void GenTextures(Int32 n, [OutAttribute] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[181]); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -26049,18 +18386,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(181)] + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[181]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -26077,24 +18407,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(181)] + public static extern void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[181]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -26111,25 +18428,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(181)] + public static extern void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - InteropHelper.Call((Int32)n, (IntPtr)textures_ptr, EntryPoints[181]); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Generate texture names @@ -26146,18 +18449,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static + [Slot(181)] + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)textures, EntryPoints[181]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -26173,25 +18469,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(182)] + public static extern Int32 GenTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[182]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -26207,24 +18489,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(182)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[182]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -26240,25 +18509,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(182)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[182]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -26275,18 +18530,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(182)] + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[182]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -26303,24 +18551,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(182)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[182]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -26337,25 +18572,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(182)] + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((Int32)n, (IntPtr)ids_ptr, EntryPoints[182]); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -26372,18 +18593,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static + [Slot(182)] + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)ids, EntryPoints[182]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -26399,25 +18613,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(183)] + public static extern Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[183]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -26433,24 +18633,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(183)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -26466,25 +18653,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(183)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[183]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -26501,18 +18674,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(183)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[183]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -26529,24 +18695,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(183)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[183]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -26563,25 +18716,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(183)] + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - InteropHelper.Call((Int32)n, (IntPtr)arrays_ptr, EntryPoints[183]); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -26598,18 +18737,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static + [Slot(183)] + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)n, (IntPtr)arrays, EntryPoints[183]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -26635,24 +18767,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static + [Slot(184)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (IntPtr)@params_ptr, EntryPoints[184]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -26678,25 +18797,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static + [Slot(184)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (IntPtr)@params_ptr, EntryPoints[184]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -26723,18 +18828,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static + [Slot(184)] + public static extern unsafe void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (IntPtr)@params, EntryPoints[184]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -26761,24 +18859,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static + [Slot(184)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (IntPtr)@params_ptr, EntryPoints[184]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -26805,25 +18890,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static + [Slot(184)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (IntPtr)@params_ptr, EntryPoints[184]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -26850,18 +18921,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static + [Slot(184)] + public static extern unsafe void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (IntPtr)@params, EntryPoints[184]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -26902,29 +18966,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(185)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[185]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -26966,18 +19012,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(185)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[185]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -27019,29 +19058,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(185)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[185]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -27083,18 +19104,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static + [Slot(185)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[185]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -27130,25 +19144,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static + [Slot(186)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[186]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -27185,18 +19185,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static + [Slot(186)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length, (StringBuilder)name, EntryPoints[186]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -27233,25 +19226,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static + [Slot(186)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[186]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -27288,18 +19267,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static + [Slot(186)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length, (StringBuilder)name, EntryPoints[186]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -27330,24 +19302,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static + [Slot(187)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (IntPtr)values_ptr, EntryPoints[187]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -27378,25 +19337,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static + [Slot(187)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (IntPtr)values_ptr, EntryPoints[187]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -27428,18 +19373,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static + [Slot(187)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (IntPtr)values, EntryPoints[187]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -27471,24 +19409,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static + [Slot(187)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (IntPtr)values_ptr, EntryPoints[187]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -27520,25 +19445,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static + [Slot(187)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (IntPtr)values_ptr, EntryPoints[187]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -27570,18 +19481,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static + [Slot(187)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (IntPtr)values, EntryPoints[187]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -27617,25 +19521,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static + [Slot(188)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[188]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -27672,18 +19562,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static + [Slot(188)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length, (StringBuilder)name, EntryPoints[188]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -27720,25 +19603,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static + [Slot(188)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[188]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -27775,18 +19644,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static + [Slot(188)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (IntPtr)length, (StringBuilder)name, EntryPoints[188]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -27827,29 +19689,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(189)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[189]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -27891,18 +19735,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(189)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[189]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -27944,29 +19781,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(189)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[189]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -28008,18 +19827,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static + [Slot(189)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[189]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -28045,24 +19857,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(190)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[190]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -28088,25 +19887,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(190)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[190]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -28133,18 +19918,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(190)] + public static extern unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (IntPtr)@params, EntryPoints[190]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -28171,24 +19949,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(190)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[190]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -28215,25 +19980,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(190)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (IntPtr)@params_ptr, EntryPoints[190]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -28260,18 +20011,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static + [Slot(190)] + public static extern unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (IntPtr)@params, EntryPoints[190]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -28302,25 +20046,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static + [Slot(191)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)uniformBlockName, EntryPoints[191]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -28352,18 +20082,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static + [Slot(191)] + public static extern unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (IntPtr)length, (StringBuilder)uniformBlockName, EntryPoints[191]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -28395,25 +20118,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static + [Slot(191)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)uniformBlockName, EntryPoints[191]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -28445,18 +20154,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static + [Slot(191)] + public static extern unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (IntPtr)length, (StringBuilder)uniformBlockName, EntryPoints[191]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -28487,25 +20189,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static + [Slot(192)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)uniformName, EntryPoints[192]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -28537,18 +20225,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static + [Slot(192)] + public static extern unsafe void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (IntPtr)length, (StringBuilder)uniformName, EntryPoints[192]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -28580,25 +20261,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static + [Slot(192)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)uniformName, EntryPoints[192]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -28630,18 +20297,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static + [Slot(192)] + public static extern unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (IntPtr)length, (StringBuilder)uniformName, EntryPoints[192]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -28672,25 +20332,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(193)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[193]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -28721,26 +20367,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(193)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[193]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -28772,18 +20403,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(193)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (IntPtr)@params, EntryPoints[193]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -28815,25 +20439,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(193)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[193]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -28865,26 +20475,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(193)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices_ptr, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (IntPtr)@params_ptr, EntryPoints[193]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -28916,18 +20511,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static + [Slot(193)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (IntPtr)uniformIndices, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (IntPtr)@params, EntryPoints[193]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -28953,26 +20541,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(194)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[194]); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -28998,27 +20571,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(194)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[194]); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -29045,18 +20602,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(194)] + public static extern unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count, (IntPtr)shaders, EntryPoints[194]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -29083,26 +20633,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(194)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[194]); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -29129,27 +20664,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(194)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count_ptr, (IntPtr)shaders_ptr, EntryPoints[194]); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -29176,18 +20695,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static + [Slot(194)] + public static extern unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)maxCount, (IntPtr)count, (IntPtr)shaders, EntryPoints[194]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the location of an attribute variable @@ -29203,18 +20715,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static + [Slot(195)] + public static extern Int32 GetAttribLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[195]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the location of an attribute variable @@ -29231,218 +20736,96 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static + [Slot(195)] + public static extern Int32 GetAttribLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[195]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static + [Slot(196)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static + [Slot(196)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[196]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static + [Slot(196)] + public static extern unsafe void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[196]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static + [Slot(196)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[196]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static + [Slot(196)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[196]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static + [Slot(196)] + public static extern unsafe void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[196]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(197)] + public static extern bool GetBoolean(OpenTK.Graphics.OpenGL4.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[197]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(197)] + public static extern void GetBoolean(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[197]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(197)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[197]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static + [Slot(197)] + public static extern unsafe void GetBoolean(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data, EntryPoints[197]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] /// Return parameters of a buffer object @@ -29463,24 +20846,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] - public static + [Slot(198)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[198]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] /// Return parameters of a buffer object @@ -29501,25 +20871,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] - public static + [Slot(198)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[198]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] /// Return parameters of a buffer object @@ -29541,18 +20897,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] - public static + [Slot(198)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (IntPtr)@params, EntryPoints[198]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a buffer object @@ -29573,24 +20922,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(199)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[199]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a buffer object @@ -29611,25 +20947,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(199)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[199]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a buffer object @@ -29651,18 +20973,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static + [Slot(199)] + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (IntPtr)@params, EntryPoints[199]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -29683,18 +20998,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(200)] + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferPointer)pname, (IntPtr)@params, EntryPoints[200]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -29715,27 +21023,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(200)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[200]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -29756,27 +21049,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(200)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[200]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -29797,27 +21075,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(200)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[200]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -29838,28 +21101,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static + [Slot(200)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[200]); - @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 @@ -29885,18 +21132,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static + [Slot(201)] + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data, EntryPoints[201]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -29922,27 +21162,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static + [Slot(201)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[201]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -29968,27 +21193,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static + [Slot(201)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[201]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -30014,27 +21224,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static + [Slot(201)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[201]); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -30060,28 +21255,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static + [Slot(201)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), EntryPoints[201]); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve contents of a color lookup table @@ -30107,18 +21286,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static + [Slot(202)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table, EntryPoints[202]); - #if DEBUG - } - #endif - } + ; + /// /// Retrieve contents of a color lookup table @@ -30144,27 +21316,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static + [Slot(202)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[202]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve contents of a color lookup table @@ -30190,27 +21347,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static + [Slot(202)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[202]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve contents of a color lookup table @@ -30236,27 +21378,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static + [Slot(202)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[202]); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Retrieve contents of a color lookup table @@ -30282,28 +21409,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static + [Slot(202)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject(), EntryPoints[202]); - table = (T3)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get color lookup table parameters @@ -30324,24 +21435,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameterfv")] - public static + [Slot(203)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[203]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get color lookup table parameters @@ -30362,25 +21460,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameterfv")] - public static + [Slot(203)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[203]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get color lookup table parameters @@ -30402,18 +21486,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameterfv")] - public static + [Slot(203)] + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (IntPtr)@params, EntryPoints[203]); - #if DEBUG - } - #endif - } + ; + /// /// Get color lookup table parameters @@ -30434,24 +21511,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameteriv")] - public static + [Slot(204)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[204]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get color lookup table parameters @@ -30472,25 +21536,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameteriv")] - public static + [Slot(204)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[204]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get color lookup table parameters @@ -30512,18 +21562,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameteriv")] - public static + [Slot(204)] + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (IntPtr)@params, EntryPoints[204]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Return a compressed texture image @@ -30544,18 +21587,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static + [Slot(205)] + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (IntPtr)img, EntryPoints[205]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Return a compressed texture image @@ -30576,27 +21612,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static + [Slot(205)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[205]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Return a compressed texture image @@ -30617,27 +21638,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static + [Slot(205)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[205]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Return a compressed texture image @@ -30658,27 +21664,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static + [Slot(205)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[205]); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Return a compressed texture image @@ -30699,28 +21690,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static + [Slot(205)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject(), EntryPoints[205]); - img = (T2)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get current 1D or 2D convolution filter kernel @@ -30746,18 +21721,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static + [Slot(206)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image, EntryPoints[206]); - #if DEBUG - } - #endif - } + ; + /// /// Get current 1D or 2D convolution filter kernel @@ -30783,27 +21751,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static + [Slot(206)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[206]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get current 1D or 2D convolution filter kernel @@ -30829,27 +21782,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static + [Slot(206)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[206]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get current 1D or 2D convolution filter kernel @@ -30875,27 +21813,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static + [Slot(206)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[206]); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get current 1D or 2D convolution filter kernel @@ -30921,28 +21844,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static + [Slot(206)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject(), EntryPoints[206]); - image = (T3)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get convolution parameters @@ -30963,24 +21870,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameterfv")] - public static + [Slot(207)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[207]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get convolution parameters @@ -31001,25 +21895,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameterfv")] - public static + [Slot(207)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[207]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get convolution parameters @@ -31041,18 +21921,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameterfv")] - public static + [Slot(207)] + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (IntPtr)@params, EntryPoints[207]); - #if DEBUG - } - #endif - } + ; + /// /// Get convolution parameters @@ -31073,24 +21946,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameteriv")] - public static + [Slot(208)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[208]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get convolution parameters @@ -31111,25 +21971,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameteriv")] - public static + [Slot(208)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[208]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get convolution parameters @@ -31151,18 +21997,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameteriv")] - public static + [Slot(208)] + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (IntPtr)@params, EntryPoints[208]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -31208,28 +22047,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(209)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[209]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -31275,34 +22097,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(209)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[209]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -31349,18 +22148,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(209)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[209]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -31407,28 +22199,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(209)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[209]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -31475,34 +22250,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(209)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[209]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -31549,428 +22301,191 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static + [Slot(209)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[209]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(212)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[212]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(212)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[212]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(212)] + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[212]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(212)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[212]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(212)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[212]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(212)] + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[212]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static + [Slot(213)] + public static extern Double GetDouble(OpenTK.Graphics.OpenGL4.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Double retval; - Double* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[213]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static + [Slot(213)] + public static extern void GetDouble(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Double[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[213]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static + [Slot(213)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[213]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static + [Slot(213)] + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data, EntryPoints[213]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return error information /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetError")] - public static + [Slot(214)] + public static extern OpenTK.Graphics.OpenGL4.ErrorCode GetError() - { - return InteropHelper.CallReturn(EntryPoints[214]); - } + ; + /// [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 + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[215]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[215]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(215)] + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[215]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[215]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(215)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[215]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(215)] + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[215]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(216)] + public static extern Single GetFloat(OpenTK.Graphics.OpenGL4.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[216]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(216)] + public static extern void GetFloat(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[216]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(216)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[216]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static + [Slot(216)] + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data, EntryPoints[216]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_blend_func_extended|VERSION_3_3] /// Query the bindings of color indices to user-defined varying out variables @@ -31986,18 +22501,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glGetFragDataIndex")] - public static + [Slot(217)] + public static extern Int32 GetFragDataIndex(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[217]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_blend_func_extended|VERSION_3_3] /// Query the bindings of color indices to user-defined varying out variables @@ -32014,18 +22522,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glGetFragDataIndex")] - public static + [Slot(217)] + public static extern Int32 GetFragDataIndex(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[217]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Query the bindings of color numbers to user-defined varying out variables @@ -32041,18 +22542,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static + [Slot(218)] + public static extern Int32 GetFragDataLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[218]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Query the bindings of color numbers to user-defined varying out variables @@ -32069,18 +22563,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static + [Slot(218)] + public static extern Int32 GetFragDataLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[218]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about attachments of a bound framebuffer object @@ -32106,24 +22593,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(219)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[219]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about attachments of a bound framebuffer object @@ -32149,25 +22623,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(219)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.FramebufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[219]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about attachments of a bound framebuffer object @@ -32194,18 +22654,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static + [Slot(219)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.FramebufferParameterName)pname, (IntPtr)@params, EntryPoints[219]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Retrieve a named parameter from a framebuffer @@ -32226,24 +22679,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glGetFramebufferParameteriv")] - public static + [Slot(220)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter)pname, (IntPtr)@params_ptr, EntryPoints[220]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Retrieve a named parameter from a framebuffer @@ -32264,25 +22704,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glGetFramebufferParameteriv")] - public static + [Slot(220)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter)pname, (IntPtr)@params_ptr, EntryPoints[220]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Retrieve a named parameter from a framebuffer @@ -32304,18 +22730,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glGetFramebufferParameteriv")] - public static + [Slot(220)] + public static extern unsafe void GetFramebufferParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter)pname, (IntPtr)@params, EntryPoints[220]); - #if DEBUG - } - #endif - } + ; + /// /// Get histogram table @@ -32346,18 +22765,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static + [Slot(222)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values, EntryPoints[222]); - #if DEBUG - } - #endif - } + ; + /// /// Get histogram table @@ -32388,27 +22800,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static + [Slot(222)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[222]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram table @@ -32439,27 +22836,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static + [Slot(222)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[222]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram table @@ -32490,27 +22872,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static + [Slot(222)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[222]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram table @@ -32541,28 +22908,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static + [Slot(222)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[222]); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram parameters @@ -32583,24 +22934,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameterfv")] - public static + [Slot(223)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[223]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram parameters @@ -32621,25 +22959,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameterfv")] - public static + [Slot(223)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[223]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram parameters @@ -32661,18 +22985,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameterfv")] - public static + [Slot(223)] + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (IntPtr)@params, EntryPoints[223]); - #if DEBUG - } - #endif - } + ; + /// /// Get histogram parameters @@ -32693,24 +23010,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameteriv")] - public static + [Slot(224)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[224]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram parameters @@ -32731,25 +23035,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameteriv")] - public static + [Slot(224)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[224]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get histogram parameters @@ -32771,477 +23061,206 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameteriv")] - public static + [Slot(224)] + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (IntPtr)@params, EntryPoints[224]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(226)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[226]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(226)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[226]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(226)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[226]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(226)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[226]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(226)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[226]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static + [Slot(226)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[226]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static + [Slot(227)] + public static extern Int64 GetInteger64(OpenTK.Graphics.OpenGL4.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[227]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static + [Slot(227)] + public static extern void GetInteger64(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[227]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static + [Slot(227)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[227]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(227)] + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data, EntryPoints[227]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(228)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(228)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[228]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(228)] + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[228]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(228)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[228]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(228)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data_ptr, EntryPoints[228]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static + [Slot(228)] + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (IntPtr)data, EntryPoints[228]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(229)] + public static extern Int32 GetInteger(OpenTK.Graphics.OpenGL4.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[229]); - return retval; - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(229)] + public static extern void GetInteger(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[229]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(229)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data_ptr, EntryPoints[229]); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static + [Slot(229)] + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPName)pname, (IntPtr)data, EntryPoints[229]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(230)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[230]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(230)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[230]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(230)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params, EntryPoints[230]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_internalformat_query|VERSION_4_2] /// Retrieve information about implementation-dependent support for internal formats @@ -33272,24 +23291,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_internalformat_query|VERSION_4_2", Version = "4.2", EntryPoint = "glGetInternalformativ")] - public static + [Slot(231)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[231]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_internalformat_query|VERSION_4_2] /// Retrieve information about implementation-dependent support for internal formats @@ -33320,25 +23326,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_internalformat_query|VERSION_4_2", Version = "4.2", EntryPoint = "glGetInternalformativ")] - public static + [Slot(231)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params_ptr, EntryPoints[231]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_internalformat_query|VERSION_4_2] /// Retrieve information about implementation-dependent support for internal formats @@ -33370,18 +23362,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_internalformat_query|VERSION_4_2", Version = "4.2", EntryPoint = "glGetInternalformativ")] - public static + [Slot(231)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (IntPtr)@params, EntryPoints[231]); - #if DEBUG - } - #endif - } + ; + /// /// Get minimum and maximum pixel values @@ -33412,18 +23397,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static + [Slot(232)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values, EntryPoints[232]); - #if DEBUG - } - #endif - } + ; + /// /// Get minimum and maximum pixel values @@ -33454,27 +23432,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static + [Slot(232)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[232]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get minimum and maximum pixel values @@ -33505,27 +23468,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static + [Slot(232)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[232]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get minimum and maximum pixel values @@ -33556,27 +23504,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static + [Slot(232)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[232]); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get minimum and maximum pixel values @@ -33607,28 +23540,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static + [Slot(232)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject(), EntryPoints[232]); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get minmax parameters @@ -33649,24 +23566,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameterfv")] - public static + [Slot(233)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[233]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get minmax parameters @@ -33687,25 +23591,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameterfv")] - public static + [Slot(233)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[233]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get minmax parameters @@ -33727,18 +23617,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameterfv")] - public static + [Slot(233)] + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (IntPtr)@params, EntryPoints[233]); - #if DEBUG - } - #endif - } + ; + /// /// Get minmax parameters @@ -33759,24 +23642,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameteriv")] - public static + [Slot(234)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[234]); - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get minmax parameters @@ -33797,25 +23667,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameteriv")] - public static + [Slot(234)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (IntPtr)@params_ptr, EntryPoints[234]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// /// Get minmax parameters @@ -33837,18 +23693,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameteriv")] - public static + [Slot(234)] + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (IntPtr)@params, EntryPoints[234]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -33869,24 +23718,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static + [Slot(235)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[235]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -33907,25 +23743,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static + [Slot(235)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[235]); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -33947,18 +23769,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static + [Slot(235)] + public static extern unsafe void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, Int32 index, [OutAttribute] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (IntPtr)val, EntryPoints[235]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -33980,24 +23795,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static + [Slot(235)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[235]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -34019,25 +23821,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static + [Slot(235)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (IntPtr)val_ptr, EntryPoints[235]); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -34059,18 +23847,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static + [Slot(235)] + public static extern unsafe void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (IntPtr)val, EntryPoints[235]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -34101,24 +23882,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static + [Slot(256)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[256]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -34149,25 +23917,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static + [Slot(256)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[256]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -34199,18 +23953,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static + [Slot(256)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[256]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -34242,24 +23989,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static + [Slot(256)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[256]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -34291,25 +24025,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static + [Slot(256)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[256]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -34341,18 +24061,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static + [Slot(256)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[256]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -34378,24 +24091,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[258]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -34421,25 +24121,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[258]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -34466,18 +24152,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[258]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -34503,33 +24182,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[258]); - } - 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 @@ -34555,34 +24213,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[258]); - 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 @@ -34609,27 +24245,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[258]); - } - 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 @@ -34655,33 +24276,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[258]); - } - 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 @@ -34707,34 +24307,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[258]); - 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 @@ -34761,27 +24339,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[258]); - } - 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 @@ -34807,33 +24370,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[258]); - } - 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 @@ -34859,34 +24401,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[258]); - 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 @@ -34913,27 +24433,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[258]); - } - 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 @@ -34959,34 +24464,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[258]); - 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 @@ -35012,35 +24495,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[258]); - 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 @@ -35067,28 +24527,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static + [Slot(258)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[258]); - 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 @@ -35104,18 +24548,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3|VERSION_4_3", Version = "4.3", EntryPoint = "glGetPointerv")] - public static + [Slot(260)] + public static extern void GetPointer(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPointervPName)pname, (IntPtr)@params, EntryPoints[260]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3|VERSION_4_3] /// Return the address of the specified pointer @@ -35131,27 +24568,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3|VERSION_4_3", Version = "4.3", EntryPoint = "glGetPointerv")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[260]); - } - 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 @@ -35167,27 +24589,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3|VERSION_4_3", Version = "4.3", EntryPoint = "glGetPointerv")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[260]); - } - 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 @@ -35203,27 +24610,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3|VERSION_4_3", Version = "4.3", EntryPoint = "glGetPointerv")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[260]); - } - 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 @@ -35239,28 +24631,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3|VERSION_4_3", Version = "4.3", EntryPoint = "glGetPointerv")] - public static + [Slot(260)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[260]); - @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 @@ -35291,27 +24667,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[262]); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #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 @@ -35342,36 +24702,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - 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 @@ -35402,36 +24738,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - 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 @@ -35462,36 +24774,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - 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 @@ -35522,37 +24810,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - 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 @@ -35584,18 +24847,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary, EntryPoints[262]); - #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 @@ -35627,27 +24883,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - } - 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 @@ -35679,27 +24920,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - } - 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 @@ -35731,27 +24957,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - } - 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 @@ -35783,28 +24994,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - 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 @@ -35836,27 +25031,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary, EntryPoints[262]); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #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 @@ -35888,36 +25067,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - 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 @@ -35949,36 +25104,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - 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 @@ -36010,36 +25141,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - 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 @@ -36071,37 +25178,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - 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 @@ -36133,18 +25215,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + public static extern 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 - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary, EntryPoints[262]); - #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 @@ -36176,27 +25251,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - } - 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 @@ -36228,27 +25288,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - } - 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 @@ -36280,27 +25325,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - } - 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 @@ -36332,28 +25362,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static + [Slot(262)] + 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 - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (IntPtr)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), EntryPoints[262]); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a program object @@ -36379,25 +25393,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(263)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[263]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a program object @@ -36424,18 +25424,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(263)] + public static extern unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[263]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a program object @@ -36462,25 +25455,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(263)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[263]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a program object @@ -36507,18 +25486,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static + [Slot(263)] + public static extern unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[263]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -36544,24 +25516,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static + [Slot(264)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (IntPtr)@params_ptr, EntryPoints[264]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -36587,25 +25546,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static + [Slot(264)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (IntPtr)@params_ptr, EntryPoints[264]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -36632,18 +25577,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static + [Slot(264)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (IntPtr)@params, EntryPoints[264]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -36670,24 +25608,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static + [Slot(264)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (IntPtr)@params_ptr, EntryPoints[264]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -36714,25 +25639,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static + [Slot(264)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (IntPtr)@params_ptr, EntryPoints[264]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -36759,18 +25670,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static + [Slot(264)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (IntPtr)@params, EntryPoints[264]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -36791,24 +25695,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(265)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[265]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -36829,25 +25720,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(265)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[265]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -36869,18 +25746,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(265)] + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[265]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -36902,24 +25772,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(265)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[265]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -36941,25 +25798,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(265)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (IntPtr)@params_ptr, EntryPoints[265]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a program object @@ -36981,18 +25824,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static + [Slot(265)] + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (IntPtr)@params, EntryPoints[265]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -37018,25 +25854,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static + [Slot(266)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[266]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -37063,18 +25885,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static + [Slot(266)] + public static extern unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[266]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -37101,25 +25916,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static + [Slot(266)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[266]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -37146,18 +25947,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static + [Slot(266)] + public static extern unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[266]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -37178,24 +25972,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static + [Slot(267)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (IntPtr)@params_ptr, EntryPoints[267]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -37216,25 +25997,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static + [Slot(267)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (IntPtr)@params_ptr, EntryPoints[267]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -37256,18 +26023,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static + [Slot(267)] + public static extern unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (IntPtr)@params, EntryPoints[267]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -37289,24 +26049,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static + [Slot(267)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (IntPtr)@params_ptr, EntryPoints[267]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -37328,25 +26075,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static + [Slot(267)] + public static extern 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) - { - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (IntPtr)@params_ptr, EntryPoints[267]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -37368,18 +26101,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static + [Slot(267)] + public static extern unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (IntPtr)@params, EntryPoints[267]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the index of a named resource within a program @@ -37400,18 +26126,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceIndex")] - public static + [Slot(268)] + public static extern Int32 GetProgramResourceIndex(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name, EntryPoints[268]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the index of a named resource within a program @@ -37433,18 +26152,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceIndex")] - public static + [Slot(268)] + public static extern Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name, EntryPoints[268]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -37460,26 +26172,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static + [Slot(269)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (IntPtr)props_ptr, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)@params_ptr, EntryPoints[269]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -37495,28 +26192,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static + [Slot(269)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (IntPtr)props_ptr, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)@params_ptr, EntryPoints[269]); - length = *length_ptr; - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -37533,18 +26213,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static + [Slot(269)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (IntPtr)props, (Int32)bufSize, (IntPtr)length, (IntPtr)@params, EntryPoints[269]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -37561,26 +26234,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static + [Slot(269)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (IntPtr)props_ptr, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)@params_ptr, EntryPoints[269]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -37597,28 +26255,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static + [Slot(269)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (IntPtr)props_ptr, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)@params_ptr, EntryPoints[269]); - length = *length_ptr; - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -37635,18 +26276,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static + [Slot(269)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (IntPtr)props, (Int32)bufSize, (IntPtr)length, (IntPtr)@params, EntryPoints[269]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the location of a named resource within a program @@ -37667,18 +26301,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocation")] - public static + [Slot(270)] + public static extern Int32 GetProgramResourceLocation(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name, EntryPoints[270]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the location of a named resource within a program @@ -37700,18 +26327,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocation")] - public static + [Slot(270)] + public static extern Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name, EntryPoints[270]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the fragment color index of a named variable within a program @@ -37732,18 +26352,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocationIndex")] - public static + [Slot(271)] + public static extern Int32 GetProgramResourceLocationIndex(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name, EntryPoints[271]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the fragment color index of a named variable within a program @@ -37765,18 +26378,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocationIndex")] - public static + [Slot(271)] + public static extern Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name, EntryPoints[271]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -37812,24 +26418,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static + [Slot(272)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[272]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -37865,25 +26458,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static + [Slot(272)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[272]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -37920,18 +26499,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static + [Slot(272)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (IntPtr)length, (StringBuilder)name, EntryPoints[272]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -37968,24 +26540,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static + [Slot(272)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[272]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -38022,25 +26581,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static + [Slot(272)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)name, EntryPoints[272]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -38077,18 +26622,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static + [Slot(272)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (IntPtr)length, (StringBuilder)name, EntryPoints[272]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -38114,25 +26652,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ProgramStageParameter)pname, (IntPtr)values_ptr, EntryPoints[273]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -38159,18 +26683,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static + [Slot(273)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ProgramStageParameter)pname, (IntPtr)values, EntryPoints[273]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -38197,25 +26714,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static + [Slot(273)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ProgramStageParameter)pname, (IntPtr)values_ptr, EntryPoints[273]); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -38242,18 +26745,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static + [Slot(273)] + public static extern 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 - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ProgramStageParameter)pname, (IntPtr)values, EntryPoints[273]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -38279,24 +26775,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static + [Slot(274)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[274]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -38322,25 +26805,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static + [Slot(274)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[274]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -38367,18 +26836,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static + [Slot(274)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (IntPtr)@params, EntryPoints[274]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -38405,24 +26867,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static + [Slot(274)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[274]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -38449,25 +26898,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static + [Slot(274)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[274]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -38494,18 +26929,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static + [Slot(274)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (IntPtr)@params, EntryPoints[274]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object target @@ -38526,24 +26954,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static + [Slot(275)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[275]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object target @@ -38564,25 +26979,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static + [Slot(275)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (IntPtr)@params_ptr, EntryPoints[275]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object target @@ -38604,18 +27005,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static + [Slot(275)] + public static extern unsafe void GetQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.QueryTarget)target, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (IntPtr)@params, EntryPoints[275]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -38636,24 +27030,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static + [Slot(276)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[276]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -38674,25 +27055,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static + [Slot(276)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[276]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -38714,18 +27081,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static + [Slot(276)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[276]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -38747,24 +27107,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static + [Slot(276)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[276]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -38786,25 +27133,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static + [Slot(276)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[276]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -38826,18 +27159,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static + [Slot(276)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[276]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -38858,24 +27184,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static + [Slot(277)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[277]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -38896,25 +27209,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static + [Slot(277)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[277]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -38936,18 +27235,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static + [Slot(277)] + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[277]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -38969,24 +27261,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static + [Slot(277)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[277]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -39008,25 +27287,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static + [Slot(277)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[277]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -39048,18 +27313,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static + [Slot(277)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[277]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -39081,24 +27339,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjectui64v")] - public static + [Slot(278)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[278]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -39120,25 +27365,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjectui64v")] - public static + [Slot(278)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[278]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -39160,18 +27391,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjectui64v")] - public static + [Slot(278)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[278]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -39193,24 +27417,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(279)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[279]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -39232,25 +27443,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(279)] + public static extern 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) - { - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params_ptr, EntryPoints[279]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Return parameters of a query object @@ -39272,18 +27469,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static + [Slot(279)] + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (IntPtr)@params, EntryPoints[279]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about a bound renderbuffer object @@ -39304,24 +27494,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(280)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL4.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[280]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about a bound renderbuffer object @@ -39342,25 +27519,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(280)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL4.RenderbufferParameterName)pname, (IntPtr)@params_ptr, EntryPoints[280]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about a bound renderbuffer object @@ -39382,18 +27545,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static + [Slot(280)] + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL4.RenderbufferParameterName)pname, (IntPtr)@params, EntryPoints[280]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39414,24 +27570,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(281)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[281]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39452,25 +27595,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(281)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[281]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39492,18 +27621,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(281)] + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[281]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39525,24 +27647,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(281)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[281]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39564,25 +27673,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(281)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[281]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39604,199 +27699,90 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static + [Slot(281)] + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[281]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(282)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr, EntryPoints[282]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(282)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr, EntryPoints[282]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(282)] + public static extern unsafe void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params, EntryPoints[282]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(282)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr, EntryPoints[282]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(282)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr, EntryPoints[282]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(282)] + public static extern unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params, EntryPoints[282]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(283)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr, EntryPoints[283]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(283)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr, EntryPoints[283]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(283)] + public static extern unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params, EntryPoints[283]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39817,24 +27803,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(284)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[284]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39855,25 +27828,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(284)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[284]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39895,18 +27854,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(284)] + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[284]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39928,24 +27880,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(284)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[284]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39967,25 +27906,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(284)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)@params_ptr, EntryPoints[284]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -40007,18 +27932,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static + [Slot(284)] + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)@params, EntryPoints[284]); - #if DEBUG - } - #endif - } + ; + /// /// Get separable convolution filter kernel images @@ -40054,18 +27972,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static + [Slot(285)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span, EntryPoints[285]); - #if DEBUG - } - #endif - } + ; + /// /// Get separable convolution filter kernel images @@ -40101,33 +28012,14 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static + [Slot(285)] + 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 - { - InteropHelper.Call((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(), EntryPoints[285]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get separable convolution filter kernel images @@ -40163,33 +28055,14 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static + [Slot(285)] + 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 - { - InteropHelper.Call((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(), EntryPoints[285]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get separable convolution filter kernel images @@ -40225,33 +28098,14 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static + [Slot(285)] + 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 - { - InteropHelper.Call((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(), EntryPoints[285]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Get separable convolution filter kernel images @@ -40287,36 +28141,14 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static + [Slot(285)] + 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 - { - InteropHelper.Call((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(), EntryPoints[285]); - 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 @@ -40342,25 +28174,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(286)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[286]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a shader object @@ -40387,18 +28205,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(286)] + public static extern unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[286]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a shader object @@ -40425,25 +28236,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(286)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)infoLog, EntryPoints[286]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the information log for a shader object @@ -40470,18 +28267,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static + [Slot(286)] + public static extern unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)infoLog, EntryPoints[286]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a shader object @@ -40502,24 +28292,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(287)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[287]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a shader object @@ -40540,25 +28317,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(287)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[287]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a shader object @@ -40580,18 +28343,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(287)] + public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (IntPtr)@params, EntryPoints[287]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a shader object @@ -40613,24 +28369,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(287)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[287]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a shader object @@ -40652,25 +28395,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(287)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (IntPtr)@params_ptr, EntryPoints[287]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns a parameter from a shader object @@ -40692,18 +28421,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static + [Slot(287)] + public static extern unsafe void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (IntPtr)@params, EntryPoints[287]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -40729,25 +28451,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(288)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ShaderPrecision)precisiontype, (IntPtr)range_ptr, (IntPtr)precision_ptr, EntryPoints[288]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -40773,27 +28481,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(288)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ShaderPrecision)precisiontype, (IntPtr)range_ptr, (IntPtr)precision_ptr, EntryPoints[288]); - range = *range_ptr; - precision = *precision_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -40820,18 +28512,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] - public static + [Slot(288)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ShaderPrecision)precisiontype, (IntPtr)range, (IntPtr)precision, EntryPoints[288]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the source code string from a shader object @@ -40857,25 +28542,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(289)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[289]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the source code string from a shader object @@ -40902,18 +28573,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(289)] + public static extern unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)source, EntryPoints[289]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the source code string from a shader object @@ -40940,25 +28604,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(289)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)source, EntryPoints[289]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the source code string from a shader object @@ -40985,18 +28635,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static + [Slot(289)] + public static extern unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)bufSize, (IntPtr)length, (StringBuilder)source, EntryPoints[289]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a string describing the current GL connection @@ -41012,18 +28655,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetString")] - public static + [Slot(290)] + public static extern String GetString(OpenTK.Graphics.OpenGL4.StringName name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.OpenGL4.StringName)name, EntryPoints[290])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Return a string describing the current GL connection @@ -41039,18 +28675,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static + [Slot(291)] + public static extern String GetString(OpenTK.Graphics.OpenGL4.StringNameIndexed name, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.OpenGL4.StringNameIndexed)name, (UInt32)index, EntryPoints[291])); } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Return a string describing the current GL connection @@ -41067,18 +28696,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static + [Slot(291)] + public static extern String GetString(OpenTK.Graphics.OpenGL4.StringNameIndexed name, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)InteropHelper.CallReturn((OpenTK.Graphics.OpenGL4.StringNameIndexed)name, (UInt32)index, EntryPoints[291])); } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -41099,18 +28721,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineIndex")] - public static + [Slot(292)] + public static extern Int32 GetSubroutineIndex(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (String)name, EntryPoints[292]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -41132,18 +28747,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineIndex")] - public static + [Slot(292)] + public static extern Int32 GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (String)name, EntryPoints[292]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -41164,18 +28772,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineUniformLocation")] - public static + [Slot(293)] + public static extern Int32 GetSubroutineUniformLocation(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (String)name, EntryPoints[293]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -41197,18 +28798,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineUniformLocation")] - public static + [Slot(293)] + public static extern Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (String)name, EntryPoints[293]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -41239,26 +28833,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static + [Slot(294)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[294]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -41289,27 +28868,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static + [Slot(294)] + public static extern 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) - { - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)values_ptr, EntryPoints[294]); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -41341,18 +28904,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static + [Slot(294)] + public static extern 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 - InteropHelper.Call((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameterName)pname, (Int32)bufSize, (IntPtr)length, (IntPtr)values, EntryPoints[294]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a texture image @@ -41383,18 +28939,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static + [Slot(295)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels, EntryPoints[295]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a texture image @@ -41425,27 +28974,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static + [Slot(295)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[295]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a texture image @@ -41476,27 +29010,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static + [Slot(295)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[295]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a texture image @@ -41527,27 +29046,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static + [Slot(295)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[295]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return a texture image @@ -41578,28 +29082,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static + [Slot(295)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[295]); - 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 @@ -41625,24 +29113,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] - public static + [Slot(296)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[296]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -41668,25 +29143,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] - public static + [Slot(296)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[296]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -41713,18 +29174,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] - public static + [Slot(296)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[296]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -41750,24 +29204,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] - public static + [Slot(297)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[297]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -41793,25 +29234,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] - public static + [Slot(297)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[297]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -41838,18 +29265,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] - public static + [Slot(297)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[297]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -41870,24 +29290,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(298)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[298]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -41908,25 +29315,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(298)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[298]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -41948,138 +29341,63 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static + [Slot(298)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[298]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static + [Slot(299)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[299]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static + [Slot(299)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[299]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static + [Slot(299)] + public static extern unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[299]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static + [Slot(300)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[300]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static + [Slot(300)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[300]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static + [Slot(300)] + public static extern unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[300]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -42100,24 +29418,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(301)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[301]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -42138,25 +29443,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(301)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params_ptr, EntryPoints[301]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Return texture parameter values @@ -42178,18 +29469,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static + [Slot(301)] + public static extern unsafe void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (IntPtr)@params, EntryPoints[301]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -42230,29 +29514,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(304)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[304]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -42294,18 +29560,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(304)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[304]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -42347,29 +29606,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(304)] + 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) - { - #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) - { - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length_ptr, (IntPtr)size_ptr, (IntPtr)type_ptr, (StringBuilder)name, EntryPoints[304]); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -42411,18 +29652,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static + [Slot(304)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)index, (Int32)bufSize, (IntPtr)length, (IntPtr)size, (IntPtr)type, (StringBuilder)name, EntryPoints[304]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -42438,18 +29672,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformBlockIndex")] - public static + [Slot(305)] + public static extern Int32 GetUniformBlockIndex(Int32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)uniformBlockName, EntryPoints[305]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -42466,18 +29693,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformBlockIndex")] - public static + [Slot(305)] + public static extern Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)uniformBlockName, EntryPoints[305]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -42498,24 +29718,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static + [Slot(306)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[306]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -42536,25 +29743,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static + [Slot(306)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[306]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -42576,18 +29769,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static + [Slot(306)] + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[306]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -42609,24 +29795,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static + [Slot(306)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[306]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -42648,25 +29821,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static + [Slot(306)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[306]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -42688,18 +29847,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static + [Slot(306)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[306]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42720,24 +29872,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(307)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[307]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42758,25 +29897,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(307)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[307]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42798,18 +29923,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(307)] + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[307]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42831,24 +29949,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(307)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[307]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42870,25 +29975,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(307)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[307]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42910,18 +30001,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static + [Slot(307)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[307]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -42947,24 +30031,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static + [Slot(308)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices_ptr, EntryPoints[308]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -42990,25 +30061,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static + [Slot(308)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices_ptr, EntryPoints[308]); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -43035,18 +30092,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static + [Slot(308)] + public static extern unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices, EntryPoints[308]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -43073,24 +30123,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static + [Slot(308)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices_ptr, EntryPoints[308]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -43117,25 +30154,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static + [Slot(308)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices_ptr, EntryPoints[308]); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -43162,18 +30185,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static + [Slot(308)] + public static extern unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (IntPtr)uniformIndices, EntryPoints[308]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -43194,24 +30210,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(309)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[309]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -43232,25 +30235,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(309)] + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[309]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -43272,18 +30261,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(309)] + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[309]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -43305,24 +30287,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(309)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[309]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -43344,25 +30313,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(309)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[309]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the value of a uniform variable @@ -43384,18 +30339,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static + [Slot(309)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[309]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the location of a uniform variable @@ -43411,18 +30359,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static + [Slot(310)] + public static extern Int32 GetUniformLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[310]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Returns the location of a uniform variable @@ -43439,18 +30380,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static + [Slot(310)] + public static extern Int32 GetUniformLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, (String)name, EntryPoints[310]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -43471,25 +30405,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static + [Slot(311)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)location, (IntPtr)@params_ptr, EntryPoints[311]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -43511,18 +30431,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static + [Slot(311)] + public static extern unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)location, (IntPtr)@params, EntryPoints[311]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -43544,25 +30457,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static + [Slot(311)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)location, (IntPtr)@params_ptr, EntryPoints[311]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -43584,18 +30483,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static + [Slot(311)] + public static extern unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)location, (IntPtr)@params, EntryPoints[311]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Returns the value of a uniform variable @@ -43617,24 +30509,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static + [Slot(312)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[312]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Returns the value of a uniform variable @@ -43656,25 +30535,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static + [Slot(312)] + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params_ptr, EntryPoints[312]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Returns the value of a uniform variable @@ -43696,18 +30561,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static + [Slot(312)] + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (IntPtr)@params, EntryPoints[312]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43728,24 +30586,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static + [Slot(313)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[313]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43766,25 +30611,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static + [Slot(313)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[313]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43806,18 +30637,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static + [Slot(313)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[313]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43839,24 +30663,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static + [Slot(313)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[313]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43878,25 +30689,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static + [Slot(313)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[313]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43918,18 +30715,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static + [Slot(313)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[313]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43950,24 +30740,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(314)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[314]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43988,25 +30765,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(314)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[314]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -44028,18 +30791,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(314)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[314]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -44061,24 +30817,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(314)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[314]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -44100,25 +30843,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(314)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[314]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -44140,134 +30869,64 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static + [Slot(314)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[314]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static + [Slot(315)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[315]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static + [Slot(315)] + public static extern unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[315]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static + [Slot(315)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[315]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static + [Slot(315)] + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[315]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static + [Slot(316)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[316]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static + [Slot(316)] + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[316]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -44288,24 +30947,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(317)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[317]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -44326,25 +30972,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(317)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[317]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -44366,18 +30998,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(317)] + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[317]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -44399,24 +31024,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(317)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[317]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -44438,25 +31050,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(317)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[317]); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -44478,138 +31076,63 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static + [Slot(317)] + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[317]); - #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 = "glGetVertexAttribLdv")] - public static + [Slot(318)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[318]); - } - } - #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 = "glGetVertexAttribLdv")] - public static + [Slot(318)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[318]); - @params = *@params_ptr; - } - } - #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 = "glGetVertexAttribLdv")] - public static + [Slot(318)] + public static extern unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[318]); - #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 = "glGetVertexAttribLdv")] - public static + [Slot(318)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[318]); - } - } - #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 = "glGetVertexAttribLdv")] - public static + [Slot(318)] + public static extern 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) - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params_ptr, EntryPoints[318]); - @params = *@params_ptr; - } - } - #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 = "glGetVertexAttribLdv")] - public static + [Slot(318)] + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (IntPtr)@params, EntryPoints[318]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44630,18 +31153,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(320)] + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer, EntryPoints[320]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44662,27 +31178,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(320)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[320]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44703,27 +31204,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(320)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[320]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44744,27 +31230,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(320)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[320]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44785,28 +31256,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(320)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[320]); - 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 @@ -44828,18 +31283,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(320)] + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer, EntryPoints[320]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44861,27 +31309,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(320)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[320]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44903,27 +31336,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(320)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[320]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44945,27 +31363,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(320)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[320]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44987,28 +31390,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static + [Slot(320)] + 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 - { - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[320]); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify implementation-specific hints @@ -45024,18 +31411,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glHint")] - public static + [Slot(321)] + public static extern void Hint(OpenTK.Graphics.OpenGL4.HintTarget target, OpenTK.Graphics.OpenGL4.HintMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HintTarget)target, (OpenTK.Graphics.OpenGL4.HintMode)mode, EntryPoints[321]); - #if DEBUG - } - #endif - } + ; + /// /// Define histogram table @@ -45061,18 +31441,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glHistogram")] - public static + [Slot(322)] + public static extern void Histogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (bool)sink, EntryPoints[322]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content of a buffer object's data store @@ -45083,18 +31456,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferData")] - public static + [Slot(323)] + public static extern void InvalidateBufferData(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, EntryPoints[323]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content of a buffer object's data store @@ -45106,18 +31472,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferData")] - public static + [Slot(323)] + public static extern void InvalidateBufferData(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, EntryPoints[323]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a buffer object's data store @@ -45138,18 +31497,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferSubData")] - public static + [Slot(324)] + public static extern void InvalidateBufferSubData(Int32 buffer, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)length, EntryPoints[324]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a buffer object's data store @@ -45171,18 +31523,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferSubData")] - public static + [Slot(324)] + public static extern void InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)buffer, (IntPtr)offset, (IntPtr)length, EntryPoints[324]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content some or all of a framebuffer object's attachments @@ -45203,24 +31548,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateFramebuffer")] - public static + [Slot(325)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[325]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content some or all of a framebuffer object's attachments @@ -45241,24 +31573,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateFramebuffer")] - public static + [Slot(325)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, EntryPoints[325]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content some or all of a framebuffer object's attachments @@ -45280,18 +31599,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateFramebuffer")] - public static + [Slot(325)] + public static extern unsafe void InvalidateFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments, EntryPoints[325]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -45332,24 +31644,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateSubFramebuffer")] - public static + [Slot(326)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments_ptr = attachments) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[326]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -45390,24 +31689,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateSubFramebuffer")] - public static + [Slot(326)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments_ptr = &attachments) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[326]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 @@ -45449,18 +31735,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateSubFramebuffer")] - public static + [Slot(326)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (IntPtr)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[326]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the entirety a texture image @@ -45476,18 +31755,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexImage")] - public static + [Slot(327)] + public static extern void InvalidateTexImage(Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (Int32)level, EntryPoints[327]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the entirety a texture image @@ -45504,18 +31776,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexImage")] - public static + [Slot(327)] + public static extern void InvalidateTexImage(UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (Int32)level, EntryPoints[327]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a texture image @@ -45561,18 +31826,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexSubImage")] - public static + [Slot(328)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[328]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a texture image @@ -45619,18 +31877,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexSubImage")] - public static + [Slot(328)] + public static extern 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 - InteropHelper.Call((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[328]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Determine if a name corresponds to a buffer object @@ -45641,18 +31892,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsBuffer")] - public static + [Slot(329)] + public static extern bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[329]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Determine if a name corresponds to a buffer object @@ -45664,18 +31908,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsBuffer")] - public static + [Slot(329)] + public static extern bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)buffer, EntryPoints[329]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Test whether a capability is enabled @@ -45691,18 +31928,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIsEnabled")] - public static + [Slot(330)] + public static extern bool IsEnabled(OpenTK.Graphics.OpenGL4.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL4.EnableCap)cap, EntryPoints[330]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Test whether a capability is enabled @@ -45718,18 +31948,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glIsEnabledi")] - public static + [Slot(331)] + public static extern bool IsEnabled(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index, EntryPoints[331]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Test whether a capability is enabled @@ -45746,18 +31969,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glIsEnabledi")] - public static + [Slot(331)] + public static extern bool IsEnabled(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index, EntryPoints[331]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a framebuffer object @@ -45768,18 +31984,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsFramebuffer")] - public static + [Slot(332)] + public static extern bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, EntryPoints[332]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a framebuffer object @@ -45791,18 +32000,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsFramebuffer")] - public static + [Slot(332)] + public static extern bool IsFramebuffer(UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)framebuffer, EntryPoints[332]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Determines if a name corresponds to a program object @@ -45813,18 +32015,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static + [Slot(335)] + public static extern bool IsProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[335]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Determines if a name corresponds to a program object @@ -45836,18 +32031,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static + [Slot(335)] + public static extern bool IsProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)program, EntryPoints[335]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Determine if a name corresponds to a program pipeline object @@ -45858,18 +32046,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glIsProgramPipeline")] - public static + [Slot(336)] + public static extern bool IsProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)pipeline, EntryPoints[336]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Determine if a name corresponds to a program pipeline object @@ -45881,18 +32062,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glIsProgramPipeline")] - public static + [Slot(336)] + public static extern bool IsProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)pipeline, EntryPoints[336]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Determine if a name corresponds to a query object @@ -45903,18 +32077,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsQuery")] - public static + [Slot(337)] + public static extern bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[337]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Determine if a name corresponds to a query object @@ -45926,18 +32093,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsQuery")] - public static + [Slot(337)] + public static extern bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[337]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a renderbuffer object @@ -45948,18 +32108,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsRenderbuffer")] - public static + [Slot(338)] + public static extern bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)renderbuffer, EntryPoints[338]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a renderbuffer object @@ -45971,18 +32124,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsRenderbuffer")] - public static + [Slot(338)] + public static extern bool IsRenderbuffer(UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)renderbuffer, EntryPoints[338]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Determine if a name corresponds to a sampler object @@ -45993,18 +32139,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glIsSampler")] - public static + [Slot(339)] + public static extern bool IsSampler(Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)sampler, EntryPoints[339]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Determine if a name corresponds to a sampler object @@ -46016,18 +32155,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glIsSampler")] - public static + [Slot(339)] + public static extern bool IsSampler(UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)sampler, EntryPoints[339]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Determines if a name corresponds to a shader object @@ -46038,18 +32170,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static + [Slot(340)] + public static extern bool IsShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)shader, EntryPoints[340]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Determines if a name corresponds to a shader object @@ -46061,18 +32186,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static + [Slot(340)] + public static extern bool IsShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)shader, EntryPoints[340]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Determine if a name corresponds to a sync object @@ -46083,18 +32201,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glIsSync")] - public static + [Slot(341)] + public static extern bool IsSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, EntryPoints[341]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Determine if a name corresponds to a texture @@ -46105,18 +32216,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIsTexture")] - public static + [Slot(342)] + public static extern bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[342]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Determine if a name corresponds to a texture @@ -46128,18 +32232,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIsTexture")] - public static + [Slot(342)] + public static extern bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)texture, EntryPoints[342]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Determine if a name corresponds to a transform feedback object @@ -46150,18 +32247,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glIsTransformFeedback")] - public static + [Slot(344)] + public static extern bool IsTransformFeedback(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[344]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Determine if a name corresponds to a transform feedback object @@ -46173,18 +32263,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glIsTransformFeedback")] - public static + [Slot(344)] + public static extern bool IsTransformFeedback(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)id, EntryPoints[344]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Determine if a name corresponds to a vertex array object @@ -46195,18 +32278,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static + [Slot(345)] + public static extern bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[345]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Determine if a name corresponds to a vertex array object @@ -46218,18 +32294,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static + [Slot(345)] + public static extern bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)array, EntryPoints[345]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the width of rasterized lines @@ -46240,18 +32309,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLineWidth")] - public static + [Slot(346)] + public static extern void LineWidth(Single width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)width, EntryPoints[346]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Links a program object @@ -46262,18 +32324,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static + [Slot(347)] + public static extern void LinkProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[347]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Links a program object @@ -46285,18 +32340,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static + [Slot(347)] + public static extern void LinkProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[347]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a logical pixel operation for rendering @@ -46307,18 +32355,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLogicOp")] - public static + [Slot(348)] + public static extern void LogicOp(OpenTK.Graphics.OpenGL4.LogicOp opcode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.LogicOp)opcode, EntryPoints[348]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] /// Map a buffer object's data store @@ -46334,18 +32375,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glMapBuffer")] - public static + [Slot(353)] + public static extern IntPtr MapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferAccess access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferAccess)access, EntryPoints[353]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_map_buffer_range|VERSION_3_0] /// Map a section of a buffer object's data store @@ -46371,18 +32405,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_map_buffer_range|VERSION_3_0", Version = "3.0", EntryPoint = "glMapBufferRange")] - public static + [Slot(354)] + public static extern 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 InteropHelper.CallReturn((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL4.BufferAccessMask)access, EntryPoints[354]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_shader_image_load_store|VERSION_4_2] /// Defines a barrier ordering memory transactions @@ -46393,18 +32420,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_image_load_store|VERSION_4_2", Version = "4.2", EntryPoint = "glMemoryBarrier")] - public static + [Slot(355)] + public static extern void MemoryBarrier(OpenTK.Graphics.OpenGL4.MemoryBarrierFlags barriers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MemoryBarrierFlags)barriers, EntryPoints[355]); - #if DEBUG - } - #endif - } + ; + /// /// Define minmax table @@ -46425,18 +32445,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glMinmax")] - public static + [Slot(356)] + public static extern void Minmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (bool)sink, EntryPoints[356]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0] /// Specifies minimum rate at which sample shaing takes place @@ -46447,18 +32460,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glMinSampleShading")] - public static + [Slot(357)] + public static extern void MinSampleShading(Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)value, EntryPoints[357]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -46484,25 +32490,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static + [Slot(359)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)drawcount, EntryPoints[359]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -46528,25 +32520,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static + [Slot(359)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)first_ptr, (IntPtr)count_ptr, (Int32)drawcount, EntryPoints[359]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -46573,18 +32551,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static + [Slot(359)] + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)first, (IntPtr)count, (Int32)drawcount, EntryPoints[359]); - #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 @@ -46610,18 +32581,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static + [Slot(360)] + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect, (Int32)drawcount, (Int32)stride, EntryPoints[360]); - #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 @@ -46647,27 +32611,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[360]); - } - 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 @@ -46693,27 +32642,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[360]); - } - 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 @@ -46739,27 +32673,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[360]); - } - 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 @@ -46785,28 +32704,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static + [Slot(360)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[360]); - 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 @@ -46837,24 +32740,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, EntryPoints[362]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46885,33 +32775,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[362]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46942,33 +32811,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[362]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46999,33 +32847,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[362]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -47056,34 +32883,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[362]); - 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 @@ -47114,24 +32919,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, EntryPoints[362]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -47162,33 +32954,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[362]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -47219,33 +32990,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[362]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -47276,33 +33026,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[362]); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -47333,34 +33062,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[362]); - 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 @@ -47392,18 +33099,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, EntryPoints[362]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -47435,27 +33135,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[362]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -47487,27 +33172,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[362]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -47539,27 +33209,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[362]); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -47591,28 +33246,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static + [Slot(362)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, EntryPoints[362]); - 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 @@ -47648,25 +33287,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[363]); - } - } - #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 @@ -47702,34 +33327,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[363]); - } - 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 @@ -47765,34 +33368,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[363]); - } - 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 @@ -47828,34 +33409,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[363]); - } - 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 @@ -47891,35 +33450,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[363]); - 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 @@ -47955,25 +33491,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[363]); - } - } - #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 @@ -48009,34 +33531,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[363]); - } - 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 @@ -48072,34 +33572,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[363]); - } - 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 @@ -48135,34 +33613,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[363]); - } - 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 @@ -48198,35 +33654,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex_ptr, EntryPoints[363]); - 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 @@ -48263,18 +33696,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (IntPtr)basevertex, EntryPoints[363]); - #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 @@ -48311,27 +33737,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex, EntryPoints[363]); - } - 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 @@ -48368,27 +33779,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex, EntryPoints[363]); - } - 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 @@ -48425,27 +33821,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex, EntryPoints[363]); - } - 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 @@ -48482,28 +33863,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static + [Slot(363)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (IntPtr)basevertex, EntryPoints[363]); - 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 @@ -48534,18 +33899,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static + [Slot(364)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect, (Int32)drawcount, (Int32)stride, EntryPoints[364]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render indexed primitives from array data, taking parameters from memory @@ -48576,27 +33934,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static + [Slot(364)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[364]); - } - 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 @@ -48627,27 +33970,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static + [Slot(364)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[364]); - } - 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 @@ -48678,27 +34006,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static + [Slot(364)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[364]); - } - 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 @@ -48729,343 +34042,187 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static + [Slot(364)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride, EntryPoints[364]); - 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 + [Slot(366)] + public static extern void MultiTexCoordP1(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[366]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(366)] + public static extern void MultiTexCoordP1(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[366]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(367)] + public static extern unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[367]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(367)] + public static extern unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[367]); - #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 = "glMultiTexCoordP2ui")] - public static + [Slot(368)] + public static extern void MultiTexCoordP2(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[368]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(368)] + public static extern void MultiTexCoordP2(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[368]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(369)] + public static extern unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[369]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(369)] + public static extern unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[369]); - #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 = "glMultiTexCoordP3ui")] - public static + [Slot(370)] + public static extern void MultiTexCoordP3(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[370]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(370)] + public static extern void MultiTexCoordP3(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[370]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(371)] + public static extern unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[371]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(371)] + public static extern unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[371]); - #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 = "glMultiTexCoordP4ui")] - public static + [Slot(372)] + public static extern void MultiTexCoordP4(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[372]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(372)] + public static extern void MultiTexCoordP4(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[372]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(373)] + public static extern unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[373]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(373)] + public static extern unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[373]); - #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 = "glNormalP3ui")] - public static + [Slot(375)] + public static extern void NormalP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[375]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(375)] + public static extern void NormalP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[375]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(376)] + public static extern unsafe void NormalP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[376]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(376)] + public static extern unsafe void NormalP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[376]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a named object identified within a namespace @@ -49091,18 +34248,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectLabel")] - public static + [Slot(377)] + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[377]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a named object identified within a namespace @@ -49129,18 +34279,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectLabel")] - public static + [Slot(377)] + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[377]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -49161,18 +34304,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(379)] + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)length, (String)label, EntryPoints[379]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -49193,27 +34329,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(379)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[379]); - } - 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 @@ -49234,27 +34355,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(379)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[379]); - } - 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 @@ -49275,27 +34381,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(379)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[379]); - } - 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 @@ -49316,28 +34407,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static + [Slot(379)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[379]); - 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 @@ -49358,24 +34433,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameterfv")] - public static + [Slot(381)] + public static extern void PatchParameter(OpenTK.Graphics.OpenGL4.PatchParameterFloat pname, Single[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = values) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PatchParameterFloat)pname, (IntPtr)values_ptr, EntryPoints[381]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -49396,24 +34458,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameterfv")] - public static + [Slot(381)] + public static extern void PatchParameter(OpenTK.Graphics.OpenGL4.PatchParameterFloat pname, ref Single values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = &values) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PatchParameterFloat)pname, (IntPtr)values_ptr, EntryPoints[381]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -49435,18 +34484,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameterfv")] - public static + [Slot(381)] + public static extern unsafe void PatchParameter(OpenTK.Graphics.OpenGL4.PatchParameterFloat pname, Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PatchParameterFloat)pname, (IntPtr)values, EntryPoints[381]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -49467,35 +34509,21 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameteri")] - public static + [Slot(382)] + public static extern void PatchParameter(OpenTK.Graphics.OpenGL4.PatchParameterInt pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PatchParameterInt)pname, (Int32)value, EntryPoints[382]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(383)] + public static extern void PauseTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[383]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set pixel storage modes @@ -49511,18 +34539,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelStoref")] - public static + [Slot(384)] + public static extern void PixelStore(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PixelStoreParameter)pname, (Single)param, EntryPoints[384]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set pixel storage modes @@ -49538,18 +34559,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelStorei")] - public static + [Slot(385)] + public static extern void PixelStore(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PixelStoreParameter)pname, (Int32)param, EntryPoints[385]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify point parameters @@ -49570,18 +34584,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterf")] - public static + [Slot(386)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Single)param, EntryPoints[386]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify point parameters @@ -49602,24 +34609,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterfv")] - public static + [Slot(387)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (IntPtr)@params_ptr, EntryPoints[387]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify point parameters @@ -49641,18 +34635,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterfv")] - public static + [Slot(387)] + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (IntPtr)@params, EntryPoints[387]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify point parameters @@ -49673,18 +34660,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteri")] - public static + [Slot(388)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Int32)param, EntryPoints[388]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify point parameters @@ -49705,24 +34685,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteriv")] - public static + [Slot(389)] + public static extern void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (IntPtr)@params_ptr, EntryPoints[389]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.4] /// Specify point parameters @@ -49744,18 +34711,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteriv")] - public static + [Slot(389)] + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (IntPtr)@params, EntryPoints[389]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify the diameter of rasterized points @@ -49766,18 +34726,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPointSize")] - public static + [Slot(390)] + public static extern void PointSize(Single size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)size, EntryPoints[390]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Select a polygon rasterization mode @@ -49793,18 +34746,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPolygonMode")] - public static + [Slot(391)] + public static extern void PolygonMode(OpenTK.Graphics.OpenGL4.MaterialFace face, OpenTK.Graphics.OpenGL4.PolygonMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MaterialFace)face, (OpenTK.Graphics.OpenGL4.PolygonMode)mode, EntryPoints[391]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Set the scale and units used to calculate depth values @@ -49820,35 +34766,21 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPolygonOffset")] - public static + [Slot(392)] + public static extern void PolygonOffset(Single factor, Single units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)factor, (Single)units, EntryPoints[392]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(393)] + public static extern void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[393]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Specify the primitive restart index @@ -49859,18 +34791,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] - public static + [Slot(395)] + public static extern void PrimitiveRestartIndex(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[395]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Specify the primitive restart index @@ -49882,18 +34807,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] - public static + [Slot(395)] + public static extern void PrimitiveRestartIndex(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, EntryPoints[395]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -49919,18 +34837,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(396)] + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length, EntryPoints[396]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -49956,27 +34867,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(396)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[396]); - } - 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 @@ -50002,27 +34898,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(396)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[396]); - } - 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 @@ -50048,27 +34929,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(396)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[396]); - } - 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 @@ -50094,28 +34960,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(396)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[396]); - 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 @@ -50142,18 +34992,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(396)] + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length, EntryPoints[396]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -50180,27 +35023,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(396)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[396]); - } - 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 @@ -50227,27 +35055,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(396)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[396]); - } - 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 @@ -50274,27 +35087,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(396)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[396]); - } - 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 @@ -50321,28 +35119,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static + [Slot(396)] + 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 - { - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[396]); - 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 @@ -50363,18 +35145,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramParameteri")] - public static + [Slot(397)] + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL4.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramParameterName)pname, (Int32)value, EntryPoints[397]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Specify a parameter for a program object @@ -50396,18 +35171,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramParameteri")] - public static + [Slot(397)] + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramParameterName)pname, (Int32)value, EntryPoints[397]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50446,18 +35214,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1d")] - public static + [Slot(398)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Double v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, EntryPoints[398]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50497,18 +35258,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1d")] - public static + [Slot(398)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Double v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, EntryPoints[398]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50547,24 +35301,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static + [Slot(399)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[399]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50604,18 +35345,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static + [Slot(399)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[399]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50655,24 +35389,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static + [Slot(399)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[399]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50712,18 +35433,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static + [Slot(399)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[399]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50762,18 +35476,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1f")] - public static + [Slot(400)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, EntryPoints[400]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50813,18 +35520,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1f")] - public static + [Slot(400)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, EntryPoints[400]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50863,24 +35563,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static + [Slot(401)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[401]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50920,18 +35607,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static + [Slot(401)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[401]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50971,24 +35651,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static + [Slot(401)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[401]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51028,18 +35695,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static + [Slot(401)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[401]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51078,18 +35738,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1i")] - public static + [Slot(402)] + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, EntryPoints[402]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51129,18 +35782,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1i")] - public static + [Slot(402)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, EntryPoints[402]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51179,24 +35825,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static + [Slot(403)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[403]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51236,18 +35869,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static + [Slot(403)] + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[403]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51287,24 +35913,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static + [Slot(403)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[403]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51344,18 +35957,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static + [Slot(403)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[403]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51395,18 +36001,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1ui")] - public static + [Slot(404)] + public static extern void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, EntryPoints[404]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51446,24 +36045,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1uiv")] - public static + [Slot(405)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[405]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51503,18 +36089,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1uiv")] - public static + [Slot(405)] + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[405]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51553,18 +36132,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2d")] - public static + [Slot(406)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Double v0, Double v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, (Double)v1, EntryPoints[406]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51604,18 +36176,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2d")] - public static + [Slot(406)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Double v0, Double v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, (Double)v1, EntryPoints[406]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51654,24 +36219,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static + [Slot(407)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[407]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51710,24 +36262,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static + [Slot(407)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[407]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51767,18 +36306,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static + [Slot(407)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[407]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51818,24 +36350,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static + [Slot(407)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[407]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51875,24 +36394,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static + [Slot(407)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[407]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51932,18 +36438,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static + [Slot(407)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[407]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51982,18 +36481,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2f")] - public static + [Slot(408)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, EntryPoints[408]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52033,18 +36525,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2f")] - public static + [Slot(408)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, EntryPoints[408]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52083,24 +36568,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static + [Slot(409)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[409]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52139,24 +36611,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static + [Slot(409)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[409]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52196,18 +36655,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static + [Slot(409)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[409]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52247,24 +36699,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static + [Slot(409)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[409]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52304,24 +36743,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static + [Slot(409)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[409]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52361,18 +36787,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static + [Slot(409)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[409]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52411,18 +36830,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2i")] - public static + [Slot(410)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, EntryPoints[410]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52462,18 +36874,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2i")] - public static + [Slot(410)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, EntryPoints[410]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52512,24 +36917,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static + [Slot(411)] + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[411]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52569,18 +36961,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static + [Slot(411)] + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[411]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52620,24 +37005,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static + [Slot(411)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[411]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52677,18 +37049,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static + [Slot(411)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[411]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52728,18 +37093,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2ui")] - public static + [Slot(412)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, EntryPoints[412]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52779,24 +37137,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] - public static + [Slot(413)] + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[413]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52836,24 +37181,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] - public static + [Slot(413)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[413]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52893,18 +37225,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] - public static + [Slot(413)] + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[413]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52943,18 +37268,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3d")] - public static + [Slot(414)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Double v0, Double v1, Double v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, EntryPoints[414]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52994,18 +37312,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3d")] - public static + [Slot(414)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Double v0, Double v1, Double v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, EntryPoints[414]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53044,24 +37355,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static + [Slot(415)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[415]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53100,24 +37398,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static + [Slot(415)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[415]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53157,18 +37442,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static + [Slot(415)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[415]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53208,24 +37486,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static + [Slot(415)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[415]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53265,24 +37530,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static + [Slot(415)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[415]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53322,18 +37574,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static + [Slot(415)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[415]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53372,18 +37617,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3f")] - public static + [Slot(416)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[416]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53423,18 +37661,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3f")] - public static + [Slot(416)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[416]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53473,24 +37704,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static + [Slot(417)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[417]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53529,24 +37747,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static + [Slot(417)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[417]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53586,18 +37791,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static + [Slot(417)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[417]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53637,24 +37835,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static + [Slot(417)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[417]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53694,24 +37879,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static + [Slot(417)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[417]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53751,18 +37923,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static + [Slot(417)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[417]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53801,18 +37966,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3i")] - public static + [Slot(418)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[418]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53852,18 +38010,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3i")] - public static + [Slot(418)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[418]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53902,24 +38053,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static + [Slot(419)] + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[419]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53958,24 +38096,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static + [Slot(419)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[419]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54015,18 +38140,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static + [Slot(419)] + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[419]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54066,24 +38184,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static + [Slot(419)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[419]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54123,24 +38228,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static + [Slot(419)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[419]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54180,18 +38272,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static + [Slot(419)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[419]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54231,18 +38316,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3ui")] - public static + [Slot(420)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, EntryPoints[420]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54282,24 +38360,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] - public static + [Slot(421)] + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[421]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54339,24 +38404,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] - public static + [Slot(421)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[421]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54396,18 +38448,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] - public static + [Slot(421)] + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[421]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54446,18 +38491,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4d")] - public static + [Slot(422)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3, EntryPoints[422]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54497,18 +38535,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4d")] - public static + [Slot(422)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3, EntryPoints[422]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54547,24 +38578,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static + [Slot(423)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[423]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54603,24 +38621,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static + [Slot(423)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[423]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54660,18 +38665,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static + [Slot(423)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[423]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54711,24 +38709,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static + [Slot(423)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[423]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54768,24 +38753,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static + [Slot(423)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[423]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54825,18 +38797,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static + [Slot(423)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[423]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54875,18 +38840,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4f")] - public static + [Slot(424)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[424]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54926,18 +38884,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4f")] - public static + [Slot(424)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[424]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54976,24 +38927,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static + [Slot(425)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[425]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55032,24 +38970,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static + [Slot(425)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[425]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55089,18 +39014,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static + [Slot(425)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[425]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55140,24 +39058,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static + [Slot(425)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[425]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55197,24 +39102,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static + [Slot(425)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[425]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55254,18 +39146,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static + [Slot(425)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[425]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55304,18 +39189,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4i")] - public static + [Slot(426)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[426]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55355,18 +39233,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4i")] - public static + [Slot(426)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[426]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55405,24 +39276,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static + [Slot(427)] + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[427]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55461,24 +39319,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static + [Slot(427)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[427]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55518,18 +39363,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static + [Slot(427)] + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[427]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55569,24 +39407,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static + [Slot(427)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[427]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55626,24 +39451,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static + [Slot(427)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[427]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55683,18 +39495,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static + [Slot(427)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[427]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55734,18 +39539,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4ui")] - public static + [Slot(428)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3, EntryPoints[428]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55785,24 +39583,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] - public static + [Slot(429)] + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[429]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55842,24 +39627,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] - public static + [Slot(429)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[429]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55899,2142 +39671,947 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] - public static + [Slot(429)] + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (IntPtr)value, EntryPoints[429]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(432)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[432]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(432)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[432]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(432)] + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[432]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(432)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[432]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(432)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[432]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(432)] + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[432]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(433)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[433]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(433)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[433]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(433)] + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[433]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(433)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[433]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(433)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[433]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(433)] + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[433]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(434)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[434]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(434)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[434]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(434)] + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[434]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(434)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[434]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(434)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[434]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(434)] + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[434]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(435)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[435]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(435)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[435]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(435)] + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[435]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(435)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[435]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(435)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[435]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(435)] + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[435]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(436)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[436]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(436)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[436]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(436)] + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[436]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(436)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[436]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(436)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[436]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(436)] + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[436]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(437)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[437]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(437)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[437]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(437)] + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[437]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(437)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[437]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(437)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[437]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(437)] + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[437]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(438)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[438]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(438)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[438]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(438)] + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[438]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(438)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[438]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(438)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[438]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(438)] + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[438]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(439)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[439]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(439)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[439]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(439)] + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[439]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(439)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[439]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(439)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[439]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(439)] + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[439]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(440)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[440]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(440)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[440]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(440)] + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[440]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(440)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[440]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(440)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[440]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(440)] + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[440]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(441)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[441]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(441)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[441]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(441)] + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[441]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(441)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[441]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(441)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[441]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(441)] + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[441]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(442)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[442]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(442)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[442]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(442)] + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[442]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(442)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[442]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(442)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[442]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(442)] + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[442]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(443)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[443]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(443)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[443]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(443)] + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[443]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(443)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[443]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(443)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[443]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(443)] + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[443]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(444)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[444]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(444)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[444]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(444)] + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[444]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(444)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[444]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(444)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[444]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(444)] + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[444]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(445)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[445]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(445)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[445]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(445)] + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[445]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(445)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[445]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(445)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[445]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(445)] + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[445]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(446)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[446]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(446)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[446]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(446)] + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[446]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(446)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[446]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(446)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[446]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(446)] + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[446]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(447)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[447]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(447)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[447]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(447)] + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[447]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(447)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[447]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(447)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[447]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(447)] + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[447]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(448)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[448]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(448)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[448]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(448)] + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[448]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(448)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[448]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(448)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[448]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(448)] + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[448]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(449)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[449]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(449)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[449]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(449)] + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[449]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(449)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[449]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(449)] + public static extern 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) - { - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[449]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(449)] + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[449]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -58045,18 +40622,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_provoking_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glProvokingVertex")] - public static + [Slot(450)] + public static extern void ProvokingVertex(OpenTK.Graphics.OpenGL4.ProvokingVertexMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ProvokingVertexMode)mode, EntryPoints[450]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Push a named debug group into the command stream @@ -58082,18 +40652,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glPushDebugGroup")] - public static + [Slot(451)] + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.DebugSourceExternal)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[451]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Push a named debug group into the command stream @@ -58120,18 +40683,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glPushDebugGroup")] - public static + [Slot(451)] + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.DebugSourceExternal)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[451]); - #if DEBUG - } - #endif - } + ; + /// [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. @@ -58147,18 +40703,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glQueryCounter")] - public static + [Slot(453)] + public static extern void QueryCounter(Int32 id, OpenTK.Graphics.OpenGL4.QueryCounterTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.QueryCounterTarget)target, EntryPoints[453]); - #if DEBUG - } - #endif - } + ; + /// [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. @@ -58175,18 +40724,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glQueryCounter")] - public static + [Slot(453)] + public static extern void QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL4.QueryCounterTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)id, (OpenTK.Graphics.OpenGL4.QueryCounterTarget)target, EntryPoints[453]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Select a color buffer source for pixels @@ -58197,18 +40739,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadBuffer")] - public static + [Slot(454)] + public static extern void ReadBuffer(OpenTK.Graphics.OpenGL4.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ReadBufferMode)mode, EntryPoints[454]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -58239,18 +40774,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(456)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels, EntryPoints[456]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -58281,27 +40809,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(456)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[456]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -58332,27 +40845,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(456)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[456]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -58383,27 +40881,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(456)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[456]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -58434,45 +40917,22 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static + [Slot(456)] + 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 - { - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject(), EntryPoints[456]); - 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 + [Slot(457)] + public static extern void ReleaseShaderCompiler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[457]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -58498,18 +40958,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorage")] - public static + [Slot(458)] + public static extern void RenderbufferStorage(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL4.RenderbufferStorage)internalformat, (Int32)width, (Int32)height, EntryPoints[458]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -58540,18 +40993,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")] - public static + [Slot(459)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.RenderbufferStorage)internalformat, (Int32)width, (Int32)height, EntryPoints[459]); - #if DEBUG - } - #endif - } + ; + /// /// Reset histogram table entries to zero @@ -58562,18 +41008,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glResetHistogram")] - public static + [Slot(460)] + public static extern void ResetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.HistogramTarget)target, EntryPoints[460]); - #if DEBUG - } - #endif - } + ; + /// /// Reset minmax table entries to initial values @@ -58584,35 +41023,21 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glResetMinmax")] - public static + [Slot(461)] + public static extern void ResetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, EntryPoints[461]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(462)] + public static extern void ResumeTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[462]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.3] /// Specify multisample coverage parameters @@ -58628,18 +41053,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glSampleCoverage")] - public static + [Slot(463)] + public static extern void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Single)value, (bool)invert, EntryPoints[463]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Set the value of a sub-word of the sample mask @@ -58655,18 +41073,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glSampleMaski")] - public static + [Slot(464)] + public static extern void SampleMask(Int32 index, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)mask, EntryPoints[464]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Set the value of a sub-word of the sample mask @@ -58683,18 +41094,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glSampleMaski")] - public static + [Slot(464)] + public static extern void SampleMask(UInt32 index, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)mask, EntryPoints[464]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58720,18 +41124,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterf")] - public static + [Slot(465)] + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single)param, EntryPoints[465]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58758,18 +41155,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterf")] - public static + [Slot(465)] + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single)param, EntryPoints[465]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58795,24 +41185,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(466)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[466]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58839,18 +41216,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(466)] + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param, EntryPoints[466]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58877,24 +41247,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(466)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[466]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58921,18 +41278,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static + [Slot(466)] + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param, EntryPoints[466]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58958,18 +41308,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteri")] - public static + [Slot(467)] + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32)param, EntryPoints[467]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58996,196 +41339,90 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteri")] - public static + [Slot(467)] + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32)param, EntryPoints[467]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(468)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[468]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(468)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[468]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(468)] + public static extern unsafe void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param, EntryPoints[468]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(468)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[468]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(468)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[468]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(468)] + public static extern unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param, EntryPoints[468]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(469)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[469]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(469)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[469]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(469)] + public static extern unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, UInt32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param, EntryPoints[469]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -59211,24 +41448,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(470)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[470]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -59255,18 +41479,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(470)] + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param, EntryPoints[470]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -59293,24 +41510,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(470)] + public static extern 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) - { - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param_ptr, EntryPoints[470]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -59337,18 +41541,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static + [Slot(470)] + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (IntPtr)param, EntryPoints[470]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Define the scissor box @@ -59364,18 +41561,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glScissor")] - public static + [Slot(471)] + public static extern void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[471]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -59396,24 +41586,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static + [Slot(472)] + public static extern void ScissorArray(Int32 first, Int32 count, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[472]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -59434,24 +41611,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static + [Slot(472)] + public static extern void ScissorArray(Int32 first, Int32 count, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[472]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -59473,18 +41637,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static + [Slot(472)] + public static extern unsafe void ScissorArray(Int32 first, Int32 count, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v, EntryPoints[472]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -59506,24 +41663,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static + [Slot(472)] + public static extern void ScissorArray(UInt32 first, Int32 count, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[472]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -59545,24 +41689,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static + [Slot(472)] + public static extern void ScissorArray(UInt32 first, Int32 count, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[472]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -59584,18 +41715,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static + [Slot(472)] + public static extern unsafe void ScissorArray(UInt32 first, Int32 count, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v, EntryPoints[472]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59621,18 +41745,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexed")] - public static + [Slot(473)] + public static extern void ScissorIndexed(Int32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height, EntryPoints[473]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59659,18 +41776,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexed")] - public static + [Slot(473)] + public static extern void ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height, EntryPoints[473]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59696,24 +41806,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static + [Slot(474)] + public static extern void ScissorIndexed(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[474]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59739,24 +41836,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static + [Slot(474)] + public static extern void ScissorIndexed(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[474]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59783,18 +41867,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static + [Slot(474)] + public static extern unsafe void ScissorIndexed(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[474]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59821,24 +41898,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static + [Slot(474)] + public static extern void ScissorIndexed(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[474]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59865,24 +41929,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static + [Slot(474)] + public static extern void ScissorIndexed(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[474]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59909,81 +41960,46 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static + [Slot(474)] + public static extern unsafe void ScissorIndexed(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[474]); - #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 = "glSecondaryColorP3ui")] - public static + [Slot(475)] + public static extern void SecondaryColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color, EntryPoints[475]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(475)] + public static extern void SecondaryColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color, EntryPoints[475]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(476)] + public static extern unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)color, EntryPoints[476]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(476)] + public static extern unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)color, EntryPoints[476]); - #if DEBUG - } - #endif - } + ; + /// /// Define a separable two-dimensional convolution filter @@ -60029,18 +42045,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static + [Slot(477)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[477]); - #if DEBUG - } - #endif - } + ; + /// /// Define a separable two-dimensional convolution filter @@ -60086,30 +42095,13 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static + [Slot(477)] + 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 - { - InteropHelper.Call((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(), EntryPoints[477]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a separable two-dimensional convolution filter @@ -60155,30 +42147,13 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static + [Slot(477)] + 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 - { - InteropHelper.Call((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(), EntryPoints[477]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a separable two-dimensional convolution filter @@ -60224,30 +42199,13 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static + [Slot(477)] + 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 - { - InteropHelper.Call((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(), EntryPoints[477]); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// /// Define a separable two-dimensional convolution filter @@ -60293,32 +42251,13 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static + [Slot(477)] + 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 - { - InteropHelper.Call((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(), EntryPoints[477]); - 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 @@ -60349,24 +42288,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[478]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60397,33 +42323,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60454,33 +42359,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60511,33 +42395,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60568,34 +42431,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - 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 @@ -60626,24 +42467,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[478]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60674,33 +42502,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60731,33 +42538,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60788,33 +42574,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60845,34 +42610,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - 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 @@ -60904,18 +42647,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[478]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60947,27 +42683,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60999,27 +42720,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61051,27 +42757,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61103,28 +42794,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - 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 @@ -61156,24 +42831,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[478]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61205,33 +42867,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61263,33 +42904,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61321,33 +42941,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61379,34 +42978,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - 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 @@ -61438,24 +43015,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + public static extern 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) - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[478]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61487,33 +43051,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61545,33 +43088,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61603,33 +43125,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61661,34 +43162,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - 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 @@ -61720,18 +43199,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length, EntryPoints[478]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61763,27 +43235,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61815,27 +43272,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61867,27 +43309,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61919,28 +43346,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static + [Slot(478)] + 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 - { - InteropHelper.Call((Int32)count, (IntPtr)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length, EntryPoints[478]); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Replaces the source code in a shader object @@ -61966,24 +43377,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(479)] + public static extern void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[479]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Replaces the source code in a shader object @@ -62009,24 +43407,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(479)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[479]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Replaces the source code in a shader object @@ -62053,18 +43438,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(479)] + public static extern unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length, EntryPoints[479]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Replaces the source code in a shader object @@ -62091,24 +43469,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(479)] + public static extern void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[479]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Replaces the source code in a shader object @@ -62135,24 +43500,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(479)] + public static extern 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) - { - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length_ptr, EntryPoints[479]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Replaces the source code in a shader object @@ -62179,18 +43531,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static + [Slot(479)] + public static extern unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)shader, (Int32)count, (String[])@string, (IntPtr)length, EntryPoints[479]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_shader_storage_buffer_object|VERSION_4_3] /// Change an active shader storage block binding @@ -62211,18 +43556,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_storage_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glShaderStorageBlockBinding")] - public static + [Slot(480)] + public static extern void ShaderStorageBlockBinding(Int32 program, Int32 storageBlockIndex, Int32 storageBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)storageBlockIndex, (UInt32)storageBlockBinding, EntryPoints[480]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_shader_storage_buffer_object|VERSION_4_3] /// Change an active shader storage block binding @@ -62244,18 +43582,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_storage_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glShaderStorageBlockBinding")] - public static + [Slot(480)] + public static extern void ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)storageBlockIndex, (UInt32)storageBlockBinding, EntryPoints[480]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -62276,18 +43607,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static + [Slot(481)] + public static extern void StencilFunc(OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[481]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -62309,18 +43633,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static + [Slot(481)] + public static extern void StencilFunc(OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[481]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Set front and/or back function and reference value for stencil testing @@ -62346,18 +43663,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static + [Slot(482)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.StencilFace)face, (OpenTK.Graphics.OpenGL4.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[482]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Set front and/or back function and reference value for stencil testing @@ -62384,18 +43694,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static + [Slot(482)] + public static extern void StencilFuncSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.StencilFace)face, (OpenTK.Graphics.OpenGL4.StencilFunction)func, (Int32)@ref, (UInt32)mask, EntryPoints[482]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Control the front and back writing of individual bits in the stencil planes @@ -62406,18 +43709,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilMask")] - public static + [Slot(483)] + public static extern void StencilMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[483]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Control the front and back writing of individual bits in the stencil planes @@ -62429,18 +43725,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilMask")] - public static + [Slot(483)] + public static extern void StencilMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)mask, EntryPoints[483]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -62456,18 +43745,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static + [Slot(484)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.StencilFace)face, (UInt32)mask, EntryPoints[484]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -62484,18 +43766,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static + [Slot(484)] + public static extern void StencilMaskSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.StencilFace)face, (UInt32)mask, EntryPoints[484]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set front and back stencil test actions @@ -62516,18 +43791,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilOp")] - public static + [Slot(485)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.StencilOp)fail, (OpenTK.Graphics.OpenGL4.StencilOp)zfail, (OpenTK.Graphics.OpenGL4.StencilOp)zpass, EntryPoints[485]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Set front and/or back stencil test actions @@ -62553,18 +43821,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static + [Slot(486)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.StencilFace)face, (OpenTK.Graphics.OpenGL4.StencilOp)sfail, (OpenTK.Graphics.OpenGL4.StencilOp)dpfail, (OpenTK.Graphics.OpenGL4.StencilOp)dppass, EntryPoints[486]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Attach the storage for a buffer object to the active buffer texture @@ -62585,18 +43846,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glTexBuffer")] - public static + [Slot(487)] + public static extern void TexBuffer(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (UInt32)buffer, EntryPoints[487]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1] /// Attach the storage for a buffer object to the active buffer texture @@ -62618,18 +43872,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glTexBuffer")] - public static + [Slot(487)] + public static extern void TexBuffer(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (UInt32)buffer, EntryPoints[487]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_texture_buffer_range|VERSION_4_3] /// Bind a range of a buffer's data store to a buffer texture @@ -62660,18 +43907,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_buffer_range|VERSION_4_3", Version = "4.3", EntryPoint = "glTexBufferRange")] - public static + [Slot(488)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[488]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_texture_buffer_range|VERSION_4_3] /// Bind a range of a buffer's data store to a buffer texture @@ -62703,270 +43943,151 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_buffer_range|VERSION_4_3", Version = "4.3", EntryPoint = "glTexBufferRange")] - public static + [Slot(488)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size, EntryPoints[488]); - #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 = "glTexCoordP1ui")] - public static + [Slot(489)] + public static extern void TexCoordP1(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[489]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(489)] + public static extern void TexCoordP1(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[489]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(490)] + public static extern unsafe void TexCoordP1(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[490]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(490)] + public static extern unsafe void TexCoordP1(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[490]); - #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 = "glTexCoordP2ui")] - public static + [Slot(491)] + public static extern void TexCoordP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[491]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(491)] + public static extern void TexCoordP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[491]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(492)] + public static extern unsafe void TexCoordP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[492]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(492)] + public static extern unsafe void TexCoordP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[492]); - #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 = "glTexCoordP3ui")] - public static + [Slot(493)] + public static extern void TexCoordP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[493]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(493)] + public static extern void TexCoordP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[493]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(494)] + public static extern unsafe void TexCoordP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[494]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(494)] + public static extern unsafe void TexCoordP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[494]); - #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 = "glTexCoordP4ui")] - public static + [Slot(495)] + public static extern void TexCoordP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[495]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(495)] + public static extern void TexCoordP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords, EntryPoints[495]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(496)] + public static extern unsafe void TexCoordP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[496]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(496)] + public static extern unsafe void TexCoordP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)coords, EntryPoints[496]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -63012,18 +44133,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static + [Slot(497)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[497]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -63069,27 +44183,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static + [Slot(497)] + 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 - { - InteropHelper.Call((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(), EntryPoints[497]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -63135,27 +44234,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static + [Slot(497)] + 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 - { - InteropHelper.Call((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(), EntryPoints[497]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -63201,27 +44285,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static + [Slot(497)] + 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 - { - InteropHelper.Call((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(), EntryPoints[497]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -63267,28 +44336,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static + [Slot(497)] + 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 - { - InteropHelper.Call((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(), EntryPoints[497]); - pixels = (T7)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -63339,18 +44392,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(498)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[498]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -63401,27 +44447,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(498)] + 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 - { - InteropHelper.Call((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(), EntryPoints[498]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -63472,27 +44503,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(498)] + 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 - { - InteropHelper.Call((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(), EntryPoints[498]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -63543,27 +44559,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(498)] + 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 - { - InteropHelper.Call((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(), EntryPoints[498]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -63614,28 +44615,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static + [Slot(498)] + 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 - { - InteropHelper.Call((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(), EntryPoints[498]); - 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 @@ -63671,18 +44656,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glTexImage2DMultisample")] - public static + [Slot(499)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations, EntryPoints[499]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -63738,18 +44716,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static + [Slot(500)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[500]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -63805,27 +44776,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static + [Slot(500)] + 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 - { - InteropHelper.Call((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(), EntryPoints[500]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -63881,27 +44837,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static + [Slot(500)] + 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 - { - InteropHelper.Call((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(), EntryPoints[500]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -63957,27 +44898,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static + [Slot(500)] + 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 - { - InteropHelper.Call((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(), EntryPoints[500]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -64033,28 +44959,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static + [Slot(500)] + 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 - { - InteropHelper.Call((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(), EntryPoints[500]); - 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 @@ -64090,18 +45000,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glTexImage3DMultisample")] - public static + [Slot(501)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations, EntryPoints[501]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -64130,18 +45033,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterf")] - public static + [Slot(503)] + public static extern void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Single)param, EntryPoints[503]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -64170,24 +45066,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static + [Slot(504)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[504]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -64217,18 +45100,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static + [Slot(504)] + public static extern unsafe void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (IntPtr)@params, EntryPoints[504]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -64257,136 +45133,63 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteri")] - public static + [Slot(505)] + public static extern void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Int32)param, EntryPoints[505]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static + [Slot(506)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[506]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static + [Slot(506)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[506]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static + [Slot(506)] + public static extern unsafe void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (IntPtr)@params, EntryPoints[506]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static + [Slot(507)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[507]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static + [Slot(507)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[507]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static + [Slot(507)] + public static extern unsafe void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (IntPtr)@params, EntryPoints[507]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -64415,24 +45218,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static + [Slot(508)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (IntPtr)@params_ptr, EntryPoints[508]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set texture parameters @@ -64462,18 +45252,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static + [Slot(508)] + public static extern unsafe void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (IntPtr)@params, EntryPoints[508]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.2 and ARB_texture_storage|VERSION_4_2] /// Simultaneously specify storage for all levels of a one-dimensional texture @@ -64499,18 +45282,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_storage|VERSION_4_2", Version = "4.2", EntryPoint = "glTexStorage1D")] - public static + [Slot(509)] + public static extern void TexStorage1D(OpenTK.Graphics.OpenGL4.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget1d)target, (Int32)levels, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, EntryPoints[509]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -64541,18 +45317,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_storage|VERSION_4_2", Version = "4.2", EntryPoint = "glTexStorage2D")] - public static + [Slot(510)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, EntryPoints[510]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_texture_storage_multisample|VERSION_4_3] /// Specify storage for a two-dimensional multisample texture @@ -64588,18 +45357,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_storage_multisample|VERSION_4_3", Version = "4.3", EntryPoint = "glTexStorage2DMultisample")] - public static + [Slot(511)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTargetMultisample2d)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations, EntryPoints[511]); - #if DEBUG - } - #endif - } + ; + /// [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 @@ -64635,18 +45397,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_storage|VERSION_4_2", Version = "4.2", EntryPoint = "glTexStorage3D")] - public static + [Slot(512)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, EntryPoints[512]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_texture_storage_multisample|VERSION_4_3] /// Specify storage for a two-dimensional multisample array texture @@ -64687,18 +45442,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_storage_multisample|VERSION_4_3", Version = "4.3", EntryPoint = "glTexStorage3DMultisample")] - public static + [Slot(513)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTargetMultisample3d)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations, EntryPoints[513]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -64739,18 +45487,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static + [Slot(514)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels, EntryPoints[514]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -64791,27 +45532,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static + [Slot(514)] + 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 - { - InteropHelper.Call((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(), EntryPoints[514]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -64852,27 +45578,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static + [Slot(514)] + 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 - { - InteropHelper.Call((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(), EntryPoints[514]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -64913,27 +45624,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static + [Slot(514)] + 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 - { - InteropHelper.Call((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(), EntryPoints[514]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -64974,28 +45670,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static + [Slot(514)] + 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 - { - InteropHelper.Call((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(), EntryPoints[514]); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -65046,18 +45726,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static + [Slot(515)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[515]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -65108,27 +45781,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static + [Slot(515)] + 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 - { - InteropHelper.Call((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(), EntryPoints[515]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -65179,27 +45837,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static + [Slot(515)] + 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 - { - InteropHelper.Call((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(), EntryPoints[515]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -65250,27 +45893,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static + [Slot(515)] + 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 - { - InteropHelper.Call((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(), EntryPoints[515]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -65321,28 +45949,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static + [Slot(515)] + 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 - { - InteropHelper.Call((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(), EntryPoints[515]); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -65403,18 +46015,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static + [Slot(516)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((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, EntryPoints[516]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -65475,27 +46080,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static + [Slot(516)] + 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 - { - InteropHelper.Call((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(), EntryPoints[516]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -65556,27 +46146,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static + [Slot(516)] + 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 - { - InteropHelper.Call((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(), EntryPoints[516]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -65637,27 +46212,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static + [Slot(516)] + 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 - { - InteropHelper.Call((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(), EntryPoints[516]); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -65718,28 +46278,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static + [Slot(516)] + 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 - { - InteropHelper.Call((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(), EntryPoints[516]); - 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 @@ -65785,18 +46329,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_view|VERSION_4_3", Version = "4.3", EntryPoint = "glTextureView")] - public static + [Slot(517)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL4.TextureTarget)target, (UInt32)origtexture, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (UInt32)minlevel, (UInt32)numlevels, (UInt32)minlayer, (UInt32)numlayers, EntryPoints[517]); - #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 @@ -65843,18 +46380,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_view|VERSION_4_3", Version = "4.3", EntryPoint = "glTextureView")] - public static + [Slot(517)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)texture, (OpenTK.Graphics.OpenGL4.TextureTarget)target, (UInt32)origtexture, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (UInt32)minlevel, (UInt32)numlevels, (UInt32)minlayer, (UInt32)numlayers, EntryPoints[517]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify values to record in transform feedback buffers @@ -65880,18 +46410,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static + [Slot(518)] + public static extern void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL4.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL4.TransformFeedbackMode)bufferMode, EntryPoints[518]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify values to record in transform feedback buffers @@ -65918,18 +46441,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static + [Slot(518)] + public static extern void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL4.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL4.TransformFeedbackMode)bufferMode, EntryPoints[518]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -65963,18 +46479,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1d")] - public static + [Slot(519)] + public static extern void Uniform1(Int32 location, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Double)x, EntryPoints[519]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66008,24 +46517,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1dv")] - public static + [Slot(520)] + public static extern void Uniform1(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[520]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66059,24 +46555,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1dv")] - public static + [Slot(520)] + public static extern void Uniform1(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[520]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66111,18 +46594,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1dv")] - public static + [Slot(520)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[520]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66156,18 +46632,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1f")] - public static + [Slot(521)] + public static extern void Uniform1(Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, EntryPoints[521]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66201,24 +46670,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static + [Slot(522)] + public static extern void Uniform1(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[522]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66252,24 +46708,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static + [Slot(522)] + public static extern void Uniform1(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[522]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66304,18 +46747,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static + [Slot(522)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[522]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66349,18 +46785,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1i")] - public static + [Slot(523)] + public static extern void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, EntryPoints[523]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66394,24 +46823,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static + [Slot(524)] + public static extern void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[524]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66445,24 +46861,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static + [Slot(524)] + public static extern void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[524]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66497,18 +46900,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static + [Slot(524)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[524]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -66543,18 +46939,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1ui")] - public static + [Slot(525)] + public static extern void Uniform1(Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, EntryPoints[525]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -66589,24 +46978,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static + [Slot(526)] + public static extern void Uniform1(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[526]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -66641,24 +47017,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static + [Slot(526)] + public static extern void Uniform1(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[526]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -66693,18 +47056,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static + [Slot(526)] + public static extern unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[526]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66738,18 +47094,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2d")] - public static + [Slot(527)] + public static extern void Uniform2(Int32 location, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Double)x, (Double)y, EntryPoints[527]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66783,24 +47132,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2dv")] - public static + [Slot(528)] + public static extern void Uniform2(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[528]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66834,24 +47170,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2dv")] - public static + [Slot(528)] + public static extern void Uniform2(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[528]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66886,18 +47209,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2dv")] - public static + [Slot(528)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[528]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66931,18 +47247,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2f")] - public static + [Slot(529)] + public static extern void Uniform2(Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, EntryPoints[529]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66976,24 +47285,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static + [Slot(530)] + public static extern void Uniform2(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[530]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67027,24 +47323,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static + [Slot(530)] + public static extern void Uniform2(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[530]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67079,18 +47362,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static + [Slot(530)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[530]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67124,18 +47400,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2i")] - public static + [Slot(531)] + public static extern void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, EntryPoints[531]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67169,24 +47438,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static + [Slot(532)] + public static extern void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[532]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67221,18 +47477,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static + [Slot(532)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[532]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -67267,18 +47516,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2ui")] - public static + [Slot(533)] + public static extern void Uniform2(Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, EntryPoints[533]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -67313,24 +47555,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static + [Slot(534)] + public static extern void Uniform2(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[534]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -67365,24 +47594,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static + [Slot(534)] + public static extern void Uniform2(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[534]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -67417,18 +47633,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static + [Slot(534)] + public static extern unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[534]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -67462,18 +47671,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3d")] - public static + [Slot(535)] + public static extern void Uniform3(Int32 location, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Double)x, (Double)y, (Double)z, EntryPoints[535]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -67507,24 +47709,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3dv")] - public static + [Slot(536)] + public static extern void Uniform3(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[536]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -67558,24 +47747,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3dv")] - public static + [Slot(536)] + public static extern void Uniform3(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[536]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -67610,18 +47786,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3dv")] - public static + [Slot(536)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[536]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67655,18 +47824,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3f")] - public static + [Slot(537)] + public static extern void Uniform3(Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, (Single)v2, EntryPoints[537]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67700,24 +47862,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static + [Slot(538)] + public static extern void Uniform3(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[538]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67751,24 +47900,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static + [Slot(538)] + public static extern void Uniform3(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[538]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67803,18 +47939,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static + [Slot(538)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[538]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67848,18 +47977,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3i")] - public static + [Slot(539)] + public static extern void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, EntryPoints[539]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67893,24 +48015,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static + [Slot(540)] + public static extern void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[540]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67944,24 +48053,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static + [Slot(540)] + public static extern void Uniform3(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[540]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67996,18 +48092,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static + [Slot(540)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[540]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -68042,18 +48131,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3ui")] - public static + [Slot(541)] + public static extern void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, EntryPoints[541]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -68088,24 +48170,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static + [Slot(542)] + public static extern void Uniform3(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[542]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -68140,24 +48209,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static + [Slot(542)] + public static extern void Uniform3(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[542]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -68192,18 +48248,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static + [Slot(542)] + public static extern unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[542]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -68237,18 +48286,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4d")] - public static + [Slot(543)] + public static extern void Uniform4(Int32 location, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[543]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -68282,24 +48324,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4dv")] - public static + [Slot(544)] + public static extern void Uniform4(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[544]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -68333,24 +48362,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4dv")] - public static + [Slot(544)] + public static extern void Uniform4(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[544]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -68385,18 +48401,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4dv")] - public static + [Slot(544)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[544]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -68430,18 +48439,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4f")] - public static + [Slot(545)] + public static extern void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3, EntryPoints[545]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -68475,24 +48477,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static + [Slot(546)] + public static extern void Uniform4(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[546]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -68526,24 +48515,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static + [Slot(546)] + public static extern void Uniform4(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[546]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -68578,18 +48554,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static + [Slot(546)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[546]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -68623,18 +48592,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4i")] - public static + [Slot(547)] + public static extern void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3, EntryPoints[547]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -68668,24 +48630,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static + [Slot(548)] + public static extern void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[548]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -68719,24 +48668,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static + [Slot(548)] + public static extern void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[548]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -68771,18 +48707,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static + [Slot(548)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[548]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -68817,18 +48746,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4ui")] - public static + [Slot(549)] + public static extern void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3, EntryPoints[549]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -68863,24 +48785,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static + [Slot(550)] + public static extern void Uniform4(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[550]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -68915,24 +48824,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static + [Slot(550)] + public static extern void Uniform4(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value_ptr, EntryPoints[550]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -68967,18 +48863,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static + [Slot(550)] + public static extern unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (IntPtr)value, EntryPoints[550]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Assign a binding point to an active uniform block @@ -68999,18 +48888,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glUniformBlockBinding")] - public static + [Slot(551)] + public static extern void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding, EntryPoints[551]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Assign a binding point to an active uniform block @@ -69032,1062 +48914,461 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glUniformBlockBinding")] - public static + [Slot(551)] + public static extern void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding, EntryPoints[551]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(554)] + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[554]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(554)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[554]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(554)] + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[554]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static + [Slot(555)] + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[555]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static + [Slot(555)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[555]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static + [Slot(555)] + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[555]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(556)] + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[556]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(556)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[556]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(556)] + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[556]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static + [Slot(557)] + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[557]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static + [Slot(557)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[557]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static + [Slot(557)] + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[557]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(558)] + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[558]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(558)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[558]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(558)] + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[558]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static + [Slot(559)] + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[559]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static + [Slot(559)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[559]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static + [Slot(559)] + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[559]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(560)] + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[560]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(560)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[560]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(560)] + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[560]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static + [Slot(561)] + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[561]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static + [Slot(561)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[561]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static + [Slot(561)] + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[561]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(562)] + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[562]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(562)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[562]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(562)] + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[562]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static + [Slot(563)] + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[563]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static + [Slot(563)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[563]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static + [Slot(563)] + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[563]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(564)] + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[564]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(564)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[564]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(564)] + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[564]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static + [Slot(565)] + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[565]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static + [Slot(565)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[565]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static + [Slot(565)] + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[565]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(566)] + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(566)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[566]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(566)] + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[566]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static + [Slot(567)] + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[567]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static + [Slot(567)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[567]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static + [Slot(567)] + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[567]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(568)] + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[568]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(568)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[568]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(568)] + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[568]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static + [Slot(569)] + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[569]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static + [Slot(569)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[569]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static + [Slot(569)] + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[569]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(570)] + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[570]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(570)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[570]); - } - } - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(570)] + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[570]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static + [Slot(571)] + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[571]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static + [Slot(571)] + public static extern 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) - { - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value_ptr, EntryPoints[571]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static + [Slot(571)] + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)location, (Int32)count, (bool)transpose, (IntPtr)value, EntryPoints[571]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -70108,24 +49389,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static + [Slot(572)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (IntPtr)indices_ptr, EntryPoints[572]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -70146,24 +49414,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static + [Slot(572)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (IntPtr)indices_ptr, EntryPoints[572]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -70185,18 +49440,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static + [Slot(572)] + public static extern unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, Int32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (IntPtr)indices, EntryPoints[572]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -70218,24 +49466,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static + [Slot(572)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (IntPtr)indices_ptr, EntryPoints[572]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -70257,24 +49492,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static + [Slot(572)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (IntPtr)indices_ptr, EntryPoints[572]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -70296,33 +49518,19 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static + [Slot(572)] + public static extern unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, UInt32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (IntPtr)indices, EntryPoints[572]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.5] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glUnmapBuffer")] - public static + [Slot(573)] + public static extern bool UnmapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((OpenTK.Graphics.OpenGL4.BufferTarget)target, EntryPoints[573]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Installs a program object as part of current rendering state @@ -70333,18 +49541,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static + [Slot(574)] + public static extern void UseProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[574]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Installs a program object as part of current rendering state @@ -70356,18 +49557,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static + [Slot(574)] + public static extern void UseProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[574]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind stages of a program object to a program pipeline @@ -70388,18 +49582,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glUseProgramStages")] - public static + [Slot(575)] + public static extern void UseProgramStages(Int32 pipeline, OpenTK.Graphics.OpenGL4.ProgramStageMask stages, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramStageMask)stages, (UInt32)program, EntryPoints[575]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind stages of a program object to a program pipeline @@ -70421,18 +49608,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glUseProgramStages")] - public static + [Slot(575)] + public static extern void UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramStageMask stages, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramStageMask)stages, (UInt32)program, EntryPoints[575]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Validates a program object @@ -70443,18 +49623,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static + [Slot(576)] + public static extern void ValidateProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[576]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Validates a program object @@ -70466,18 +49639,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static + [Slot(576)] + public static extern void ValidateProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)program, EntryPoints[576]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Validate a program pipeline object against current GL state @@ -70488,18 +49654,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glValidateProgramPipeline")] - public static + [Slot(577)] + public static extern void ValidateProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[577]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Validate a program pipeline object against current GL state @@ -70511,18 +49670,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glValidateProgramPipeline")] - public static + [Slot(577)] + public static extern void ValidateProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)pipeline, EntryPoints[577]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70558,18 +49710,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1d")] - public static + [Slot(578)] + public static extern void VertexAttrib1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[578]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70606,18 +49751,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1d")] - public static + [Slot(578)] + public static extern void VertexAttrib1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[578]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70654,18 +49792,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] - public static + [Slot(579)] + public static extern unsafe void VertexAttrib1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[579]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70702,18 +49833,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] - public static + [Slot(579)] + public static extern unsafe void VertexAttrib1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[579]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70749,18 +49873,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static + [Slot(580)] + public static extern void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, EntryPoints[580]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70797,18 +49914,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static + [Slot(580)] + public static extern void VertexAttrib1(UInt32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, EntryPoints[580]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70845,18 +49955,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static + [Slot(581)] + public static extern unsafe void VertexAttrib1(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[581]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70893,18 +49996,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static + [Slot(581)] + public static extern unsafe void VertexAttrib1(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[581]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70940,18 +50036,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1s")] - public static + [Slot(582)] + public static extern void VertexAttrib1(Int32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, EntryPoints[582]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70988,18 +50077,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1s")] - public static + [Slot(582)] + public static extern void VertexAttrib1(UInt32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, EntryPoints[582]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71036,18 +50118,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] - public static + [Slot(583)] + public static extern unsafe void VertexAttrib1(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[583]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71084,18 +50159,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] - public static + [Slot(583)] + public static extern unsafe void VertexAttrib1(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[583]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71131,18 +50199,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2d")] - public static + [Slot(584)] + public static extern void VertexAttrib2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[584]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71179,18 +50240,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2d")] - public static + [Slot(584)] + public static extern void VertexAttrib2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[584]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71226,24 +50280,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static + [Slot(585)] + public static extern void VertexAttrib2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[585]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71279,24 +50320,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static + [Slot(585)] + public static extern void VertexAttrib2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[585]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71333,18 +50361,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static + [Slot(585)] + public static extern unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[585]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71381,24 +50402,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static + [Slot(585)] + public static extern void VertexAttrib2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[585]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71435,24 +50443,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static + [Slot(585)] + public static extern void VertexAttrib2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[585]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71489,18 +50484,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static + [Slot(585)] + public static extern unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[585]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71536,18 +50524,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static + [Slot(586)] + public static extern void VertexAttrib2(Int32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, EntryPoints[586]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71584,18 +50565,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static + [Slot(586)] + public static extern void VertexAttrib2(UInt32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, EntryPoints[586]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71631,24 +50605,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(587)] + public static extern void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[587]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71684,24 +50645,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(587)] + public static extern void VertexAttrib2(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[587]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71738,18 +50686,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(587)] + public static extern unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[587]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71786,24 +50727,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(587)] + public static extern void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[587]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71840,24 +50768,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(587)] + public static extern void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[587]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71894,18 +50809,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static + [Slot(587)] + public static extern unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[587]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71941,18 +50849,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2s")] - public static + [Slot(588)] + public static extern void VertexAttrib2(Int32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, EntryPoints[588]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71989,18 +50890,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2s")] - public static + [Slot(588)] + public static extern void VertexAttrib2(UInt32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, EntryPoints[588]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72036,24 +50930,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static + [Slot(589)] + public static extern void VertexAttrib2(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[589]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72089,24 +50970,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static + [Slot(589)] + public static extern void VertexAttrib2(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[589]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72143,18 +51011,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static + [Slot(589)] + public static extern unsafe void VertexAttrib2(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[589]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72191,24 +51052,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static + [Slot(589)] + public static extern void VertexAttrib2(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[589]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72245,24 +51093,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static + [Slot(589)] + public static extern void VertexAttrib2(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[589]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72299,18 +51134,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static + [Slot(589)] + public static extern unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[589]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72346,18 +51174,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3d")] - public static + [Slot(590)] + public static extern void VertexAttrib3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[590]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72394,18 +51215,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3d")] - public static + [Slot(590)] + public static extern void VertexAttrib3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[590]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72441,24 +51255,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static + [Slot(591)] + public static extern void VertexAttrib3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[591]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72494,24 +51295,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static + [Slot(591)] + public static extern void VertexAttrib3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[591]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72548,18 +51336,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static + [Slot(591)] + public static extern unsafe void VertexAttrib3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[591]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72596,24 +51377,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static + [Slot(591)] + public static extern void VertexAttrib3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[591]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72650,24 +51418,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static + [Slot(591)] + public static extern void VertexAttrib3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[591]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72704,18 +51459,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static + [Slot(591)] + public static extern unsafe void VertexAttrib3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[591]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72751,18 +51499,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static + [Slot(592)] + public static extern void VertexAttrib3(Int32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, EntryPoints[592]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72799,18 +51540,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static + [Slot(592)] + public static extern void VertexAttrib3(UInt32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, EntryPoints[592]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72846,24 +51580,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(593)] + public static extern void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[593]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72899,24 +51620,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(593)] + public static extern void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[593]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72953,18 +51661,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(593)] + public static extern unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[593]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73001,24 +51702,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(593)] + public static extern void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[593]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73055,24 +51743,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(593)] + public static extern void VertexAttrib3(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[593]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73109,18 +51784,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static + [Slot(593)] + public static extern unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[593]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73156,18 +51824,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3s")] - public static + [Slot(594)] + public static extern void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, EntryPoints[594]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73204,18 +51865,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3s")] - public static + [Slot(594)] + public static extern void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, EntryPoints[594]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73251,24 +51905,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static + [Slot(595)] + public static extern void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[595]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73304,24 +51945,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static + [Slot(595)] + public static extern void VertexAttrib3(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[595]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73358,18 +51986,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static + [Slot(595)] + public static extern unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[595]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73406,24 +52027,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static + [Slot(595)] + public static extern void VertexAttrib3(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[595]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73460,24 +52068,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static + [Slot(595)] + public static extern void VertexAttrib3(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[595]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73514,18 +52109,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static + [Slot(595)] + public static extern unsafe void VertexAttrib3(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[595]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73562,24 +52150,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static + [Slot(596)] + public static extern void VertexAttrib4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[596]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73616,24 +52191,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static + [Slot(596)] + public static extern void VertexAttrib4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[596]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73670,18 +52232,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static + [Slot(596)] + public static extern unsafe void VertexAttrib4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[596]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73717,18 +52272,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4d")] - public static + [Slot(597)] + public static extern void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[597]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73765,18 +52313,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4d")] - public static + [Slot(597)] + public static extern void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[597]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73812,24 +52353,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static + [Slot(598)] + public static extern void VertexAttrib4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[598]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73865,24 +52393,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static + [Slot(598)] + public static extern void VertexAttrib4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[598]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73919,18 +52434,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static + [Slot(598)] + public static extern unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[598]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73967,24 +52475,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static + [Slot(598)] + public static extern void VertexAttrib4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[598]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74021,24 +52516,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static + [Slot(598)] + public static extern void VertexAttrib4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[598]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74075,18 +52557,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static + [Slot(598)] + public static extern unsafe void VertexAttrib4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[598]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74122,18 +52597,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static + [Slot(599)] + public static extern void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[599]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74170,18 +52638,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static + [Slot(599)] + public static extern void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w, EntryPoints[599]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74217,24 +52678,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(600)] + public static extern void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[600]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74270,24 +52718,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(600)] + public static extern void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[600]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74324,18 +52759,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(600)] + public static extern unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[600]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74372,24 +52800,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(600)] + public static extern void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[600]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74426,24 +52841,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(600)] + public static extern void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[600]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74480,18 +52882,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static + [Slot(600)] + public static extern unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[600]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74527,24 +52922,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static + [Slot(601)] + public static extern void VertexAttrib4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[601]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74580,24 +52962,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static + [Slot(601)] + public static extern void VertexAttrib4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[601]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74634,18 +53003,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static + [Slot(601)] + public static extern unsafe void VertexAttrib4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[601]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74682,24 +53044,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static + [Slot(601)] + public static extern void VertexAttrib4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[601]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74736,24 +53085,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static + [Slot(601)] + public static extern void VertexAttrib4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[601]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74790,583 +53126,265 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static + [Slot(601)] + public static extern unsafe void VertexAttrib4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[601]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static + [Slot(602)] + public static extern void VertexAttrib4N(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[602]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static + [Slot(602)] + public static extern void VertexAttrib4N(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[602]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static + [Slot(602)] + public static extern unsafe void VertexAttrib4N(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[602]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static + [Slot(603)] + public static extern void VertexAttrib4N(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[603]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static + [Slot(603)] + public static extern void VertexAttrib4N(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[603]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static + [Slot(603)] + public static extern unsafe void VertexAttrib4N(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[603]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static + [Slot(603)] + public static extern void VertexAttrib4N(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[603]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static + [Slot(603)] + public static extern void VertexAttrib4N(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[603]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static + [Slot(603)] + public static extern unsafe void VertexAttrib4N(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[603]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static + [Slot(604)] + public static extern void VertexAttrib4N(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[604]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static + [Slot(604)] + public static extern void VertexAttrib4N(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[604]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static + [Slot(604)] + public static extern unsafe void VertexAttrib4N(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[604]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static + [Slot(604)] + public static extern void VertexAttrib4N(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[604]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static + [Slot(604)] + public static extern void VertexAttrib4N(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[604]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static + [Slot(604)] + public static extern unsafe void VertexAttrib4N(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[604]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] - public static + [Slot(605)] + public static extern void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w, EntryPoints[605]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] - public static + [Slot(605)] + public static extern void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w, EntryPoints[605]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static + [Slot(606)] + public static extern void VertexAttrib4N(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[606]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static + [Slot(606)] + public static extern void VertexAttrib4N(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[606]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static + [Slot(606)] + public static extern unsafe void VertexAttrib4N(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[606]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static + [Slot(606)] + public static extern void VertexAttrib4N(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[606]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static + [Slot(606)] + public static extern void VertexAttrib4N(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[606]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static + [Slot(606)] + public static extern unsafe void VertexAttrib4N(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[606]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static + [Slot(607)] + public static extern void VertexAttrib4N(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[607]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static + [Slot(607)] + public static extern void VertexAttrib4N(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[607]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static + [Slot(607)] + public static extern unsafe void VertexAttrib4N(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[607]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static + [Slot(608)] + public static extern void VertexAttrib4N(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[608]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static + [Slot(608)] + public static extern void VertexAttrib4N(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[608]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static + [Slot(608)] + public static extern unsafe void VertexAttrib4N(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[608]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75402,18 +53420,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4s")] - public static + [Slot(609)] + public static extern void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w, EntryPoints[609]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75450,18 +53461,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4s")] - public static + [Slot(609)] + public static extern void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w, EntryPoints[609]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75497,24 +53501,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static + [Slot(610)] + public static extern void VertexAttrib4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[610]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75550,24 +53541,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static + [Slot(610)] + public static extern void VertexAttrib4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[610]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75604,18 +53582,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static + [Slot(610)] + public static extern unsafe void VertexAttrib4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[610]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75652,24 +53623,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static + [Slot(610)] + public static extern void VertexAttrib4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[610]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75706,24 +53664,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static + [Slot(610)] + public static extern void VertexAttrib4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[610]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75760,18 +53705,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static + [Slot(610)] + public static extern unsafe void VertexAttrib4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[610]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75807,24 +53745,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static + [Slot(611)] + public static extern void VertexAttrib4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[611]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75860,24 +53785,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static + [Slot(611)] + public static extern void VertexAttrib4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[611]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75914,18 +53826,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static + [Slot(611)] + public static extern unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[611]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75962,24 +53867,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static + [Slot(611)] + public static extern void VertexAttrib4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[611]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -76016,24 +53908,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static + [Slot(611)] + public static extern void VertexAttrib4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[611]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -76070,18 +53949,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static + [Slot(611)] + public static extern unsafe void VertexAttrib4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[611]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -76118,24 +53990,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] - public static + [Slot(612)] + public static extern void VertexAttrib4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[612]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -76172,24 +54031,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] - public static + [Slot(612)] + public static extern void VertexAttrib4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[612]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -76226,18 +54072,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] - public static + [Slot(612)] + public static extern unsafe void VertexAttrib4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[612]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -76274,24 +54113,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static + [Slot(613)] + public static extern void VertexAttrib4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[613]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -76328,24 +54154,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static + [Slot(613)] + public static extern void VertexAttrib4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[613]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -76382,18 +54195,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static + [Slot(613)] + public static extern unsafe void VertexAttrib4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[613]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Associate a vertex attribute and a vertex buffer binding @@ -76409,18 +54215,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribBinding")] - public static + [Slot(614)] + public static extern void VertexAttribBinding(Int32 attribindex, Int32 bindingindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (UInt32)bindingindex, EntryPoints[614]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Associate a vertex attribute and a vertex buffer binding @@ -76437,18 +54236,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribBinding")] - public static + [Slot(614)] + public static extern void VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (UInt32)bindingindex, EntryPoints[614]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -76464,18 +54256,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribDivisor")] - public static + [Slot(615)] + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[615]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.3] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -76492,18 +54277,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribDivisor")] - public static + [Slot(615)] + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)divisor, EntryPoints[615]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Specify the organization of vertex arrays @@ -76534,18 +54312,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribFormat")] - public static + [Slot(616)] + public static extern void VertexAttribFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribType type, bool normalized, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset, EntryPoints[616]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Specify the organization of vertex arrays @@ -76577,2426 +54348,1139 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribFormat")] - public static + [Slot(616)] + public static extern void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribType type, bool normalized, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset, EntryPoints[616]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1i")] - public static + [Slot(617)] + public static extern void VertexAttribI1(Int32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, EntryPoints[617]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1i")] - public static + [Slot(617)] + public static extern void VertexAttribI1(UInt32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, EntryPoints[617]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] - public static + [Slot(618)] + public static extern unsafe void VertexAttribI1(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[618]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] - public static + [Slot(618)] + public static extern unsafe void VertexAttribI1(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[618]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1ui")] - public static + [Slot(619)] + public static extern void VertexAttribI1(UInt32 index, UInt32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)x, EntryPoints[619]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1uiv")] - public static + [Slot(620)] + public static extern unsafe void VertexAttribI1(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[620]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2i")] - public static + [Slot(621)] + public static extern void VertexAttribI2(Int32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, EntryPoints[621]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2i")] - public static + [Slot(621)] + public static extern void VertexAttribI2(UInt32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, EntryPoints[621]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static + [Slot(622)] + public static extern void VertexAttribI2(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[622]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static + [Slot(622)] + public static extern void VertexAttribI2(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[622]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static + [Slot(622)] + public static extern unsafe void VertexAttribI2(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[622]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static + [Slot(622)] + public static extern void VertexAttribI2(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[622]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static + [Slot(622)] + public static extern void VertexAttribI2(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[622]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static + [Slot(622)] + public static extern unsafe void VertexAttribI2(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[622]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2ui")] - public static + [Slot(623)] + public static extern void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)x, (UInt32)y, EntryPoints[623]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static + [Slot(624)] + public static extern void VertexAttribI2(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[624]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static + [Slot(624)] + public static extern void VertexAttribI2(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[624]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static + [Slot(624)] + public static extern unsafe void VertexAttribI2(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[624]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3i")] - public static + [Slot(625)] + public static extern void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, EntryPoints[625]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3i")] - public static + [Slot(625)] + public static extern void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, EntryPoints[625]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static + [Slot(626)] + public static extern void VertexAttribI3(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[626]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static + [Slot(626)] + public static extern void VertexAttribI3(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[626]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static + [Slot(626)] + public static extern unsafe void VertexAttribI3(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[626]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static + [Slot(626)] + public static extern void VertexAttribI3(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[626]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static + [Slot(626)] + public static extern void VertexAttribI3(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[626]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static + [Slot(626)] + public static extern unsafe void VertexAttribI3(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[626]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3ui")] - public static + [Slot(627)] + public static extern void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, EntryPoints[627]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static + [Slot(628)] + public static extern void VertexAttribI3(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[628]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static + [Slot(628)] + public static extern void VertexAttribI3(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[628]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static + [Slot(628)] + public static extern unsafe void VertexAttribI3(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[628]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static + [Slot(629)] + public static extern void VertexAttribI4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[629]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static + [Slot(629)] + public static extern void VertexAttribI4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[629]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static + [Slot(629)] + public static extern unsafe void VertexAttribI4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[629]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static + [Slot(630)] + public static extern void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[630]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static + [Slot(630)] + public static extern void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w, EntryPoints[630]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(631)] + public static extern void VertexAttribI4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[631]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(631)] + public static extern void VertexAttribI4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[631]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(631)] + public static extern unsafe void VertexAttribI4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[631]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(631)] + public static extern void VertexAttribI4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[631]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(631)] + public static extern void VertexAttribI4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[631]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static + [Slot(631)] + public static extern unsafe void VertexAttribI4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[631]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static + [Slot(632)] + public static extern void VertexAttribI4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[632]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static + [Slot(632)] + public static extern void VertexAttribI4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[632]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static + [Slot(632)] + public static extern unsafe void VertexAttribI4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[632]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static + [Slot(632)] + public static extern void VertexAttribI4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[632]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static + [Slot(632)] + public static extern void VertexAttribI4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[632]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static + [Slot(632)] + public static extern unsafe void VertexAttribI4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[632]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static + [Slot(633)] + public static extern void VertexAttribI4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[633]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static + [Slot(633)] + public static extern void VertexAttribI4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[633]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static + [Slot(633)] + public static extern unsafe void VertexAttribI4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[633]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static + [Slot(633)] + public static extern void VertexAttribI4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[633]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static + [Slot(633)] + public static extern void VertexAttribI4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[633]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static + [Slot(633)] + public static extern unsafe void VertexAttribI4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[633]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ui")] - public static + [Slot(634)] + public static extern void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w, EntryPoints[634]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static + [Slot(635)] + public static extern void VertexAttribI4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[635]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static + [Slot(635)] + public static extern void VertexAttribI4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[635]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static + [Slot(635)] + public static extern unsafe void VertexAttribI4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[635]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static + [Slot(636)] + public static extern void VertexAttribI4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[636]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static + [Slot(636)] + public static extern void VertexAttribI4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[636]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static + [Slot(636)] + public static extern unsafe void VertexAttribI4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[636]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(637)] + public static extern void VertexAttribIFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (UInt32)relativeoffset, EntryPoints[637]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(637)] + public static extern void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (UInt32)relativeoffset, EntryPoints[637]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(638)] + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[638]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(638)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[638]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(638)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[638]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(638)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[638]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(638)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[638]); - 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 + [Slot(638)] + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[638]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static + [Slot(638)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[638]); - } - 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 + [Slot(638)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[638]); - } - 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 + [Slot(638)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[638]); - } - 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 + [Slot(638)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[638]); - 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 + [Slot(639)] + public static extern void VertexAttribL1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[639]); - #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 = "glVertexAttribL1d")] - public static + [Slot(639)] + public static extern void VertexAttribL1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, EntryPoints[639]); - #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 = "glVertexAttribL1dv")] - public static + [Slot(640)] + public static extern unsafe void VertexAttribL1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[640]); - #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 = "glVertexAttribL1dv")] - public static + [Slot(640)] + public static extern unsafe void VertexAttribL1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[640]); - #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 = "glVertexAttribL2d")] - public static + [Slot(643)] + public static extern void VertexAttribL2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[643]); - #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 = "glVertexAttribL2d")] - public static + [Slot(643)] + public static extern void VertexAttribL2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, EntryPoints[643]); - #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 = "glVertexAttribL2dv")] - public static + [Slot(644)] + public static extern void VertexAttribL2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[644]); - } - } - #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 = "glVertexAttribL2dv")] - public static + [Slot(644)] + public static extern void VertexAttribL2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[644]); - } - } - #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 = "glVertexAttribL2dv")] - public static + [Slot(644)] + public static extern unsafe void VertexAttribL2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[644]); - #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 = "glVertexAttribL2dv")] - public static + [Slot(644)] + public static extern void VertexAttribL2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[644]); - } - } - #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 = "glVertexAttribL2dv")] - public static + [Slot(644)] + public static extern void VertexAttribL2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[644]); - } - } - #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 = "glVertexAttribL2dv")] - public static + [Slot(644)] + public static extern unsafe void VertexAttribL2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[644]); - #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 = "glVertexAttribL3d")] - public static + [Slot(645)] + public static extern void VertexAttribL3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[645]); - #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 = "glVertexAttribL3d")] - public static + [Slot(645)] + public static extern void VertexAttribL3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, EntryPoints[645]); - #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 = "glVertexAttribL3dv")] - public static + [Slot(646)] + public static extern void VertexAttribL3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[646]); - } - } - #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 = "glVertexAttribL3dv")] - public static + [Slot(646)] + public static extern void VertexAttribL3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[646]); - } - } - #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 = "glVertexAttribL3dv")] - public static + [Slot(646)] + public static extern unsafe void VertexAttribL3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[646]); - #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 = "glVertexAttribL3dv")] - public static + [Slot(646)] + public static extern void VertexAttribL3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[646]); - } - } - #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 = "glVertexAttribL3dv")] - public static + [Slot(646)] + public static extern void VertexAttribL3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[646]); - } - } - #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 = "glVertexAttribL3dv")] - public static + [Slot(646)] + public static extern unsafe void VertexAttribL3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[646]); - #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 = "glVertexAttribL4d")] - public static + [Slot(647)] + public static extern void VertexAttribL4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[647]); - #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 = "glVertexAttribL4d")] - public static + [Slot(647)] + public static extern void VertexAttribL4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w, EntryPoints[647]); - #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 = "glVertexAttribL4dv")] - public static + [Slot(648)] + public static extern void VertexAttribL4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[648]); - } - } - #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 = "glVertexAttribL4dv")] - public static + [Slot(648)] + public static extern void VertexAttribL4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[648]); - } - } - #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 = "glVertexAttribL4dv")] - public static + [Slot(648)] + public static extern unsafe void VertexAttribL4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[648]); - #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 = "glVertexAttribL4dv")] - public static + [Slot(648)] + public static extern void VertexAttribL4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[648]); - } - } - #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 = "glVertexAttribL4dv")] - public static + [Slot(648)] + public static extern void VertexAttribL4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[648]); - } - } - #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 = "glVertexAttribL4dv")] - public static + [Slot(648)] + public static extern unsafe void VertexAttribL4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[648]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(649)] + public static extern void VertexAttribLFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (UInt32)relativeoffset, EntryPoints[649]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(649)] + public static extern void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (UInt32)relativeoffset, EntryPoints[649]); - #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 + [Slot(650)] + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[650]); - #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 + [Slot(650)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[650]); - } - 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 + [Slot(650)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[650]); - } - 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 + [Slot(650)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[650]); - } - 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 + [Slot(650)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[650]); - 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 + [Slot(650)] + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer, EntryPoints[650]); - #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 + [Slot(650)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[650]); - } - 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 + [Slot(650)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[650]); - } - 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 + [Slot(650)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[650]); - } - 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 + [Slot(650)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[650]); - 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 + [Slot(651)] + public static extern void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[651]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(651)] + public static extern void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[651]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(652)] + public static extern unsafe void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[652]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(652)] + public static extern unsafe void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[652]); - #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 = "glVertexAttribP2ui")] - public static + [Slot(653)] + public static extern void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[653]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(653)] + public static extern void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[653]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(654)] + public static extern unsafe void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[654]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(654)] + public static extern unsafe void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[654]); - #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 = "glVertexAttribP3ui")] - public static + [Slot(655)] + public static extern void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[655]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(655)] + public static extern void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[655]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(656)] + public static extern unsafe void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[656]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(656)] + public static extern unsafe void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[656]); - #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 = "glVertexAttribP4ui")] - public static + [Slot(657)] + public static extern void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[657]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(657)] + public static extern void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value, EntryPoints[657]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(658)] + public static extern unsafe void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[658]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(658)] + public static extern unsafe void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (IntPtr)value, EntryPoints[658]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -79032,18 +55516,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(659)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[659]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -79079,27 +55556,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(659)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[659]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -79135,27 +55597,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(659)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[659]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -79191,27 +55638,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(659)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[659]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -79247,28 +55679,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(659)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[659]); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -79305,18 +55721,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(659)] + public static extern 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 - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer, EntryPoints[659]); - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -79353,27 +55762,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(659)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[659]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -79410,27 +55804,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(659)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[659]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -79467,27 +55846,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(659)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[659]); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -79524,28 +55888,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static + [Slot(659)] + 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 - { - InteropHelper.Call((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), EntryPoints[659]); - 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 @@ -79561,18 +55909,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexBindingDivisor")] - public static + [Slot(660)] + public static extern void VertexBindingDivisor(Int32 bindingindex, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)bindingindex, (UInt32)divisor, EntryPoints[660]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Modify the rate at which generic vertex attributes advance @@ -79589,207 +55930,116 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexBindingDivisor")] - public static + [Slot(660)] + public static extern void VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)bindingindex, (UInt32)divisor, EntryPoints[660]); - #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 = "glVertexP2ui")] - public static + [Slot(661)] + public static extern void VertexP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value, EntryPoints[661]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(661)] + public static extern void VertexP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value, EntryPoints[661]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(662)] + public static extern unsafe void VertexP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)value, EntryPoints[662]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(662)] + public static extern unsafe void VertexP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)value, EntryPoints[662]); - #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 = "glVertexP3ui")] - public static + [Slot(663)] + public static extern void VertexP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value, EntryPoints[663]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(663)] + public static extern void VertexP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value, EntryPoints[663]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(664)] + public static extern unsafe void VertexP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)value, EntryPoints[664]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(664)] + public static extern unsafe void VertexP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)value, EntryPoints[664]); - #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 = "glVertexP4ui")] - public static + [Slot(665)] + public static extern void VertexP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value, EntryPoints[665]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(665)] + public static extern void VertexP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value, EntryPoints[665]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(666)] + public static extern unsafe void VertexP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)value, EntryPoints[666]); - #if DEBUG - } - #endif - } + ; + /// [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 + [Slot(666)] + public static extern unsafe void VertexP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (IntPtr)value, EntryPoints[666]); - #if DEBUG - } - #endif - } + ; + /// [requires: v1.0] /// Set the viewport @@ -79805,18 +56055,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glViewport")] - public static + [Slot(667)] + public static extern void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((Int32)x, (Int32)y, (Int32)width, (Int32)height, EntryPoints[667]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -79837,24 +56080,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static + [Slot(668)] + public static extern void ViewportArray(Int32 first, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[668]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -79875,24 +56105,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static + [Slot(668)] + public static extern void ViewportArray(Int32 first, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[668]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -79914,18 +56131,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static + [Slot(668)] + public static extern unsafe void ViewportArray(Int32 first, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v, EntryPoints[668]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -79947,24 +56157,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static + [Slot(668)] + public static extern void ViewportArray(UInt32 first, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[668]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -79986,24 +56183,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static + [Slot(668)] + public static extern void ViewportArray(UInt32 first, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v_ptr, EntryPoints[668]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -80025,18 +56209,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static + [Slot(668)] + public static extern unsafe void ViewportArray(UInt32 first, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)first, (Int32)count, (IntPtr)v, EntryPoints[668]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -80062,18 +56239,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedf")] - public static + [Slot(669)] + public static extern void ViewportIndexed(Int32 index, Single x, Single y, Single w, Single h) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h, EntryPoints[669]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -80100,18 +56270,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedf")] - public static + [Slot(669)] + public static extern void ViewportIndexed(UInt32 index, Single x, Single y, Single w, Single h) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h, EntryPoints[669]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -80137,24 +56300,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static + [Slot(670)] + public static extern void ViewportIndexed(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[670]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -80180,24 +56330,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static + [Slot(670)] + public static extern void ViewportIndexed(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[670]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -80224,18 +56361,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static + [Slot(670)] + public static extern unsafe void ViewportIndexed(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[670]); - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -80262,24 +56392,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static + [Slot(670)] + public static extern void ViewportIndexed(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[670]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -80306,24 +56423,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static + [Slot(670)] + public static extern void ViewportIndexed(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - InteropHelper.Call((UInt32)index, (IntPtr)v_ptr, EntryPoints[670]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -80350,18 +56454,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static + [Slot(670)] + public static extern unsafe void ViewportIndexed(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((UInt32)index, (IntPtr)v, EntryPoints[670]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -80382,18 +56479,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glWaitSync")] - public static + [Slot(671)] + public static extern OpenTK.Graphics.OpenGL4.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL4.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[671]); - #if DEBUG - } - #endif - } + ; + /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -80415,18 +56505,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glWaitSync")] - public static + [Slot(671)] + public static extern OpenTK.Graphics.OpenGL4.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((IntPtr)sync, (OpenTK.Graphics.OpenGL4.WaitSyncFlags)flags, (UInt64)timeout, EntryPoints[671]); - #if DEBUG - } - #endif - } + ; + public static partial class Khr { @@ -80444,18 +56527,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(103)] + public static extern void DebugMessageCallback(DebugProcKhr callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam, EntryPoints[103]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -80471,27 +56547,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(103)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[103]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -80507,27 +56568,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(103)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[103]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -80543,27 +56589,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(103)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[103]); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -80579,28 +56610,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static + [Slot(103)] + 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 - { - InteropHelper.Call((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject(), EntryPoints[103]); - 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 @@ -80636,24 +56651,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(106)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[106]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -80689,24 +56691,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(106)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[106]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -80743,18 +56732,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(106)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[106]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -80791,24 +56773,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(106)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[106]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -80845,24 +56814,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(106)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (IntPtr)ids_ptr, (bool)enabled, EntryPoints[106]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -80899,18 +56855,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static + [Slot(106)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (IntPtr)ids, (bool)enabled, EntryPoints[106]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -80946,18 +56895,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static + [Slot(109)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)length, (String)buf, EntryPoints[109]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -80994,18 +56936,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static + [Slot(109)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)length, (String)buf, EntryPoints[109]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -81051,28 +56986,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(211)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[211]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -81118,34 +57036,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(211)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[211]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -81192,18 +57087,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(211)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[211]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -81250,28 +57138,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(211)] + 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) - { - #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 InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[211]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -81318,34 +57189,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(211)] + 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) - { - #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 = InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources_ptr, (IntPtr)types_ptr, (IntPtr)ids_ptr, (IntPtr)severities_ptr, (IntPtr)lengths_ptr, (StringBuilder)messageLog, EntryPoints[211]); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -81392,18 +57240,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static + [Slot(211)] + 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) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return InteropHelper.CallReturn((UInt32)count, (Int32)bufSize, (IntPtr)sources, (IntPtr)types, (IntPtr)ids, (IntPtr)severities, (IntPtr)lengths, (StringBuilder)messageLog, EntryPoints[211]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -81434,24 +57275,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(257)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[257]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -81482,25 +57310,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(257)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[257]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -81532,18 +57346,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(257)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[257]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -81575,24 +57382,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(257)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[257]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -81624,25 +57418,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(257)] + public static extern 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) - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[257]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -81674,18 +57454,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static + [Slot(257)] + public static extern 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 - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[257]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81711,24 +57484,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[259]); - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81754,25 +57514,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + public static extern 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) - { - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[259]); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81799,18 +57545,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[259]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81836,33 +57575,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[259]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81888,34 +57606,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[259]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81942,27 +57638,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[259]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81988,33 +57669,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[259]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -82040,34 +57700,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[259]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -82094,27 +57732,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[259]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -82140,33 +57763,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[259]); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -82192,34 +57794,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[259]); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -82246,27 +57826,12 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[259]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -82292,34 +57857,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[259]); - 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 @@ -82345,35 +57888,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length_ptr, (StringBuilder)label, EntryPoints[259]); - 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 @@ -82400,140 +57920,56 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static + [Slot(259)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (IntPtr)length, (StringBuilder)label, EntryPoints[259]); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(261)] + public static extern void GetPointer(OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params, EntryPoints[261]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(261)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[261]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(261)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[261]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(261)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[261]); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static + [Slot(261)] + 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 - { - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject(), EntryPoints[261]); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -82559,18 +57995,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static + [Slot(378)] + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[378]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -82597,18 +58026,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static + [Slot(378)] + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)length, (String)label, EntryPoints[378]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -82629,18 +58051,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(380)] + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((IntPtr)ptr, (Int32)length, (String)label, EntryPoints[380]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -82661,27 +58076,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(380)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[380]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -82702,27 +58102,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(380)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[380]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -82743,27 +58128,12 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(380)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[380]); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -82784,45 +58154,22 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static + [Slot(380)] + 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 - { - InteropHelper.Call((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label, EntryPoints[380]); - 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 + [Slot(394)] + public static extern void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call(EntryPoints[394]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -82848,18 +58195,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static + [Slot(452)] + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL4.All source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[452]); - #if DEBUG - } - #endif - } + ; + /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -82886,18 +58226,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static + [Slot(452)] + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL4.All source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - InteropHelper.Call((OpenTK.Graphics.OpenGL4.All)source, (UInt32)id, (Int32)length, (String)message, EntryPoints[452]); - #if DEBUG - } - #endif - } + ; + } diff --git a/Source/OpenTK/OpenTK.csproj b/Source/OpenTK/OpenTK.csproj index b403b936..3101c2ce 100644 --- a/Source/OpenTK/OpenTK.csproj +++ b/Source/OpenTK/OpenTK.csproj @@ -781,6 +781,7 @@ + @@ -791,7 +792,7 @@ - - + \ No newline at end of file